ATLAS Offline Software
Loading...
Searching...
No Matches
python.ThinGeantTruthConfig Namespace Reference

Functions

 ThinGeantTruthCfg (flags, name="ThinGeantTruthAlg", **kwargs)

Variables

str __doc__
 flags = initConfigFlags()
 Files
 doWriteAOD
 acc = MainServicesCfg(flags)
 mlog = logging.getLogger("ThinGeantTruthConfigTest")
 nestLevel
 printDefaults

Function Documentation

◆ ThinGeantTruthCfg()

python.ThinGeantTruthConfig.ThinGeantTruthCfg ( flags,
name = "ThinGeantTruthAlg",
** kwargs )

Definition at line 12 of file ThinGeantTruthConfig.py.

12def ThinGeantTruthCfg(flags, name="ThinGeantTruthAlg", **kwargs):
13
14 mlog = logging.getLogger(name)
15 mlog.info("Starting Geant4 Truth Thinning configuration")
16 acc = ComponentAccumulator()
17 kwargs.setdefault("StreamName", "StreamAOD")
18 kwargs.setdefault("keepEGamma", flags.Reco.EnableEgamma)
19 kwargs.setdefault("keepMuons", flags.Reco.EnableCombinedMuon)
20 if flags.GeoModel.Run >= LHCPeriod.Run4:
21 kwargs.setdefault("EtaMaxEGammaTruth", 4.1)
22 kwargs.setdefault("FwdElectronsKey", "ForwardElectrons")
23
24 acc.addEventAlgo(CompFactory.ThinGeantTruthAlg(name, **kwargs))
25 mlog.info("Geant4 Truth Thinning configured")
26 return acc
27
28

Variable Documentation

◆ __doc__

str python.ThinGeantTruthConfig.__doc__
private
Initial value:
1= """
2 Instantiate the TRT Standalone Thinning
3 """

Definition at line 3 of file ThinGeantTruthConfig.py.

◆ acc

python.ThinGeantTruthConfig.acc = MainServicesCfg(flags)

Definition at line 38 of file ThinGeantTruthConfig.py.

◆ doWriteAOD

python.ThinGeantTruthConfig.doWriteAOD

Definition at line 36 of file ThinGeantTruthConfig.py.

◆ Files

python.ThinGeantTruthConfig.Files

Definition at line 35 of file ThinGeantTruthConfig.py.

◆ flags

python.ThinGeantTruthConfig.flags = initConfigFlags()

Definition at line 34 of file ThinGeantTruthConfig.py.

◆ mlog

python.ThinGeantTruthConfig.mlog = logging.getLogger("ThinGeantTruthConfigTest")

Definition at line 40 of file ThinGeantTruthConfig.py.

◆ nestLevel

python.ThinGeantTruthConfig.nestLevel

Definition at line 44 of file ThinGeantTruthConfig.py.

◆ printDefaults

python.ThinGeantTruthConfig.printDefaults

Definition at line 45 of file ThinGeantTruthConfig.py.