ATLAS Offline Software
Functions | Variables
python.egammaReconstructionConfig Namespace Reference

Functions

def egammaReconstructionCfg (flags, name="egammaReconstruction")
 

Variables

string __doc__
 
 flags = initConfigFlags()
 
 Files
 
 doWriteESD
 
 doWriteAOD
 
 acc = MainServicesCfg(flags)
 
 withDetails
 
 True
 
 printDefaults
 

Function Documentation

◆ egammaReconstructionCfg()

def python.egammaReconstructionConfig.egammaReconstructionCfg (   flags,
  name = "egammaReconstruction" 
)

Definition at line 11 of file egammaReconstructionConfig.py.

11 def egammaReconstructionCfg(flags, name="egammaReconstruction"):
12 
13  mlog = logging.getLogger(name)
14  mlog.info('Starting EGamma reconstruction configuration')
15 
16  acc = ComponentAccumulator()
17 
18  # In case it has not be added upstream already
19  from egammaAlgs.egammaTopoClusterCopierConfig import (
20  egammaTopoClusterCopierCfg)
21  acc.merge(egammaTopoClusterCopierCfg(flags))
22 
23  # Add e/gamma tracking algorithms
24  if flags.Egamma.doTracking:
25  from egammaAlgs.egammaSelectedTrackCopyConfig import (
26  egammaSelectedTrackCopyCfg)
27  acc.merge(egammaSelectedTrackCopyCfg(flags))
28 
29  from egammaAlgs.EMBremCollectionBuilderConfig import (
30  EMBremCollectionBuilderCfg)
31  acc.merge(EMBremCollectionBuilderCfg(flags))
32 
33  if (flags.Tracking.writeExtendedSi_PRDInfo or
34  flags.Tracking.writeExtendedTRT_PRDInfo):
35  from DerivationFrameworkInDet.InDetToolsConfig import (
36  GSFTSOS_CommonKernelCfg)
37  acc.merge(GSFTSOS_CommonKernelCfg(flags))
38 
39  # Add e/gamma conversion finding
40  if flags.Egamma.doConversionBuilding:
41  from egammaAlgs.EMVertexBuilderConfig import (
42  EMVertexBuilderCfg)
43  acc.merge(EMVertexBuilderCfg(flags))
44 
45  # Add algorithms to produce
46  # xAOD Electrons and Photons
47  if flags.Egamma.doCentral:
48  from egammaAlgs.egammaRecBuilderConfig import (
49  egammaRecBuilderCfg)
50  acc.merge(egammaRecBuilderCfg(flags))
51 
52  from egammaAlgs.egammaSuperClusterBuilderConfig import (
53  electronSuperClusterBuilderCfg, photonSuperClusterBuilderCfg)
54  acc.merge(electronSuperClusterBuilderCfg(flags))
55  acc.merge(photonSuperClusterBuilderCfg(flags))
56 
57  from egammaAlgs.xAODEgammaBuilderConfig import (
58  xAODEgammaBuilderCfg)
59  acc.merge(xAODEgammaBuilderCfg(flags))
60 
61  from egammaAlgs.egammaLargeClusterMakerAlgConfig import (
62  egammaLargeClusterMakerAlgCfg)
63  acc.merge(egammaLargeClusterMakerAlgCfg(flags))
64 
65  # Add calo seeded forward algorithms to produce xAOD Forward Electrons.
66  if flags.Egamma.doForward:
67  from egammaAlgs.egammaForwardBuilderConfig import (
68  egammaForwardBuilderCfg)
69  acc.merge(egammaForwardBuilderCfg(flags))
70 
71  from egammaAlgs.egammaLargeFWDClusterMakerAlgConfig import (
72  egammaLargeFWDClusterMakerAlgCfg)
73  acc.merge(egammaLargeFWDClusterMakerAlgCfg(flags))
74 
75  # Add truth association.
76  if flags.Egamma.doTruthAssociation:
77  from egammaAlgs.egammaTruthAssociationConfig import (
78  egammaTruthAssociationCfg)
79  acc.merge(egammaTruthAssociationCfg(flags))
80 
81  mlog.info("EGamma reconstruction configured")
82 
83  return acc
84 
85 

Variable Documentation

◆ __doc__

string python.egammaReconstructionConfig.__doc__
private
Initial value:
1 = """
2  Instantiate the EGamma reconstruction.
3  """

Definition at line 3 of file egammaReconstructionConfig.py.

◆ acc

python.egammaReconstructionConfig.acc = MainServicesCfg(flags)

Definition at line 96 of file egammaReconstructionConfig.py.

◆ doWriteAOD

python.egammaReconstructionConfig.doWriteAOD

Definition at line 93 of file egammaReconstructionConfig.py.

◆ doWriteESD

python.egammaReconstructionConfig.doWriteESD

Definition at line 92 of file egammaReconstructionConfig.py.

◆ Files

python.egammaReconstructionConfig.Files

Definition at line 91 of file egammaReconstructionConfig.py.

◆ flags

python.egammaReconstructionConfig.flags = initConfigFlags()

Definition at line 90 of file egammaReconstructionConfig.py.

◆ printDefaults

python.egammaReconstructionConfig.printDefaults

Definition at line 98 of file egammaReconstructionConfig.py.

◆ True

python.egammaReconstructionConfig.True

Definition at line 98 of file egammaReconstructionConfig.py.

◆ withDetails

python.egammaReconstructionConfig.withDetails

Definition at line 98 of file egammaReconstructionConfig.py.

EMBremCollectionBuilderConfig.EMBremCollectionBuilderCfg
def EMBremCollectionBuilderCfg(flags, name="EMBremCollectionBuilder", **kwargs)
Definition: EMBremCollectionBuilderConfig.py:8
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
EMVertexBuilderConfig.EMVertexBuilderCfg
def EMVertexBuilderCfg(flags, name="EMVertexBuilder", **kwargs)
Definition: EMVertexBuilderConfig.py:8
egammaLargeFWDClusterMakerAlgConfig.egammaLargeFWDClusterMakerAlgCfg
def egammaLargeFWDClusterMakerAlgCfg(flags, name="egammaLargeFWDClusterMaker", **kwargs)
Definition: egammaLargeFWDClusterMakerAlgConfig.py:15
python.InDetToolsConfig.GSFTSOS_CommonKernelCfg
def GSFTSOS_CommonKernelCfg(flags, name="GSFTSOS_CommonKernel")
Definition: InDetToolsConfig.py:269
egammaForwardBuilderConfig.egammaForwardBuilderCfg
def egammaForwardBuilderCfg(flags, name='egammaForwardElectron', **kwargs)
Definition: egammaForwardBuilderConfig.py:13
egammaLargeClusterMakerAlgConfig.egammaLargeClusterMakerAlgCfg
def egammaLargeClusterMakerAlgCfg(flags, name="egammaLargeClusterMaker", **kwargs)
Definition: egammaLargeClusterMakerAlgConfig.py:16
egammaSuperClusterBuilderConfig.electronSuperClusterBuilderCfg
def electronSuperClusterBuilderCfg(flags, name='electronSuperClusterBuilder', sequenceName=None, **kwargs)
Definition: egammaSuperClusterBuilderConfig.py:16
xAODEgammaBuilderConfig.xAODEgammaBuilderCfg
def xAODEgammaBuilderCfg(flags, name='xAODEgammaBuilder', sequenceName=None, **kwargs)
Definition: xAODEgammaBuilderConfig.py:19
egammaRecBuilderConfig.egammaRecBuilderCfg
def egammaRecBuilderCfg(flags, name='egammaRecBuilder', sequenceName=None, **kwargs)
Definition: egammaRecBuilderConfig.py:14
egammaSelectedTrackCopyConfig.egammaSelectedTrackCopyCfg
def egammaSelectedTrackCopyCfg(flags, name="egammaSelectedTrackCopy", **kwargs)
Definition: egammaSelectedTrackCopyConfig.py:10
egammaTruthAssociationConfig.egammaTruthAssociationCfg
def egammaTruthAssociationCfg(flags, name='egammaTruthAssociation', sequenceName=None, **kwargs)
Definition: egammaTruthAssociationConfig.py:12
egammaSuperClusterBuilderConfig.photonSuperClusterBuilderCfg
def photonSuperClusterBuilderCfg(flags, name='photonSuperClusterBuilder', sequenceName=None, **kwargs)
Definition: egammaSuperClusterBuilderConfig.py:57
egammaTopoClusterCopierConfig.egammaTopoClusterCopierCfg
def egammaTopoClusterCopierCfg(flags, name='', **kwargs)
Definition: egammaTopoClusterCopierConfig.py:10
python.egammaReconstructionConfig.egammaReconstructionCfg
def egammaReconstructionCfg(flags, name="egammaReconstruction")
Definition: egammaReconstructionConfig.py:11