4import baseConfig
as base
6options = base.parser.parse_args()
9inFilename = options.inFilename
10outFilename = options.outFilename
12print(
'Input file: %s' % inFilename)
13print(
'Output file: %s' % outFilename)
18p.skip_events = options.skip_events
19p.max_events = options.nevents
25p.add_library(
"libprocessors")
35anaTrks.parameters[
"debug"] = 0
36anaTrks.parameters[
"trkCollName"] =
'KalmanFullTracks'
38anaTrks.parameters[
"histCfg"] = os.environ[
'HPSTR_BASE']+
'/analysis/plotconfigs/tracking/trackHit.json'
39anaTrks.parameters[
"selectionjson"] = os.environ[
'HPSTR_BASE']+
'/analysis/selections/trackHit/trackHitAna.json'
41RegionPath = os.environ[
'HPSTR_BASE']+
"/analysis/selections/trackHit/"
42anaTrks.parameters[
"regionDefinitions"] = [RegionPath+
'hc15_1111.json',
43 RegionPath+
'hc14_1110.json',
44 RegionPath+
'hc13_1101.json',
45 RegionPath+
'hc12_1100.json',
46 RegionPath+
'hc11_1011.json',
47 RegionPath+
'hc10_1010.json',
48 RegionPath+
'hc9_1001.json',
49 RegionPath+
'hc8_1000.json',
50 RegionPath+
'hc7_0111.json',
51 RegionPath+
'hc6_0110.json',
52 RegionPath+
'hc5_0101.json',
53 RegionPath+
'hc4_0100.json',
54 RegionPath+
'hc3_0011.json',
55 RegionPath+
'hc2_0010.json',
56 RegionPath+
'hc1_0001.json',
57 RegionPath+
'hc0_0000.json',
58 RegionPath+
'noHCreq.json'
64p.input_files = inFilename
65p.output_files = [outFilename]