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

Functions

 config_CHS_CSSK (flags, **kwargs)
 UFOConfig (flags, **kwargs)

Variables

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

Function Documentation

◆ config_CHS_CSSK()

UFOAccumulator.config_CHS_CSSK ( flags,
** kwargs )

Definition at line 15 of file UFOAccumulator.py.

15def config_CHS_CSSK(flags,**kwargs):
16
17 #Trigger xAODType.ObjectType dict entry loading
18 import cppyy
19 try:
20 cppyy.load_library('libxAODBaseObjectTypeDict')
21 except Exception:
22 pass
23 from ROOT import xAODType
24 xAODType.ObjectType
25 CHS_CSSK_CA=ComponentAccumulator()
26 # add storegate
27 StoreGateSvc=CompFactory.StoreGateSvc
28 CHS_CSSK_CA.addService(StoreGateSvc("DetectorStore"))
29 from JetRec.JetRecStandardToolManager import jtm
30 from JetRecTools.ConstitToolManager import ctm
31 from JetRecTools.JetRecToolsConf import CorrectPFOTool
32 ctm.add( CorrectPFOTool("CorrectPFOTool",
33 WeightPFOTool = jtm.pflowweighter,
34 InputIsEM = True,
35 CalibratePFO = False,
36 UseChargedWeights = True,
37 InputType = xAODType.FlowElement
38 ),
39 alias = 'correctPFO' )
40
41 jtm += ctm.buildConstitModifSequence( "JetConstitSeq_PFlowCHS",
42 InputContainer = "JetETMiss",
43 OutputContainer = "CHS", #"ParticleFlowObjects" will be appended later
44 modList = ['correctPFO', 'chsPFO'] )
45
46 CHS_CSSK_CA.merge(jtm)
47 return CHS_CSSK_CA
48
49
50
Applies various corrections to PFO.
The Athena Transient Store API.

◆ UFOConfig()

UFOAccumulator.UFOConfig ( flags,
** kwargs )

Definition at line 51 of file UFOAccumulator.py.

51def UFOConfig(flags, **kwargs):
52 # Configure UFO reconstruction algorithm instead of TCC
53 UFO_CA=ComponentAccumulator()
54 #add Storegate
55 StoreGateSvc=CompFactory.StoreGateSvc
56
57 UFO_CA.addService(StoreGateSvc("DetectorStore"))
58 from TrackCaloClusterRecTools.TrackCaloClusterConfig import runUFOReconstruction_redux
59 from JetRecConfig.StandardJetConstits import stdConstitDic as cst
60 constituents=cst.EMPFlow
61 UFO_reco=runUFOReconstruction_redux(flags,constits=constituents,charged=True)
62 UFO_CA.merge(UFO_reco)
63
64 return UFO_CA
65
66
67

Variable Documentation

◆ AODFileName

UFOAccumulator.AODFileName

Definition at line 76 of file UFOAccumulator.py.

◆ cfg

UFOAccumulator.cfg = MainServicesCfg(flags)

Definition at line 85 of file UFOAccumulator.py.

◆ doWriteAOD

UFOAccumulator.doWriteAOD

Definition at line 78 of file UFOAccumulator.py.

◆ Files

UFOAccumulator.Files

Definition at line 75 of file UFOAccumulator.py.

◆ flags

UFOAccumulator.flags = initConfigFlags()

Definition at line 70 of file UFOAccumulator.py.

◆ Format

UFOAccumulator.Format

Definition at line 72 of file UFOAccumulator.py.

◆ inputList

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

Definition at line 88 of file UFOAccumulator.py.

◆ isMC

UFOAccumulator.isMC

Definition at line 71 of file UFOAccumulator.py.

◆ MaxEvents

UFOAccumulator.MaxEvents

Definition at line 77 of file UFOAccumulator.py.

◆ ProductionStep

UFOAccumulator.ProductionStep

Definition at line 79 of file UFOAccumulator.py.