15from basf2
import conditions
as b2conditions
18outputFile = sys.argv[1]
20b2conditions.prepend_globaltag(
'data_reprocessing_prompt')
22main.add_module(
'RootInput', branchNames=[
'RawSVDs',
'RawPXDs',
'RawCDCs'])
23main.add_module(
'HistoManager', histoFileName=outputFile)
25main.add_module(
'Gearbox')
26main.add_module(
'Geometry')
29raw.add_unpackers(main, components=[
'PXD',
'SVD',
'CDC'])
30for module
in main.modules():
31 if module.name() ==
'PXDPostErrorChecker':
32 module.param(
'CriticalErrorMask', 0)
34tr.add_tracking_reconstruction(main)
36main = b2.remove_module(main,
'FullGridChi2TrackTimeExtractor')
40svdDataRed = b2.register_module(
'SVDROIFinder')
42 'recoTrackListName':
'RecoTracks',
43 'SVDInterceptListName':
'SVDIntercepts',
45svdDataRed.param(param_svdDataRed)
47main.add_module(svdDataRed)
49dqm = b2.register_module(
'SVDDQMEfficiency')
50dqm.param(
"svdClustersName",
"SVDClusters")
51dqm.param(
"interceptsName",
"SVDIntercepts")
52dqm.param(
"histogramDirectoryName",
"svdeff")
55dqm.param(
"minSVDHits", 1)
56dqm.param(
"minCDCHits", 20)
59dqm.param(
"maxHalfResidU", 0.05)
60dqm.param(
"maxHalfResidV", 0.05)
65main.add_module(
'Progress')