ATLAS Offline Software
Functions | Variables
python.ThinInDetForwardTrackParticlesConfig Namespace Reference

Functions

def ThinInDetForwardTrackParticlesCfg (flags, name="ThinInDetForwardTrackParticlesAlg", **kwargs)
 

Variables

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

Function Documentation

◆ ThinInDetForwardTrackParticlesCfg()

def python.ThinInDetForwardTrackParticlesConfig.ThinInDetForwardTrackParticlesCfg (   flags,
  name = "ThinInDetForwardTrackParticlesAlg",
**  kwargs 
)

Definition at line 11 of file ThinInDetForwardTrackParticlesConfig.py.

11 def ThinInDetForwardTrackParticlesCfg(flags, name="ThinInDetForwardTrackParticlesAlg", **kwargs):
12 
13  mlog = logging.getLogger(name)
14  mlog.info("Starting InDetForwardTrackParticles Thinning configuration")
15  acc = ComponentAccumulator()
16 
17  if (("xAOD::TrackParticleContainer#InDetForwardTrackParticles"
18  not in flags.Input.TypedCollections) and
19  not flags.Tracking.doForwardTracks):
20  mlog.info("Not attempting to thin InDetForwardTrackParticles, because the container InDetForwardTrackParticles does not seem to be available")
21  return acc
22 
23  if not flags.Reco.EnableCombinedMuon:
24  mlog.info("Combined muon reconstruction is disabled so all InDetForwardTrackParticles will be thinned")
25  kwargs.setdefault("MuonsKey", "")
26 
27  kwargs.setdefault("StreamName", "StreamAOD")
28  acc.addEventAlgo(CompFactory.ThinInDetForwardTrackParticlesAlg(name, **kwargs))
29  mlog.info("InDetForwardTrackParticles Thinning configured")
30  return acc
31 

Variable Documentation

◆ __doc__

string python.ThinInDetForwardTrackParticlesConfig.__doc__
private
Initial value:
1 = """
2  Instantiate the InDetForwardTrackParticles Thinning
3  """

Definition at line 3 of file ThinInDetForwardTrackParticlesConfig.py.

◆ acc

python.ThinInDetForwardTrackParticlesConfig.acc = MainServicesCfg(flags)

Definition at line 41 of file ThinInDetForwardTrackParticlesConfig.py.

◆ doWriteAOD

python.ThinInDetForwardTrackParticlesConfig.doWriteAOD

Definition at line 39 of file ThinInDetForwardTrackParticlesConfig.py.

◆ Files

python.ThinInDetForwardTrackParticlesConfig.Files

Definition at line 38 of file ThinInDetForwardTrackParticlesConfig.py.

◆ flags

python.ThinInDetForwardTrackParticlesConfig.flags = initConfigFlags()

Definition at line 37 of file ThinInDetForwardTrackParticlesConfig.py.

◆ mlog

python.ThinInDetForwardTrackParticlesConfig.mlog = logging.getLogger("ThinInDetForwardTrackParticlesConfigTest")

Definition at line 43 of file ThinInDetForwardTrackParticlesConfig.py.

◆ nestLevel

python.ThinInDetForwardTrackParticlesConfig.nestLevel

Definition at line 47 of file ThinInDetForwardTrackParticlesConfig.py.

◆ printDefaults

python.ThinInDetForwardTrackParticlesConfig.printDefaults

Definition at line 48 of file ThinInDetForwardTrackParticlesConfig.py.

python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.ThinInDetForwardTrackParticlesConfig.ThinInDetForwardTrackParticlesCfg
def ThinInDetForwardTrackParticlesCfg(flags, name="ThinInDetForwardTrackParticlesAlg", **kwargs)
Definition: ThinInDetForwardTrackParticlesConfig.py:11