12 import modularAnalysis
as ma
15 def loadStdDiLeptons(persistent=True, path=None):
17 Create the following lists of di-leptons:
18 - 'J/psi:mumuLoose'Psi2s
23 @param persistent whether RootOutput module should save the created ParticleLists (default True)
24 @param path modules are added to this path
27 loadStdLooseJpsi2mumu(persistent, path)
28 loadStdLooseJpsi2ee(persistent, path)
29 loadStdLoosePsi2s2mumu(persistent, path)
30 loadStdLoosePsi2s2ee(persistent, path)
31 loadStdPsi2s2lepton(persistent, path)
34 def loadStdLooseJpsi2mumu(persistent=True, path=None):
36 Load the 'J/psi:mumuLoose' list from 'mu-:loose mu+:loose', with :math:`2.8 < M < 3.7~GeV`
38 @param persistent whether RootOutput module should save the created ParticleLists (default True)
39 @param path modules are added to this path
41 ma.reconstructDecay(
'J/psi:mumuLoose -> mu-:loose mu+:loose',
'2.8 < M < 3.7', 2, persistent, path)
42 return 'J/psi:mumuLoose'
45 def loadStdLooseJpsi2ee(persistent=True, path=None):
47 Load the 'J/psi:eeLoose' list from 'e-:loose e+:loose', with :math:`2.8 < M < 3.7~GeV`
49 @param persistent whether RootOutput module should save the created ParticleLists (default True)
50 @param path modules are added to this path
52 ma.reconstructDecay(
'J/psi:eeLoose -> e-:loose e+:loose',
'2.8 < M < 3.7', 2, persistent, path)
53 return 'J/psi:eeLoose'
56 def loadStdJpsiToee(persistent=True, path=None):
58 Load the 'J/psi:ee' list from 'e+:bremCorr e-:bremCorr', with :math:`2.8 < M < 3.4~GeV` with electronID>0.01
60 @param persistent whether RootOutput module should save the created ParticleLists (default True)
61 @param path modules are added to this path
64 ma.fillParticleList(
'e+:withCuts', cut=
"dr < 0.5 and abs(dz) < 2 and thetaInCDCAcceptance", path=path)
65 ma.fillParticleList(decayString=
'gamma:e+', cut=
"E < 1.0", path=path)
66 ma.correctBrems(outputList=
'e+:bremCorr', inputList=
'e+:withCuts', gammaList=
'gamma:e+', multiplePhotons=
False,
67 usePhotonOnlyOnce=
True, writeOut=
True, path=path)
70 'J/psi:ee -> e+:bremCorr e-:bremCorr',
71 '2.8 < M < 3.4 and daughter(0, electronID) > 0.01 or daughter(1, electronID) > 0.01',
78 def loadStdJpsiToee_noTOP(persistent=True, path=None):
80 Load the 'J/psi:ee' list from 'e+:bremCorr e-:bremCorr', with :math:`2.8 < M < 3.4~GeV` with electronID_noTOP>0.01
82 @param persistent whether RootOutput module should save the created ParticleLists (default True)
83 @param path modules are added to this path
86 ma.fillParticleList(
'e+:withCuts', cut=
"dr < 0.5 and abs(dz) < 2 and thetaInCDCAcceptance", path=path)
87 ma.fillParticleList(decayString=
'gamma:e+', cut=
"E < 1.0", path=path)
88 ma.correctBrems(outputList=
'e+:bremCorr', inputList=
'e+:withCuts', gammaList=
'gamma:e+', multiplePhotons=
False,
89 usePhotonOnlyOnce=
True, writeOut=
True, path=path)
92 'J/psi:ee -> e+:bremCorr e-:bremCorr',
93 '2.8 < M < 3.4 and daughter(0, electronID_noTOP) > 0.01 or daughter(1, electronID_noTOP) > 0.01',
100 def loadStdJpsiTomumu(persistent=True, path=None):
102 Load the 'J/psi:mumu' list from 'mu+:withCuts mu+:withCuts', with :math:`2.8 < M < 3.4~GeV`
103 where mu+:withCuts list is with cut="dr < 0.5 and abs(dz) < 2 and thetaInCDCAcceptance and muonID > 0.01"
105 @param persistent whether RootOutput module should save the created ParticleLists (default True)
106 @param path modules are added to this path
108 ma.fillParticleList(
'mu+:withCuts', cut=
"dr < 0.5 and abs(dz) < 2 and thetaInCDCAcceptance", path=path)
110 'J/psi:mumu -> mu+:withCuts mu-:withCuts',
111 '2.8 < M < 3.4 and daughter(0, muonID) > 0.01 or daughter(1,muonID) > 0.01',
118 def loadStdPsi2s2lepton(persistent=True, path=None):
120 'psi(2S):ll' list of Psi(2S) to mumu or ee.
121 'psi(2S):mumu' reconstructed from 'mu-:all mu+:all', with :math:`3.2 < M < 4.1~GeV`
122 'psi(2S):ee' reconstructed from 'e-:all e+:all', with :math:`3.2 < M < 4.1~GeV`
124 @param persistent whether RootOutput module should save the created ParticleLists (default True)
125 @param path modules are added to this path
127 ma.reconstructDecay(
'psi(2S):mumu -> mu-:all mu+:all',
'3.2 < M < 4.1', 1, persistent, path=path)
128 ma.reconstructDecay(
'psi(2S):ee -> e-:all e+:all',
'3.2 < M < 4.1', 2, persistent, path=path)
129 ma.copyLists(
'psi(2S):ll', [
'psi(2S):mumu',
'psi(2S):ee'], persistent, path)
133 def loadStdLoosePsi2s2mumu(persistent=True, path=None):
135 Load the 'psi(2S):mumuLoose' list from 'mu-:loose mu+:loose', with :math:`3.2 < M < 4.1~GeV`
137 @param persistent whether RootOutput module should save the created ParticleLists (default True)
138 @param path modules are added to this path
140 ma.reconstructDecay(
'psi(2S):mumuLoose -> mu-:loose mu+:loose',
'3.2 < M < 4.1', 2, persistent, path)
141 return 'psi(2S):mumuLoose'
144 def loadStdLoosePsi2s2ee(persistent=True, path=None):
146 Load the 'psi(2S):eeLoose' list from 'e-:loose e+:loose', with :math:`3.2 < M < 4.1~GeV`
148 @param persistent whether RootOutput module should save the created ParticleLists (default True)
149 @param path modules are added to this path
151 ma.reconstructDecay(
'psi(2S):eeLoose -> e-:loose e+:loose',
'3.2 < M < 4.1', 2, persistent, path)
152 return 'psi(2S):eeLoose'