ATLAS Offline Software
Functions | Variables
TrigCaloDataAccessConfig Namespace Reference

Functions

def CaloOffsetCorrectionCfg (flags)
 
def trigCaloDataAccessSvcCfg (flags)
 

Variables

 CaloDataAccessSvcDependencies
 
 flags
 
 Files
 
 AtlasVersion
 
 GlobalTag
 
 isMC
 
 acc
 
 mon
 
 path
 
 title
 
 xbins
 
 xmin
 
 xmax
 
 type
 
 ybins
 
 ymin
 
 pi
 
 ymax
 
 MonTool
 
 testAlg
 
 sc
 

Function Documentation

◆ CaloOffsetCorrectionCfg()

def TrigCaloDataAccessConfig.CaloOffsetCorrectionCfg (   flags)

Definition at line 21 of file TrigCaloDataAccessConfig.py.

21 def CaloOffsetCorrectionCfg(flags):
22 
23  acc = ComponentAccumulator()
24  if not flags.Input.isMC and flags.Common.isOnline:
25  acc.addCondAlgo(CompFactory.getComp('LArFlatConditionsAlg<LArOFCFlat>')(ReadKey="/LAR/ElecCalibFlat/OFC", WriteKey='LArOFC'))
26  from LumiBlockComps.LuminosityCondAlgConfig import LuminosityCondAlgCfg
27  acc.merge(LuminosityCondAlgCfg(flags))
28 
29  from CaloRec.CaloBCIDAvgAlgConfig import CaloBCIDAvgAlgCfg
30  acc.merge(CaloBCIDAvgAlgCfg(flags))
31  from LArRecUtils.LArRecUtilsConfig import LArMCSymCondAlgCfg
32  acc.merge( LArMCSymCondAlgCfg( flags ) )
33  from AthenaMonitoringKernel.GenericMonitoringTool import GenericMonitoringTool
34  monTool = GenericMonitoringTool(flags, 'MonTool')
35  monTool.defineHistogram('TIME_exec', path='EXPERT', type='TH1F', title="CaloBCIDAvgAlg execution time; time [ us ] ; Nruns", xbins=80, xmin=0.0, xmax=4000)
36  acc.getEventAlgo("CaloBCIDAvgAlg").MonTool = monTool
37  return acc
38 
39 @AccumulatorCache

◆ trigCaloDataAccessSvcCfg()

def TrigCaloDataAccessConfig.trigCaloDataAccessSvcCfg (   flags)

Definition at line 40 of file TrigCaloDataAccessConfig.py.

40 def trigCaloDataAccessSvcCfg( flags ):
41 
42  acc = ComponentAccumulator()
43  svc = CompFactory.TrigCaloDataAccessSvc()
44 
45  # since the svc depends on calo geometry configure it here
46  from LArGeoAlgsNV.LArGMConfig import LArGMCfg
47  acc.merge( LArGMCfg( flags ) )
48 
49  from TileGeoModel.TileGMConfig import TileGMCfg
50  acc.merge( TileGMCfg( flags ) )
51 
52  from LArRecUtils.LArRecUtilsConfig import LArRoIMapCondAlgCfg
53  acc.merge( LArRoIMapCondAlgCfg( flags ) )
54 
55  from LArCabling.LArCablingConfig import LArOnOffIdMappingCfg, LArFebRodMappingCfg
56  acc.merge( LArOnOffIdMappingCfg( flags ))
57  acc.merge( LArFebRodMappingCfg( flags ))
58 
59  from TileByteStream.TileHid2RESrcIDConfig import TileHid2RESrcIDCondAlgCfg
60  acc.merge( TileHid2RESrcIDCondAlgCfg(flags, ForHLT=True) )
61 
62  #setup region selector
63  from RegionSelector.RegSelToolConfig import (regSelTool_TTEM_Cfg,regSelTool_TTHEC_Cfg,
64  regSelTool_FCALEM_Cfg,regSelTool_FCALHAD_Cfg,regSelTool_TILE_Cfg)
65 
66  svc.RegSelToolEM = acc.popToolsAndMerge(regSelTool_TTEM_Cfg(flags))
67  svc.RegSelToolHEC = acc.popToolsAndMerge(regSelTool_TTHEC_Cfg(flags))
68  svc.RegSelToolFCALEM = acc.popToolsAndMerge(regSelTool_FCALEM_Cfg(flags))
69  svc.RegSelToolFCALHAD = acc.popToolsAndMerge(regSelTool_FCALHAD_Cfg(flags))
70  svc.RegSelToolTILE = acc.popToolsAndMerge(regSelTool_TILE_Cfg(flags))
71 
72 
73  # Needed by bad channel maskers, refrerenced from LArCellCont.
74  from LArBadChannelTool.LArBadChannelConfig import LArBadChannelCfg, LArBadFebCfg
75  acc.merge(LArBadChannelCfg(flags))
76  acc.merge(LArBadFebCfg(flags))
77 
78  from TileConditions.TileEMScaleConfig import TileEMScaleCondAlgCfg
79  acc.merge( TileEMScaleCondAlgCfg(flags) )
80 
81  from TileConditions.TileBadChannelsConfig import TileBadChannelsCondAlgCfg
82  acc.merge( TileBadChannelsCondAlgCfg(flags) )
83 
84  if flags.Trigger.Calo.doOffsetCorrection:
85  if flags.Trigger.doHLT:
86  from AthenaCommon.CFElements import parOR
87  eventAcc = ComponentAccumulator(parOR("HLTBeginSeq"))
88  eventAcc.merge(CaloOffsetCorrectionCfg(flags), sequenceName="HLTBeginSeq")
89  acc.merge(eventAcc)
90  else:
91  acc.merge(CaloOffsetCorrectionCfg(flags))
92 
93  acc.addService( svc, primary=True )
94  return acc
95 
96 

Variable Documentation

◆ acc

TrigCaloDataAccessConfig.acc

Definition at line 110 of file TrigCaloDataAccessConfig.py.

◆ AtlasVersion

TrigCaloDataAccessConfig.AtlasVersion

Definition at line 104 of file TrigCaloDataAccessConfig.py.

◆ CaloDataAccessSvcDependencies

TrigCaloDataAccessConfig.CaloDataAccessSvcDependencies

Definition at line 6 of file TrigCaloDataAccessConfig.py.

◆ Files

TrigCaloDataAccessConfig.Files

Definition at line 103 of file TrigCaloDataAccessConfig.py.

◆ flags

TrigCaloDataAccessConfig.flags

Definition at line 102 of file TrigCaloDataAccessConfig.py.

◆ GlobalTag

TrigCaloDataAccessConfig.GlobalTag

Definition at line 105 of file TrigCaloDataAccessConfig.py.

◆ isMC

TrigCaloDataAccessConfig.isMC

Definition at line 106 of file TrigCaloDataAccessConfig.py.

◆ mon

TrigCaloDataAccessConfig.mon

Definition at line 122 of file TrigCaloDataAccessConfig.py.

◆ MonTool

TrigCaloDataAccessConfig.MonTool

Definition at line 142 of file TrigCaloDataAccessConfig.py.

◆ path

TrigCaloDataAccessConfig.path

Definition at line 124 of file TrigCaloDataAccessConfig.py.

◆ pi

TrigCaloDataAccessConfig.pi

Definition at line 140 of file TrigCaloDataAccessConfig.py.

◆ sc

TrigCaloDataAccessConfig.sc

Definition at line 148 of file TrigCaloDataAccessConfig.py.

◆ testAlg

TrigCaloDataAccessConfig.testAlg

Definition at line 144 of file TrigCaloDataAccessConfig.py.

◆ title

TrigCaloDataAccessConfig.title

Definition at line 125 of file TrigCaloDataAccessConfig.py.

◆ type

TrigCaloDataAccessConfig.type

Definition at line 136 of file TrigCaloDataAccessConfig.py.

◆ xbins

TrigCaloDataAccessConfig.xbins

Definition at line 126 of file TrigCaloDataAccessConfig.py.

◆ xmax

TrigCaloDataAccessConfig.xmax

Definition at line 126 of file TrigCaloDataAccessConfig.py.

◆ xmin

TrigCaloDataAccessConfig.xmin

Definition at line 126 of file TrigCaloDataAccessConfig.py.

◆ ybins

TrigCaloDataAccessConfig.ybins

Definition at line 140 of file TrigCaloDataAccessConfig.py.

◆ ymax

TrigCaloDataAccessConfig.ymax

Definition at line 140 of file TrigCaloDataAccessConfig.py.

◆ ymin

TrigCaloDataAccessConfig.ymin

Definition at line 140 of file TrigCaloDataAccessConfig.py.

TrigCaloDataAccessConfig.CaloOffsetCorrectionCfg
def CaloOffsetCorrectionCfg(flags)
Definition: TrigCaloDataAccessConfig.py:21
python.LuminosityCondAlgConfig.LuminosityCondAlgCfg
def LuminosityCondAlgCfg(flags, useOnlineLumi=None, suffix=None)
Definition: LuminosityCondAlgConfig.py:17
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.CaloBCIDAvgAlgConfig.CaloBCIDAvgAlgCfg
def CaloBCIDAvgAlgCfg(flags, **kwargs)
Definition: CaloBCIDAvgAlgConfig.py:11
RegSelToolConfig.regSelTool_TILE_Cfg
def regSelTool_TILE_Cfg(flags)
Definition: RegSelToolConfig.py:249
RegSelToolConfig.regSelTool_FCALHAD_Cfg
def regSelTool_FCALHAD_Cfg(flags)
Definition: RegSelToolConfig.py:237
python.LArRecUtilsConfig.LArMCSymCondAlgCfg
def LArMCSymCondAlgCfg(flags, name="LArMCSymCondAlg", **kwargs)
Definition: LArRecUtilsConfig.py:12
python.LArBadChannelConfig.LArBadChannelCfg
def LArBadChannelCfg(configFlags, tag=None, isSC=False)
Definition: LArBadChannelConfig.py:8
GenericMonitoringTool
Definition: GenericMonitoringTool.h:53
LArCablingConfig.LArFebRodMappingCfg
def LArFebRodMappingCfg(configFlags)
Definition: LArCablingConfig.py:80
python.LArBadChannelConfig.LArBadFebCfg
def LArBadFebCfg(configFlags, tag=None)
Definition: LArBadChannelConfig.py:45
RegSelToolConfig.regSelTool_FCALEM_Cfg
def regSelTool_FCALEM_Cfg(flags)
Definition: RegSelToolConfig.py:225
python.JetAnalysisCommon.parOR
parOR
Definition: JetAnalysisCommon.py:271
python.TileBadChannelsConfig.TileBadChannelsCondAlgCfg
def TileBadChannelsCondAlgCfg(flags, **kwargs)
Definition: TileBadChannelsConfig.py:10
TrigCaloDataAccessConfig.trigCaloDataAccessSvcCfg
def trigCaloDataAccessSvcCfg(flags)
Definition: TrigCaloDataAccessConfig.py:40
RegSelToolConfig.regSelTool_TTHEC_Cfg
def regSelTool_TTHEC_Cfg(flags)
Definition: RegSelToolConfig.py:213
LArCablingConfig.LArOnOffIdMappingCfg
def LArOnOffIdMappingCfg(configFlags)
Definition: LArCablingConfig.py:62
LArGMConfig.LArGMCfg
def LArGMCfg(flags)
Definition: LArGMConfig.py:8
python.TileEMScaleConfig.TileEMScaleCondAlgCfg
def TileEMScaleCondAlgCfg(flags, **kwargs)
Definition: TileEMScaleConfig.py:10
TileHid2RESrcIDConfig.TileHid2RESrcIDCondAlgCfg
def TileHid2RESrcIDCondAlgCfg(flags, source='COOL', **kwargs)
Definition: TileHid2RESrcIDConfig.py:24
python.LArRecUtilsConfig.LArRoIMapCondAlgCfg
def LArRoIMapCondAlgCfg(flags, name='LArRoIMapCondAlg', **kwargs)
Definition: LArRecUtilsConfig.py:158
TileGMConfig.TileGMCfg
def TileGMCfg(flags)
Definition: TileGMConfig.py:7
RegSelToolConfig.regSelTool_TTEM_Cfg
def regSelTool_TTEM_Cfg(flags)
Definition: RegSelToolConfig.py:201