ATLAS Offline Software
Loading...
Searching...
No Matches
run_AODTCCLinking Namespace Reference

Functions

 MyAlgConfigNeutral (inputFlags, **kwargs)
 MyAlgConfigCharged (inputFlags, **kwargs)
 LinkerAlgConfig (inputFlags, **kwargs)
 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()

run_AODTCCLinking.LinkerAlgConfig ( inputFlags,
** kwargs )

Definition at line 44 of file run_AODTCCLinking.py.

44def LinkerAlgConfig(inputFlags,**kwargs):
45 #link El/Phot/Muon to TrackCaloClusters
46 CA=ComponentAccumulator()
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
The Athena Transient Store API.

◆ MyAlgConfigCharged()

run_AODTCCLinking.MyAlgConfigCharged ( inputFlags,
** kwargs )

Definition at line 26 of file run_AODTCCLinking.py.

26def 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()

run_AODTCCLinking.MyAlgConfigNeutral ( inputFlags,
** kwargs )

Definition at line 7 of file run_AODTCCLinking.py.

7def 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()

run_AODTCCLinking.TauLinkerConfig ( inputFlags,
** kwargs )

Definition at line 60 of file run_AODTCCLinking.py.

60def 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.