ATLAS Offline Software
Functions
CaloDef Namespace Reference

Functions

def fastCaloRecoSequenceCfg (flags, inputEDM="", ClustersName="HLT_FastCaloEMClusters", RingerKey="HLT_FastCaloRinger", doForward=False, doAllEm=False, doAll=False)
 
def fastCaloVDVCfg (name="fastCaloVDV", InViewRoIs="EMCaloRoIs")
 
def clusterFSInputMaker ()
 cluster maker functions More...
 

Function Documentation

◆ clusterFSInputMaker()

def CaloDef.clusterFSInputMaker ( )

cluster maker functions

Creates the inputMaker for FS in menu

Definition at line 51 of file CaloDef.py.

51 def clusterFSInputMaker( ):
52  """Creates the inputMaker for FS in menu"""
53  RoIs = caloFSRoI
54  InputMakerAlg = CompFactory.InputMakerForRoI("IMclusterFS", RoIsLink="initialRoI")
55  InputMakerAlg.RoITool = CompFactory.ViewCreatorInitialROITool()
56  InputMakerAlg.RoIs=RoIs
57  return InputMakerAlg

◆ fastCaloRecoSequenceCfg()

def CaloDef.fastCaloRecoSequenceCfg (   flags,
  inputEDM = "",
  ClustersName = "HLT_FastCaloEMClusters",
  RingerKey = "HLT_FastCaloRinger",
  doForward = False,
  doAllEm = False,
  doAll = False 
)

Definition at line 14 of file CaloDef.py.

14 def fastCaloRecoSequenceCfg(flags, inputEDM="", ClustersName="HLT_FastCaloEMClusters", RingerKey="HLT_FastCaloRinger", doForward=False, doAllEm=False, doAll=False):
15 
16  acc = ComponentAccumulator()
17  acc.merge(trigCaloDataAccessSvcCfg(flags))
18  if not inputEDM:
19  from HLTSeeding.HLTSeedingConfig import mapThresholdToL1RoICollection
20  # using jet seeds for testing. we should use EM as soon as we have EM seeds into the L1
21  inputEDM = mapThresholdToL1RoICollection("EM")
22 
23  from TrigT2CaloEgamma.TrigT2CaloEgammaConfig import t2CaloEgamma_ReFastAlgoCfg
24  if (not doForward) and (not doAll) and (not doAllEm ) :
25  acc.merge(t2CaloEgamma_ReFastAlgoCfg(flags, "FastCaloL2EgammaAlg", doRinger=True, RingerKey=RingerKey,RoIs=inputEDM,ExtraInputs=CaloDataAccessSvcDependencies, ClustersName = ClustersName))
26  if doForward:
27  from TrigT2CaloEgamma.TrigT2CaloEgammaConfig import t2CaloEgamma_ReFastFWDAlgoCfg
28  acc.merge(t2CaloEgamma_ReFastFWDAlgoCfg(flags, "FastCaloL2EgammaAlg_FWD", doRinger=True, RingerKey=RingerKey,RoIs=inputEDM,ExtraInputs=CaloDataAccessSvcDependencies, ClustersName = ClustersName))
29  else:
30  if ( doAllEm or doAll ) :
31  if ( doAllEm ):
32  from TrigT2CaloEgamma.TrigT2CaloEgammaConfig import t2CaloEgamma_AllEmCfg
33  acc.merge(t2CaloEgamma_AllEmCfg(flags, "L2CaloLayersEmFex",RoIs=inputEDM,ExtraInputs= CaloDataAccessSvcDependencies, ClustersName = ClustersName))
34  else : # can only be doAll
35  from TrigT2CaloEgamma.TrigT2CaloEgammaConfig import t2CaloEgamma_AllCfg
36  acc.merge(t2CaloEgamma_AllCfg(flags, "L2CaloLayersFex",RoIs=inputEDM,ExtraInputs=CaloDataAccessSvcDependencies, ClustersName = ClustersName))
37  return acc
38 

◆ fastCaloVDVCfg()

def CaloDef.fastCaloVDVCfg (   name = "fastCaloVDV",
  InViewRoIs = "EMCaloRoIs" 
)

Definition at line 39 of file CaloDef.py.

39 def fastCaloVDVCfg(name="fastCaloVDV",InViewRoIs="EMCaloRoIs") :
40  reco = ComponentAccumulator()
41  fastCaloVDV = CompFactory.AthViews.ViewDataVerifier(name)
42  fastCaloVDV.DataObjects = {( 'CaloBCIDAverage' , 'StoreGateSvc+CaloBCIDAverage' ),
43  ( 'TrigRoiDescriptorCollection' , 'StoreGateSvc+%s'%InViewRoIs )}
44  reco.addEventAlgo(fastCaloVDV)
45  return reco
46 
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.TrigT2CaloEgammaConfig.t2CaloEgamma_ReFastAlgoCfg
def t2CaloEgamma_ReFastAlgoCfg(flags, name="T2CaloEgamma_ReFastAlgo", ClustersName="HLT_FastCaloEMClusters", doRinger=False, RingerKey="HLT_FastCaloRinger", RoIs=inputEDM, ExtraInputs=set())
Definition: TrigT2CaloEgammaConfig.py:123
python.TrigT2CaloEgammaConfig.t2CaloEgamma_AllCfg
def t2CaloEgamma_AllCfg(flags, name="T2CaloEgamma_All", RoIs=inputEDM, ExtraInputs=set(), ClustersName="HLT_FastCaloEMClusters")
Definition: TrigT2CaloEgammaConfig.py:84
python.TrigT2CaloEgammaConfig.t2CaloEgamma_ReFastFWDAlgoCfg
def t2CaloEgamma_ReFastFWDAlgoCfg(flags, name="T2CaloEgamma_ReFastFWDAlgo", ClustersName="HLT_FWDFastCaloEMClusters", doRinger=False, RingerKey="HLT_FWDFastCaloRinger", RoIs=inputEDM, ExtraInputs=set())
Definition: TrigT2CaloEgammaConfig.py:187
CaloDef.fastCaloRecoSequenceCfg
def fastCaloRecoSequenceCfg(flags, inputEDM="", ClustersName="HLT_FastCaloEMClusters", RingerKey="HLT_FastCaloRinger", doForward=False, doAllEm=False, doAll=False)
Definition: CaloDef.py:14
CaloDef.clusterFSInputMaker
def clusterFSInputMaker()
cluster maker functions
Definition: CaloDef.py:51
python.TrigT2CaloEgammaConfig.t2CaloEgamma_AllEmCfg
def t2CaloEgamma_AllEmCfg(flags, name="T2CaloEgamma_AllEm", RoIs=inputEDM, ExtraInputs=set(), ClustersName="HLT_FastCaloEMClusters")
Definition: TrigT2CaloEgammaConfig.py:104
CaloDef.fastCaloVDVCfg
def fastCaloVDVCfg(name="fastCaloVDV", InViewRoIs="EMCaloRoIs")
Definition: CaloDef.py:39
TrigCaloDataAccessConfig.trigCaloDataAccessSvcCfg
def trigCaloDataAccessSvcCfg(flags)
Definition: TrigCaloDataAccessConfig.py:40
HLTSeedingConfig.mapThresholdToL1RoICollection
def mapThresholdToL1RoICollection(threshold)
Definition: HLTSeedingConfig.py:91