18from basf2
import create_path, process
19from simulation
import add_simulation
20from reconstruction
import add_reconstruction
21from background
import get_background_files
22import modularAnalysis
as ma
23from variables
import variables
29main.add_module(
'EventInfoSetter', evtNumList=[100])
30main.add_module(
'EvtGenInput')
31add_simulation(main, bkgfiles=get_background_files())
32add_reconstruction(main)
35ma.fillParticleList(decayString=
'pi+', cut=
'', path=main)
36ma.matchMCTruth(list_name=
'pi+', path=main)
37ma.applyCuts(list_name=
'pi+', cut=
'isSignal==1', path=main)
40variables.addAlias(
'topTOF_kaon',
'topTOFExpert(321)')
41variables.addAlias(
'topLogLPhotonCountMCMatch',
'topDigitCountIntervalMCMatch(-20, 74.327756)')
61 'topLocalThetaMCMatch',
65 'extrapTrackToTOPimpactZ',
66 'extrapTrackToTOPimpactTheta',
67 'extrapTrackToTOPimpactPhi',
69 'topDigitCountMCMatch',
70 'topDigitCountSignal',
75 'topLogLPhotonCountMCMatch',
76 'topLogLExpectedPhotonCount',
77 'topLogLEstimatedBkgCount',
84 'topBunchIsReconstructed',
89 'topBunchUsedTrackCount',
93ma.variablesToNtuple(decayString=
'pi+', variables=var_list, treename=
'tree', filename=
'topVars_mc.root', path=main)
96main.add_module(
'Progress')