16 from basf2
import conditions
as b2conditions
19 outputFile = sys.argv[1]
21 b2conditions.prepend_globaltag(
'data_reprocessing_prompt')
23 main.add_module(
'RootInput', branchNames=[
'RawSVDs',
'RawPXDs',
'RawCDCs'])
24 main.add_module(
'HistoManager', histoFileName=outputFile)
26 main.add_module(
'Gearbox')
27 main.add_module(
'Geometry')
30 raw.add_unpackers(main, components=[
'PXD',
'SVD',
'CDC'])
31 for module
in main.modules():
32 if module.name() ==
'PXDPostErrorChecker':
33 module.param(
'CriticalErrorMask', 0)
35 tr.add_tracking_reconstruction(main)
37 main = b2.remove_module(main,
'FullGridChi2TrackTimeExtractor')
41 svdDataRed = b2.register_module(
'SVDROIFinder')
43 'recoTrackListName':
'RecoTracks',
44 'SVDInterceptListName':
'SVDIntercepts',
46 svdDataRed.param(param_svdDataRed)
48 main.add_module(svdDataRed)
50 dqm = b2.register_module(
'SVDDQMEfficiency')
51 dqm.param(
"svdClustersName",
"SVDClusters")
52 dqm.param(
"interceptsName",
"SVDIntercepts")
53 dqm.param(
"histogramDirectoryName",
"svdeff")
56 dqm.param(
"minSVDHits", 1)
57 dqm.param(
"minCDCHits", 20)
58 dqm.param(
"momCut", 0)
60 dqm.param(
"maxHalfResidU", 0.05)
61 dqm.param(
"maxHalfResidV", 0.05)
66 main.add_module(
'Progress')