|
ATLAS Offline Software
|
|
def | InputConverterCfg (flags, name="ISF_InputConverter", **kwargs) |
|
def | ParticleBrokerSvcNoOrderingCfg (flags, name="ISF_ParticleBrokerSvcNoOrdering", **kwargs) |
|
def | ParticleBrokerSvcCfg (flags, name="ISF_ParticleBrokerSvc", **kwargs) |
|
def | ATLFAST_ParticleBrokerSvcCfg (flags, name="ISF_ATLFAST_ParticleBrokerSvc", **kwargs) |
|
def | TruthServiceCfg (flags, **kwargs) |
|
def | GenericTruthServiceCfg (flags, name="ISF_TruthService", **kwargs) |
|
def | ValidationTruthServiceCfg (flags, name="ISF_ValidationTruthService", **kwargs) |
|
def | MC12BeamPipeTruthStrategies () |
|
def | MC12IDTruthStrategies () |
|
def | MC12CaloTruthStrategies () |
|
def | MC12MSTruthStrategies () |
|
def | MC12TruthServiceCfg (flags, name="ISF_MC12TruthService", **kwargs) |
|
def | MC12LLPTruthServiceCfg (flags, name="ISF_MC12TruthLLPService", **kwargs) |
|
def | MC12PlusTruthServiceCfg (flags, name="ISF_MC12PlusTruthService", **kwargs) |
|
def | MC15BeamPipeTruthStrategies () |
|
def | MC15IDTruthStrategies () |
|
def | MC15CaloTruthStrategies () |
|
def | MC15MSTruthStrategies () |
|
def | MC15TruthServiceCfg (flags, name="ISF_MC15TruthService", **kwargs) |
|
def | MC15aTruthServiceCfg (flags, name="ISF_MC15aTruthService", **kwargs) |
|
def | MC15aPlusTruthServiceCfg (flags, name="ISF_MC15aPlusTruthService", **kwargs) |
|
def | MC15aPlusLLPTruthServiceCfg (flags, name="ISF_MC15aPlusLLPTruthService", **kwargs) |
|
def | MC16TruthServiceCfg (flags, name="ISF_MC16TruthService", **kwargs) |
|
def | MC16LLPTruthServiceCfg (flags, name="ISF_MC16LLPTruthService", **kwargs) |
|
def | MC18TruthServiceCfg (flags, name="ISF_MC18TruthService", **kwargs) |
|
def | MC18LLPTruthServiceCfg (flags, name="ISF_MC18LLPTruthService", **kwargs) |
|
ComponentAccumulator service configuration for ISF
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
◆ ATLFAST_ParticleBrokerSvcCfg()
def ISF_ServicesConfig.ATLFAST_ParticleBrokerSvcCfg |
( |
|
flags, |
|
|
|
name = "ISF_ATLFAST_ParticleBrokerSvc" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 70 of file ISF_ServicesConfig.py.
73 kwargs.setdefault(
"GeoIDSvc", result.getService(
"ISF_ATLFAST_GeoIDSvc").name)
75 result.addService(pbsvc, primary =
True)
◆ GenericTruthServiceCfg()
def ISF_ServicesConfig.GenericTruthServiceCfg |
( |
|
flags, |
|
|
|
name = "ISF_TruthService" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 103 of file ISF_ServicesConfig.py.
105 kwargs.setdefault(
"BarcodeSvc", result.getPrimaryAndMerge(
BarcodeSvcCfg(flags)).name)
107 kwargs.setdefault(
"SkipIfNoChildren",
True)
108 kwargs.setdefault(
"SkipIfNoParentId",
True)
109 kwargs.setdefault(
"ForceEndVtxInRegions", [])
111 if flags.Sim.ISF.Simulator.isQuasiStable():
112 kwargs.setdefault(
"QuasiStableParticlesIncluded",
True)
113 kwargs.setdefault(
"QuasiStableParticleOverwrite",
not flags.Sim.UseShadowEvent)
114 svc = CompFactory.ISF.TruthSvc(name, **kwargs)
115 result.addService(svc, primary=
True)
◆ InputConverterCfg()
def ISF_ServicesConfig.InputConverterCfg |
( |
|
flags, |
|
|
|
name = "ISF_InputConverter" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 33 of file ISF_ServicesConfig.py.
35 kwargs.setdefault(
"QuasiStableParticlesIncluded", flags.Sim.ISF.Simulator.isQuasiStable())
36 kwargs.setdefault(
"UseShadowEvent", flags.Sim.UseShadowEvent)
37 kwargs.setdefault(
"UseGeneratedParticleMass",
False)
38 if "GenParticleFilters" not in kwargs:
39 from ISF_HepMC_Tools.ISF_HepMC_ToolsConfig
import GenParticleFilterToolsCfg
41 result.addService(CompFactory.ISF.InputConverter(name, **kwargs), primary =
True)
◆ MC12BeamPipeTruthStrategies()
def ISF_ServicesConfig.MC12BeamPipeTruthStrategies |
( |
| ) |
|
◆ MC12CaloTruthStrategies()
def ISF_ServicesConfig.MC12CaloTruthStrategies |
( |
| ) |
|
◆ MC12IDTruthStrategies()
def ISF_ServicesConfig.MC12IDTruthStrategies |
( |
| ) |
|
Definition at line 134 of file ISF_ServicesConfig.py.
135 return [
"ISF_MCTruthStrategyGroupID",
"ISF_MCTruthStrategyGroupIDHadInt"]
◆ MC12LLPTruthServiceCfg()
def ISF_ServicesConfig.MC12LLPTruthServiceCfg |
( |
|
flags, |
|
|
|
name = "ISF_MC12TruthLLPService" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 163 of file ISF_ServicesConfig.py.
166 TruthStrategyGroupIDCfg,
167 TruthStrategyGroupIDHadIntCfg,
168 TruthStrategyGroupCaloMuBremCfg,
171 truthStrats = [result.popToolsAndMerge(
cfg(flags))
for cfg
in truthCfgs]
172 kwargs.setdefault(
"TruthStrategies", truthStrats)
174 result.addService(truthService, primary =
True)
◆ MC12MSTruthStrategies()
def ISF_ServicesConfig.MC12MSTruthStrategies |
( |
| ) |
|
◆ MC12PlusTruthServiceCfg()
def ISF_ServicesConfig.MC12PlusTruthServiceCfg |
( |
|
flags, |
|
|
|
name = "ISF_MC12PlusTruthService" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 178 of file ISF_ServicesConfig.py.
179 AtlasRegion = ROOT.AtlasDetDescr.AtlasRegion
180 kwargs.setdefault(
"ForceEndVtxInRegions", [AtlasRegion.fAtlasID] )
◆ MC12TruthServiceCfg()
def ISF_ServicesConfig.MC12TruthServiceCfg |
( |
|
flags, |
|
|
|
name = "ISF_MC12TruthService" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 146 of file ISF_ServicesConfig.py.
148 if "TruthStrategies" not in kwargs:
150 TruthStrategyGroupIDCfg,
151 TruthStrategyGroupIDHadIntCfg,
152 TruthStrategyGroupCaloMuBremCfg,
154 truthStrats = [result.popToolsAndMerge(
cfg(flags))
for cfg
in truthCfgs]
155 kwargs.setdefault(
"TruthStrategies", truthStrats)
156 kwargs.setdefault(
"IgnoreUndefinedBarcodes",
False)
157 kwargs.setdefault(
"PassWholeVertices",
True)
159 result.addService(truthService, primary=
True)
◆ MC15aPlusLLPTruthServiceCfg()
def ISF_ServicesConfig.MC15aPlusLLPTruthServiceCfg |
( |
|
flags, |
|
|
|
name = "ISF_MC15aPlusLLPTruthService" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 236 of file ISF_ServicesConfig.py.
239 KeepLLPDecayChildrenStrategyCfg,
240 KeepLLPHadronicInteractionChildrenStrategyCfg,
241 TruthStrategyGroupID_MC15Cfg,
242 TruthStrategyGroupIDHadInt_MC15Cfg,
243 TruthStrategyGroupCaloMuBremCfg,
244 TruthStrategyGroupCaloDecay_MC15Cfg,
247 truthStrats = [result.popToolsAndMerge(
cfg(flags))
for cfg
in truthCfgs]
248 kwargs.setdefault(
"TruthStrategies", truthStrats)
250 result.addService(truthService, primary =
True)
◆ MC15aPlusTruthServiceCfg()
def ISF_ServicesConfig.MC15aPlusTruthServiceCfg |
( |
|
flags, |
|
|
|
name = "ISF_MC15aPlusTruthService" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 229 of file ISF_ServicesConfig.py.
230 AtlasRegion = ROOT.AtlasDetDescr.AtlasRegion
232 kwargs.setdefault(
"ForceEndVtxInRegions", [AtlasRegion.fAtlasID])
◆ MC15aTruthServiceCfg()
def ISF_ServicesConfig.MC15aTruthServiceCfg |
( |
|
flags, |
|
|
|
name = "ISF_MC15aTruthService" , |
|
|
** |
kwargs |
|
) |
| |
◆ MC15BeamPipeTruthStrategies()
def ISF_ServicesConfig.MC15BeamPipeTruthStrategies |
( |
| ) |
|
◆ MC15CaloTruthStrategies()
def ISF_ServicesConfig.MC15CaloTruthStrategies |
( |
| ) |
|
Definition at line 193 of file ISF_ServicesConfig.py.
194 return [
"ISF_MCTruthStrategyGroupCaloMuBrem",
"ISF_MCTruthStrategyGroupCaloMuBrem_MC15"]
◆ MC15IDTruthStrategies()
def ISF_ServicesConfig.MC15IDTruthStrategies |
( |
| ) |
|
Definition at line 189 of file ISF_ServicesConfig.py.
190 return [
"ISF_MCTruthStrategyGroupID_MC15",
"ISF_MCTruthStrategyGroupIDHadInt_MC15"]
◆ MC15MSTruthStrategies()
def ISF_ServicesConfig.MC15MSTruthStrategies |
( |
| ) |
|
◆ MC15TruthServiceCfg()
def ISF_ServicesConfig.MC15TruthServiceCfg |
( |
|
flags, |
|
|
|
name = "ISF_MC15TruthService" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 200 of file ISF_ServicesConfig.py.
202 AtlasRegion = ROOT.AtlasDetDescr.AtlasRegion
204 if "TruthStrategies" not in kwargs:
206 TruthStrategyGroupID_MC15Cfg,
207 TruthStrategyGroupIDHadInt_MC15Cfg,
208 TruthStrategyGroupCaloMuBremCfg,
209 TruthStrategyGroupCaloDecay_MC15Cfg ]
210 if flags.Sim.RecordStepInfo:
212 truthCfgs = [ FCSParamTruthStrategyCfg ]
213 truthStrats = [result.popToolsAndMerge(
cfg(flags))
for cfg
in truthCfgs]
214 kwargs.setdefault(
"TruthStrategies", truthStrats)
216 kwargs.setdefault(
"IgnoreUndefinedBarcodes",
False)
217 kwargs.setdefault(
"PassWholeVertices",
False)
218 kwargs.setdefault(
"ForceEndVtxInRegions", [AtlasRegion.fAtlasID])
220 result.addService(truthService, primary=
True)
◆ MC16LLPTruthServiceCfg()
def ISF_ServicesConfig.MC16LLPTruthServiceCfg |
( |
|
flags, |
|
|
|
name = "ISF_MC16LLPTruthService" , |
|
|
** |
kwargs |
|
) |
| |
◆ MC16TruthServiceCfg()
def ISF_ServicesConfig.MC16TruthServiceCfg |
( |
|
flags, |
|
|
|
name = "ISF_MC16TruthService" , |
|
|
** |
kwargs |
|
) |
| |
◆ MC18LLPTruthServiceCfg()
def ISF_ServicesConfig.MC18LLPTruthServiceCfg |
( |
|
flags, |
|
|
|
name = "ISF_MC18LLPTruthService" , |
|
|
** |
kwargs |
|
) |
| |
◆ MC18TruthServiceCfg()
def ISF_ServicesConfig.MC18TruthServiceCfg |
( |
|
flags, |
|
|
|
name = "ISF_MC18TruthService" , |
|
|
** |
kwargs |
|
) |
| |
◆ ParticleBrokerSvcCfg()
def ISF_ServicesConfig.ParticleBrokerSvcCfg |
( |
|
flags, |
|
|
|
name = "ISF_ParticleBrokerSvc" , |
|
|
** |
kwargs |
|
) |
| |
◆ ParticleBrokerSvcNoOrderingCfg()
def ISF_ServicesConfig.ParticleBrokerSvcNoOrderingCfg |
( |
|
flags, |
|
|
|
name = "ISF_ParticleBrokerSvcNoOrdering" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 45 of file ISF_ServicesConfig.py.
47 if "EntryLayerTool" not in kwargs:
48 kwargs.setdefault(
"EntryLayerTool", result.addPublicTool(result.popToolsAndMerge(EntryLayerToolCfg(flags))))
49 kwargs.setdefault(
"GeoIDSvc", result.getService(
"ISF_GeoIDSvc").name)
51 kwargs.setdefault(
"AlwaysUseGeoIDSvc",
False)
52 kwargs.setdefault(
"ValidateGeoIDs", flags.Sim.ISF.ValidationMode)
53 kwargs.setdefault(
"ValidationOutput", flags.Sim.ISF.ValidationMode)
54 kwargs.setdefault(
"ValidationStreamName",
"ParticleBroker")
56 result.addService(CompFactory.ISF.ParticleBrokerDynamicOnReadIn(name, **kwargs), primary =
True)
◆ TruthServiceCfg()
def ISF_ServicesConfig.TruthServiceCfg |
( |
|
flags, |
|
|
** |
kwargs |
|
) |
| |
Return the TruthService config flagged by Sim.TruthStrategy
Definition at line 80 of file ISF_ServicesConfig.py.
81 """Return the TruthService config flagged by Sim.TruthStrategy"""
83 TruthStrategy.MC12: MC12TruthServiceCfg,
84 TruthStrategy.MC12LLP: MC12LLPTruthServiceCfg,
85 TruthStrategy.MC12Plus: MC12PlusTruthServiceCfg,
86 TruthStrategy.MC15: MC15TruthServiceCfg,
87 TruthStrategy.MC15a: MC15aTruthServiceCfg,
88 TruthStrategy.MC15aPlus: MC15aPlusTruthServiceCfg,
89 TruthStrategy.MC15aPlusLLP: MC15aPlusLLPTruthServiceCfg,
90 TruthStrategy.MC16: MC16TruthServiceCfg,
91 TruthStrategy.MC16LLP: MC16LLPTruthServiceCfg,
92 TruthStrategy.MC18: MC18TruthServiceCfg,
93 TruthStrategy.MC18LLP: MC18LLPTruthServiceCfg,
96 TruthStrategy.Validation: ValidationTruthServiceCfg,
99 xCfg = stratmap[flags.Sim.TruthStrategy]
100 return xCfg(flags, **kwargs)
◆ ValidationTruthServiceCfg()
def ISF_ServicesConfig.ValidationTruthServiceCfg |
( |
|
flags, |
|
|
|
name = "ISF_ValidationTruthService" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 119 of file ISF_ServicesConfig.py.
122 kwargs.setdefault(
"IgnoreUndefinedBarcodes",
True)
123 kwargs.setdefault(
"PassWholeVertices",
True)
125 result.addService(truthService, primary=
True)
def BarcodeSvcCfg(flags, **kwargs)
def ATLFAST_ParticleBrokerSvcCfg(flags, name="ISF_ATLFAST_ParticleBrokerSvc", **kwargs)
def MC12LLPTruthServiceCfg(flags, name="ISF_MC12TruthLLPService", **kwargs)
def ValidationTruthServiceCfg(flags, name="ISF_ValidationTruthService", **kwargs)
def MC12IDTruthStrategies()
def MC18TruthServiceCfg(flags, name="ISF_MC18TruthService", **kwargs)
def MC15MSTruthStrategies()
def MC12TruthServiceCfg(flags, name="ISF_MC12TruthService", **kwargs)
def MC16LLPTruthServiceCfg(flags, name="ISF_MC16LLPTruthService", **kwargs)
def MC12PlusTruthServiceCfg(flags, name="ISF_MC12PlusTruthService", **kwargs)
def ParticleBrokerSvcNoOrderingCfg(flags, name="ISF_ParticleBrokerSvcNoOrdering", **kwargs)
def MC15IDTruthStrategies()
def MC15aPlusLLPTruthServiceCfg(flags, name="ISF_MC15aPlusLLPTruthService", **kwargs)
def MC15CaloTruthStrategies()
def ParticleBrokerSvcCfg(flags, name="ISF_ParticleBrokerSvc", **kwargs)
def MC15TruthServiceCfg(flags, name="ISF_MC15TruthService", **kwargs)
def MC12CaloTruthStrategies()
def MC15BeamPipeTruthStrategies()
def MC16TruthServiceCfg(flags, name="ISF_MC16TruthService", **kwargs)
def TruthServiceCfg(flags, **kwargs)
def MC12MSTruthStrategies()
def MC15aPlusTruthServiceCfg(flags, name="ISF_MC15aPlusTruthService", **kwargs)
def MC12BeamPipeTruthStrategies()
def InputConverterCfg(flags, name="ISF_InputConverter", **kwargs)
def MC18LLPTruthServiceCfg(flags, name="ISF_MC18LLPTruthService", **kwargs)
def MC15aTruthServiceCfg(flags, name="ISF_MC15aTruthService", **kwargs)
def GenericTruthServiceCfg(flags, name="ISF_TruthService", **kwargs)