|
def | __init__ (self, chainDict) |
|
def | prepareSequence (self) |
|
def | assembleChainImpl (self, flags) |
|
def | getFastCalo (self, flags, is_probe_leg=False) |
|
def | getFastPhoton (self, flags, is_probe_leg=False) |
|
def | getPrecisionCaloPhoton (self, flags, is_probe_leg=False) |
|
def | getHipTRT (self, flags, is_probe_leg=False) |
|
def | getPrecisionPhoton (self, flags, is_probe_leg=False) |
|
def | getPhotonCaloIso (self, flags, is_probe_leg=False) |
|
Definition at line 47 of file PhotonChainConfiguration.py.
◆ __init__()
def PhotonChainConfiguration.PhotonChainConfiguration.__init__ |
( |
|
self, |
|
|
|
chainDict |
|
) |
| |
◆ assembleChainImpl()
def PhotonChainConfiguration.PhotonChainConfiguration.assembleChainImpl |
( |
|
self, |
|
|
|
flags |
|
) |
| |
Definition at line 105 of file PhotonChainConfiguration.py.
105 def assembleChainImpl(self, flags):
107 log.debug(
"Assembling chain for %s", self.chainName)
110 steps = self.prepareSequence()
113 log.debug(
"stepNames: %s", steps)
115 log.debug(
'Adding photon trigger step %s', step)
116 is_probe_leg = self.chainPart[
'tnpInfo']==
'probe'
117 chainstep = getattr(self, step)(flags, is_probe_leg=is_probe_leg)
118 chainSteps+=[chainstep]
120 myChain = self.buildChain(chainSteps)
◆ getFastCalo()
def PhotonChainConfiguration.PhotonChainConfiguration.getFastCalo |
( |
|
self, |
|
|
|
flags, |
|
|
|
is_probe_leg = False |
|
) |
| |
Definition at line 127 of file PhotonChainConfiguration.py.
127 def getFastCalo(self, flags, is_probe_leg=False):
128 stepName =
"PhotonFastCalo"
130 return self.getStep(flags, stepName,[fastCaloSequenceGenCfg], name=
'Photon', is_probe_leg=is_probe_leg)
◆ getFastPhoton()
def PhotonChainConfiguration.PhotonChainConfiguration.getFastPhoton |
( |
|
self, |
|
|
|
flags, |
|
|
|
is_probe_leg = False |
|
) |
| |
Definition at line 132 of file PhotonChainConfiguration.py.
132 def getFastPhoton(self, flags, is_probe_leg=False):
133 stepName =
"FastPhoton"
134 return self.getStep(flags, stepName,[fastPhotonSequenceGenCfg], is_probe_leg=is_probe_leg)
◆ getHipTRT()
def PhotonChainConfiguration.PhotonChainConfiguration.getHipTRT |
( |
|
self, |
|
|
|
flags, |
|
|
|
is_probe_leg = False |
|
) |
| |
Definition at line 145 of file PhotonChainConfiguration.py.
145 def getHipTRT(self, flags, is_probe_leg=False):
147 return self.getStep(flags, stepName,[TRTHitGeneratorSequenceGenCfg], is_probe_leg=is_probe_leg)
◆ getPhotonCaloIso()
def PhotonChainConfiguration.PhotonChainConfiguration.getPhotonCaloIso |
( |
|
self, |
|
|
|
flags, |
|
|
|
is_probe_leg = False |
|
) |
| |
Definition at line 159 of file PhotonChainConfiguration.py.
159 def getPhotonCaloIso(self, flags, is_probe_leg=False):
161 stepName =
"precision_photon_CaloIso"
163 do_ion =
'ion' in self.chainPart[
'extra']
168 if "dPhi15" in self.chainDict[
"topo"]:
170 if "m80" in self.chainDict[
"topo"]:
172 comboTools.append(diphotonDPhiMassHypoToolFromDict)
174 comboTools.append(diphotonDPhiHypoToolFromDict)
176 return self.getStep(flags, stepName,sequenceCfgArray=[precisionPhotonCaloIsoSequenceGenCfg], name=
'Photon', comboTools=comboTools, ion=do_ion, is_probe_leg=is_probe_leg)
◆ getPrecisionCaloPhoton()
def PhotonChainConfiguration.PhotonChainConfiguration.getPrecisionCaloPhoton |
( |
|
self, |
|
|
|
flags, |
|
|
|
is_probe_leg = False |
|
) |
| |
Definition at line 136 of file PhotonChainConfiguration.py.
136 def getPrecisionCaloPhoton(self, flags, is_probe_leg=False):
137 do_ion =
'ion' in self.chainPart[
'extra']
139 stepName =
"PhotonPrecisionHICalo"
141 stepName =
"PhotonPrecisionCalo"
143 return self.getStep(flags, stepName,[precisionCaloSequenceGenCfg], ion=do_ion, is_probe_leg=is_probe_leg)
◆ getPrecisionPhoton()
def PhotonChainConfiguration.PhotonChainConfiguration.getPrecisionPhoton |
( |
|
self, |
|
|
|
flags, |
|
|
|
is_probe_leg = False |
|
) |
| |
Definition at line 149 of file PhotonChainConfiguration.py.
149 def getPrecisionPhoton(self, flags, is_probe_leg=False):
151 stepName =
"precision_photon"
152 do_ion =
'ion' in self.chainPart[
'extra'] ==
'ion'
157 return self.getStep(flags, stepName,sequenceCfgArray=[precisionPhotonSequenceGenCfg], ion=do_ion, is_probe_leg=is_probe_leg)
◆ prepareSequence()
def PhotonChainConfiguration.PhotonChainConfiguration.prepareSequence |
( |
|
self | ) |
|
Definition at line 56 of file PhotonChainConfiguration.py.
56 def prepareSequence(self):
66 stepNames += [
'getFastCalo']
69 if self.chainPart[
'extra'] ==
'hiptrt':
70 stepNames += [
'getHipTRT']
76 stepNames += [
'getFastPhoton']
81 stepNames += [
'getPrecisionCaloPhoton']
84 if 'etcut' in self.chainPart[
'IDinfo']:
91 stepNames += [
'getPrecisionPhoton']
95 if 'noiso' in self.chainPart[
'isoInfo']
or 'icaloloose' in self.chainPart[
'isoInfo']
or 'icalomedium' in self.chainPart[
'isoInfo']
or 'icalotight' in self.chainPart[
'isoInfo']:
96 stepNames += [
'getPhotonCaloIso']
◆ chainDict
PhotonChainConfiguration.PhotonChainConfiguration.chainDict |
The documentation for this class was generated from the following file: