ATLAS Offline Software
Functions | Variables
UFOAccumulator Namespace Reference

Functions

def config_CHS_CSSK (flags, **kwargs)
 
def 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()

def UFOAccumulator.config_CHS_CSSK (   flags,
**  kwargs 
)

Definition at line 15 of file UFOAccumulator.py.

15 def 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 

◆ UFOConfig()

def UFOAccumulator.UFOConfig (   flags,
**  kwargs 
)

Definition at line 51 of file UFOAccumulator.py.

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

python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:125
UFOAccumulator.UFOConfig
def UFOConfig(flags, **kwargs)
Definition: UFOAccumulator.py:51
CorrectPFOTool
Definition: CorrectPFOTool.h:32
UFOAccumulator.config_CHS_CSSK
def config_CHS_CSSK(flags, **kwargs)
Definition: UFOAccumulator.py:15