17 if(len(sys.argv) <= 1):
18 print(
"Error: you have to specify the file the SectorMap is stored in!")
20 sectorMapFile = sys.argv[1]
23 setupToRead =
"SVDOnlyDefault"
25 if(len(sys.argv) > 2):
26 setupToRead = sys.argv[2]
29 SMBSM1 = register_module(
"SectorMapBootstrap")
30 SMBSM1.param(
"ReadSecMapFromDB",
False)
31 SMBSM1.param(
"ReadSectorMap",
True)
32 SMBSM1.param(
"SectorMapsInputFile", sectorMapFile)
33 SMBSM1.param(
"SetupToRead", setupToRead)
36 outputMapFile = sectorMapFile[:-5] +
'_timingRemoved.root'
38 SMBSM1.param(
"SectorMapsOutputFile", outputMapFile)
39 SMBSM1.param(
"WriteSectorMap",
True)
49 SMBSM1.param(
'threeHitFilterAdjustFunctions', [(19,
"-TMath::Infinity()"), (20,
"TMath::Infinity()")])
53 SMBSM1.param(
'twoHitFilterAdjustFunctions', [(12,
"-TMath::Infinity()"), (13,
"TMath::Infinity()"),
54 (10,
"-TMath::Infinity()"), (11,
"TMath::Infinity()")])
63 eventinfosetter = register_module(
'EventInfoSetter')
67 main.add_module(eventinfosetter)
68 main.add_module(SMBSM1)