ATLAS Offline Software
Functions | Variables
run_AODTCCLinking Namespace Reference

Functions

def MyAlgConfigNeutral (inputFlags, **kwargs)
 
def MyAlgConfigCharged (inputFlags, **kwargs)
 
def LinkerAlgConfig (inputFlags, **kwargs)
 
def TauLinkerConfig (inputFlags, **kwargs)
 

Variables

 cfgFlags = initConfigFlags()
 
 isMC
 
 Format
 
 Files
 
 AODFileName
 
 MaxEvents
 
 doWriteAOD
 
 ProductionStep
 
 cfg = MainServicesCfg(cfgFlags)
 
list inputList = ["xAOD::TrackParticleContainer#InDetTrackParticles", "xAOD::TrackParticleAuxContainer#InDetTrackParticlesAux."]
 

Function Documentation

◆ LinkerAlgConfig()

def run_AODTCCLinking.LinkerAlgConfig (   inputFlags,
**  kwargs 
)

Definition at line 44 of file run_AODTCCLinking.py.

44 def LinkerAlgConfig(inputFlags,**kwargs):
45  #link El/Phot/Muon to TrackCaloClusters
47  StoreGateSvc=CompFactory.StoreGateSvc
48  CA.addService(StoreGateSvc("DetectorStore"))
49 
50  from eflowRec.PFCfg import getEGamFlowElementAssocAlgorithm
51  from eflowRec.PFCfg import getMuonFlowElementAssocAlgorithm
52 
53  CA.addEventAlgo(getEGamFlowElementAssocAlgorithm(inputFlags,AODTest=False,doTCC=True))
54  CA.addEventAlgo(getMuonFlowElementAssocAlgorithm(inputFlags,LinkNeutralFEClusters=False,useMuonTopoClusters=True,AODTest=False,doTCC=True))
55 
56 
57  return CA
58 
59 

◆ MyAlgConfigCharged()

def run_AODTCCLinking.MyAlgConfigCharged (   inputFlags,
**  kwargs 
)

Definition at line 26 of file run_AODTCCLinking.py.

26 def MyAlgConfigCharged(inputFlags,**kwargs,):
27  # this is based on the PFRun3Config, so parts of it are gonna be used as is
28  result=ComponentAccumulator()
29 
30  StoreGateSvc=CompFactory.StoreGateSvc
31 
32  result.addService(StoreGateSvc("DetectorStore"))
33 
34 
35 
36  from TrackCaloClusterRecTools.TrackCaloClusterConfig import runTCCReconstruction
37  TCCReco=runTCCReconstruction(inputFlags, outputTCCName="TrackCaloClusters",doNeutral=False,doCharged=True,doCombined=False)
38  result.merge(TCCReco)
39 
40  StoreGateSvc.Dump = True
41  return result
42 
43 

◆ MyAlgConfigNeutral()

def run_AODTCCLinking.MyAlgConfigNeutral (   inputFlags,
**  kwargs 
)

Definition at line 7 of file run_AODTCCLinking.py.

7 def MyAlgConfigNeutral(inputFlags,**kwargs,):
8  # this is based on the PFRun3Config, so parts of it are gonna be used as is
9  result=ComponentAccumulator()
10 
11  StoreGateSvc=CompFactory.StoreGateSvc
12 
13  result.addService(StoreGateSvc("DetectorStore"))
14 
15 
16  from TrackCaloClusterRecTools.TrackCaloClusterConfig import runTCCReconstruction
17  TCCReco=runTCCReconstruction(inputFlags, outputTCCName="TrackCaloClusters",doNeutral=True,doCharged=False,doCombined=False)
18  result.merge(TCCReco)
19 
20  StoreGateSvc.Dump = True
21  return result
22 
23 
24 
25 

◆ TauLinkerConfig()

def run_AODTCCLinking.TauLinkerConfig (   inputFlags,
**  kwargs 
)

Definition at line 60 of file run_AODTCCLinking.py.

60 def TauLinkerConfig(inputFlags, **kwargs):
61  #separate linker, can merge to main one for no loss of generality
62  TauLinkerCA=ComponentAccumulator()
63  # add Storegate
64  StoreGateSvc=CompFactory.StoreGateSvc
65  TauLinkerCA.addService(StoreGateSvc("DetectorStore"))
66 
67  from eflowRec.PFCfg import getTauFlowElementAssocAlgorithm
68  TauLinkerCA.addEventAlgo(getTauFlowElementAssocAlgorithm(inputFlags,doTCC=True))
69  return TauLinkerCA
70 
71 
72 

Variable Documentation

◆ AODFileName

run_AODTCCLinking.AODFileName

Definition at line 81 of file run_AODTCCLinking.py.

◆ cfg

run_AODTCCLinking.cfg = MainServicesCfg(cfgFlags)

Definition at line 90 of file run_AODTCCLinking.py.

◆ cfgFlags

run_AODTCCLinking.cfgFlags = initConfigFlags()

Definition at line 76 of file run_AODTCCLinking.py.

◆ doWriteAOD

run_AODTCCLinking.doWriteAOD

Definition at line 83 of file run_AODTCCLinking.py.

◆ Files

run_AODTCCLinking.Files

Definition at line 80 of file run_AODTCCLinking.py.

◆ Format

run_AODTCCLinking.Format

Definition at line 78 of file run_AODTCCLinking.py.

◆ inputList

list run_AODTCCLinking.inputList = ["xAOD::TrackParticleContainer#InDetTrackParticles", "xAOD::TrackParticleAuxContainer#InDetTrackParticlesAux."]

Definition at line 93 of file run_AODTCCLinking.py.

◆ isMC

run_AODTCCLinking.isMC

Definition at line 77 of file run_AODTCCLinking.py.

◆ MaxEvents

run_AODTCCLinking.MaxEvents

Definition at line 82 of file run_AODTCCLinking.py.

◆ ProductionStep

run_AODTCCLinking.ProductionStep

Definition at line 84 of file run_AODTCCLinking.py.

python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:128
run_AODTCCLinking.MyAlgConfigNeutral
def MyAlgConfigNeutral(inputFlags, **kwargs)
Definition: run_AODTCCLinking.py:7
PFCfg.getEGamFlowElementAssocAlgorithm
def getEGamFlowElementAssocAlgorithm(inputFlags, algName="", **kwargs)
Definition: PFCfg.py:205
PFCfg.getMuonFlowElementAssocAlgorithm
def getMuonFlowElementAssocAlgorithm(inputFlags, algName="", **kwargs)
Definition: PFCfg.py:286
run_AODTCCLinking.MyAlgConfigCharged
def MyAlgConfigCharged(inputFlags, **kwargs)
Definition: run_AODTCCLinking.py:26
PFCfg.getTauFlowElementAssocAlgorithm
def getTauFlowElementAssocAlgorithm(inputFlags, algName="", **kwargs)
Definition: PFCfg.py:384
run_AODTCCLinking.TauLinkerConfig
def TauLinkerConfig(inputFlags, **kwargs)
Definition: run_AODTCCLinking.py:60
TrackCaloClusterConfig.runTCCReconstruction
def runTCCReconstruction(flags, caloClusterName="CaloCalTopoClusters", detectorEtaName="default", trackParticleName="InDetTrackParticles", assocPostfix="TCC", doCombined=False, doCharged=False, doNeutral=True, outputTCCName="TrackCaloClusters")
Definition: TrackCaloClusterConfig.py:80
run_AODTCCLinking.LinkerAlgConfig
def LinkerAlgConfig(inputFlags, **kwargs)
Definition: run_AODTCCLinking.py:44