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

Functions

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

Function Documentation

◆ clusterFSInputMaker()

CaloDef.clusterFSInputMaker ( )

cluster maker functions

Creates the inputMaker for FS in menu

Definition at line 53 of file CaloDef.py.

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

◆ fastCaloRecoSequenceCfg()

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

Definition at line 14 of file CaloDef.py.

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

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

Definition at line 39 of file CaloDef.py.

39def fastCaloVDVCfg(flags,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 if ( not flags.Input.isMC ):
45 fastCaloVDV.DataObjects.add(('LArDeadOTXFromSC' , 'StoreGateSvc+DeadOTXFromSC' ))
46 reco.addEventAlgo(fastCaloVDV)
47 return reco
48