 |
ATLAS Offline Software
|
◆ _getPFOTool()
| def python.StandardJetConstits._getPFOTool |
( |
* |
l | ) |
|
|
private |
List of standard constituent modifiers.
One Property of the CorrectPFO constit modifier is a tool.
we use this function as a placeholder, allowing to delay the intantiation of this property tool
to the time the modifier itself is instantiated.
Definition at line 551 of file StandardJetConstits.py.
552 """One Property of the CorrectPFO constit modifier is a tool.
553 we use this function as a placeholder, allowing to delay the intantiation of this property tool
554 to the time the modifier itself is instantiated.
556 from AthenaConfiguration.ComponentFactory
import CompFactory
557 return CompFactory.getComp(
"CP::WeightPFOTool")(
"weightPFO")
◆ _largeRTracksExist()
| def python.StandardJetConstits._largeRTracksExist |
( |
|
flags | ) |
|
|
private |
Definition at line 128 of file StandardJetConstits.py.
129 warning =
"Large radius tracking did not run"
130 if "InDetLargeD0TrackParticles" in flags.Input.Collections:
141 return False, warning
◆ _muonSegmentInputsExist()
| def python.StandardJetConstits._muonSegmentInputsExist |
( |
|
flags | ) |
|
|
private |
Definition at line 107 of file StandardJetConstits.py.
108 warning =
"Muon reco is disabled"
109 if "MuonSegments" in flags.Input.Collections:
113 return False, warning
114 return flags.Reco.EnableCombinedMuon, warning
◆ _trackParticleInputsExist()
| def python.StandardJetConstits._trackParticleInputsExist |
( |
|
flags | ) |
|
|
private |
List of standard input sources for jets.
Definition at line 97 of file StandardJetConstits.py.
98 warning =
"Tracking is disabled and no InDetTrackParticles in input"
99 if "InDetTrackParticles" in flags.Input.Collections:
104 return False, warning
105 return flags.Reco.EnableTracking, warning
◆ _unassocMuonSegmentInputsExist()
| def python.StandardJetConstits._unassocMuonSegmentInputsExist |
( |
|
flags | ) |
|
|
private |
Definition at line 116 of file StandardJetConstits.py.
117 warning =
"UnAssociated muon segments not present"
118 if "UnAssocMuonSegments" in flags.Input.Collections:
120 if flags.Input.RunNumbers[0] < 410000:
122 return False, warning
125 return False, warning
126 return flags.Reco.EnableCombinedMuon, warning
◆ getCaloClusterEnergyMLCalibAlgBuilder()
| def python.StandardJetConstits.getCaloClusterEnergyMLCalibAlgBuilder |
( |
| ) |
|
Definition at line 143 of file StandardJetConstits.py.
145 from CaloRec.CaloClusterMLCalibAlgLiteConfig
import CaloClusterMLCalibAlgLiteCfg
◆ getPFOClusterMLCorrectionAlgorithmBuilder()
| def python.StandardJetConstits.getPFOClusterMLCorrectionAlgorithmBuilder |
( |
| ) |
|
Definition at line 148 of file StandardJetConstits.py.
150 from eflowRec.PFRun3Config
import PFOClusterMLCorrectionAlgorithmBuilder
◆ isMC()
| def python.StandardJetConstits.isMC |
( |
|
flags | ) |
|
A simple filter function for testing if we're running in MC
returns (bool, str) where the str contains an explanation of why the bool is False.
(probably worth re-allocating somehere else)
Definition at line 44 of file StandardJetConstits.py.
45 """A simple filter function for testing if we're running in MC
46 returns (bool, str) where the str contains an explanation of why the bool is False.
47 (probably worth re-allocating somehere else)"""
48 return flags.Input.isMC
or flags.Overlay.DataOverlay,
"Input file is not MC"
◆ standardReco()
| def python.StandardJetConstits.standardReco |
( |
|
input | ) |
|
Returns a helper function which invokes the standard reco configuration for the container 'input'
(where input is external to the jet domain).
We group the definition of functions here rather than separately, so that we can change them
automatically to a void function in case we're in an Analysis release and we can not import upstream packages.
Definition at line 50 of file StandardJetConstits.py.
51 """Returns a helper function which invokes the standard reco configuration for the container 'input'
52 (where input is external to the jet domain).
54 We group the definition of functions here rather than separately, so that we can change them
55 automatically to a void function in case we're in an Analysis release and we can not import upstream packages.
59 doNothingFunc =
lambda *l:
None
64 if input==
'CaloClusters':
66 from CaloRec.CaloRecoConfig
import CaloRecoCfg
67 flags = jetdef._cflags
68 return CaloRecoCfg(flags)
if flags.Jet.doUpstreamDependencies
else None
71 from InDetConfig.TrackRecoConfig
import InDetTrackRecoCfg
72 flags = jetdef._cflags
76 from MuonConfig.MuonReconstructionConfig
import MuonReconstructionCfg
77 flags = jetdef._cflags
81 if not jetdef._cflags.Jet.doUpstreamDependencies:
83 from eflowRec.PFRun3Config
import PFCfg
84 return PFCfg(jetdef._cflags)
◆ _locked
| python.StandardJetConstits._locked |
|
private |
◆ _stdInputList
| list python.StandardJetConstits._stdInputList |
|
private |
◆ _stdModList
| list python.StandardJetConstits._stdModList |
|
private |
◆ stdConstitDic
| python.StandardJetConstits.stdConstitDic = ldict() |
◆ stdContitModifDic
| python.StandardJetConstits.stdContitModifDic = ldict() |
◆ stdInputExtDic
| python.StandardJetConstits.stdInputExtDic = ldict() |
◆ tvaKey
| string python.StandardJetConstits.tvaKey = "JetTrackVtxAssoc" |
◆ vtxKey
| string python.StandardJetConstits.vtxKey = "PrimaryVertices" |
def CaloRecoCfg(flags, clustersname=None)
def _unassocMuonSegmentInputsExist(flags)
def CaloClusterMLCalibAlgLiteCfg(flags, name="CaloClusterMLCalibAlgLite", **kwargs)
def getPFOClusterMLCorrectionAlgorithmBuilder()
def _muonSegmentInputsExist(flags)
def getCaloClusterEnergyMLCalibAlgBuilder()
def InDetTrackRecoCfg(flags)
Main ID tracking config #####################.
def _trackParticleInputsExist(flags)
List of standard input sources for jets.
def _largeRTracksExist(flags)
def _getPFOTool(*l)
List of standard constituent modifiers.
def MuonReconstructionCfg(flags)
def PFOClusterMLCorrectionAlgorithmBuilder(inputFlags, spec)