ATLAS Offline Software
Functions
RecoPT_Phase1NewConfig Namespace Reference

Functions

def LArDTMonitoringConfig (flags, STREAM)
 
def LArSCvsRawChannelMonAlgCfg (flags, STREAM)
 

Function Documentation

◆ LArDTMonitoringConfig()

def RecoPT_Phase1NewConfig.LArDTMonitoringConfig (   flags,
  STREAM 
)

Definition at line 6 of file RecoPT_Phase1NewConfig.py.

6 def LArDTMonitoringConfig(flags,STREAM):
7 
9 
10  from LArGeoAlgsNV.LArGMConfig import LArGMCfg
11  acc.merge(LArGMCfg(flags))
12 
13  from LArCabling.LArCablingConfig import LArLATOMEMappingCfg
14  acc.merge(LArLATOMEMappingCfg(flags))
15 
16  LArRawSCDataReadingAlg=CompFactory.LArRawSCDataReadingAlg
17  acc.addEventAlgo(LArRawSCDataReadingAlg(LATOMEDecoder = CompFactory.LArLATOMEDecoder("LArLATOMEDecoder",ProtectSourceId = True)))
18 
19  from TileGeoModel.TileGMConfig import TileGMCfg
20  acc.merge(TileGMCfg(flags))
21  acc.addCondAlgo(CompFactory.CaloSuperCellAlignCondAlg('CaloSuperCellAlignCondAlg'))
22 
23  from LArBadChannelTool.LArBadChannelConfig import LArBadChannelCfg
24  acc.merge(LArBadChannelCfg(flags, isSC=True))
25 
26  larLATOMEBuilderAlg=CompFactory.LArLATOMEBuilderAlg("LArLATOMEBuilderAlg",LArDigitKey="SC", isADCBas=False)
27  acc.addEventAlgo(larLATOMEBuilderAlg)
28 
29  from AthenaCommon.Logging import logging
30  mlog = logging.getLogger( 'RecoPT_Phase1' )
31 
32  from LArConditionsCommon.LArRunFormat import getLArDTInfoForRun
33  mlog.info("Run number: "+str(flags.Input.RunNumbers[0]))
34 
35  #if 'PEB' in STREAM:
36  try:
37  runinfo=getLArDTInfoForRun(flags.Input.RunNumbers[0], connstring="COOLONL_LAR/CONDBR2")
38  streams=runinfo.streamTypes()
39  nsamples=int(runinfo.streamLengths()[0])
40  except Exception as e:
41  mlog.warning("Could not get DT run info")
42  mlog(e)
43  streams=[]
44  nsamples=32
45  #else:
46  # streams=["ADC","SelectedEnergy"]
47  # nsamples=2
48 
49 
50  from LArMonitoring.LArDigitalTriggMonAlg import LArDigitalTriggMonConfig
51  acc.merge(LArDigitalTriggMonConfig(flags, larLATOMEBuilderAlg, nsamples, streams))
52 
53  return acc
54 
55 
56 
57 

◆ LArSCvsRawChannelMonAlgCfg()

def RecoPT_Phase1NewConfig.LArSCvsRawChannelMonAlgCfg (   flags,
  STREAM 
)

Definition at line 58 of file RecoPT_Phase1NewConfig.py.

58 def LArSCvsRawChannelMonAlgCfg(flags,STREAM): # HERE stream doesn't do anything??
60  from LArBadChannelTool.LArBadChannelConfig import LArBadChannelCfg
61  acc.merge(LArBadChannelCfg(flags))
62  acc.merge(LArBadChannelCfg(flags,isSC=True))
63 
64  from LArByteStream.LArRawSCDataReadingConfig import LArRawSCDataReadingCfg
65  from LArCabling.LArCablingConfig import LArOnOffIdMappingCfg, LArOnOffIdMappingSCCfg
66 
67  acc.merge(LArOnOffIdMappingCfg(flags))
68  acc.merge(LArOnOffIdMappingSCCfg(flags))
69  acc.merge(LArRawSCDataReadingCfg(flags))
70 
71  from CaloRec.CaloBCIDAvgAlgConfig import CaloBCIDAvgAlgCfg
72  acc.merge(CaloBCIDAvgAlgCfg(flags))
73 
74  from TileGeoModel.TileGMConfig import TileGMCfg
75  acc.merge(TileGMCfg(flags))
76  acc.addCondAlgo(CompFactory.CaloSuperCellAlignCondAlg('CaloSuperCellAlignCondAlg'))
77 
78  from LArByteStream.LArRawDataReadingConfig import LArRawDataReadingCfg
79  acc.merge(LArRawDataReadingCfg(flags))
80 
81  if flags.Input.isMC is False and not flags.Common.isOnline:
82  from LumiBlockComps.LuminosityCondAlgConfig import LuminosityCondAlgCfg
83  acc.merge(LuminosityCondAlgCfg(flags))
84  from LumiBlockComps.LBDurationCondAlgConfig import LBDurationCondAlgCfg
85  acc.merge(LBDurationCondAlgCfg(flags))
86 
87 
88  from AthenaMonitoring.AthMonitorCfgHelper import AthMonitorCfgHelper
89  helper = AthMonitorCfgHelper(flags,'LArSuperCellMonAlgCfg')
90  from LArMonitoring.LArSCvsRawChannelMonAlg import LArSCvsRawChannelMonConfigCore
91  acc.merge(LArSCvsRawChannelMonConfigCore(helper, flags))
92 
93  return acc
python.LuminosityCondAlgConfig.LuminosityCondAlgCfg
def LuminosityCondAlgCfg(flags, useOnlineLumi=None, suffix=None)
Definition: LuminosityCondAlgConfig.py:17
LArCablingConfig.LArOnOffIdMappingSCCfg
def LArOnOffIdMappingSCCfg(configFlags)
Definition: LArCablingConfig.py:65
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.CaloBCIDAvgAlgConfig.CaloBCIDAvgAlgCfg
def CaloBCIDAvgAlgCfg(flags, **kwargs)
Definition: CaloBCIDAvgAlgConfig.py:11
CaloCellPos2Ntuple.int
int
Definition: CaloCellPos2Ntuple.py:24
python.LArBadChannelConfig.LArBadChannelCfg
def LArBadChannelCfg(configFlags, tag=None, isSC=False)
Definition: LArBadChannelConfig.py:8
python.LArRawSCDataReadingConfig.LArRawSCDataReadingCfg
def LArRawSCDataReadingCfg(configFlags, **kwargs)
Definition: LArRawSCDataReadingConfig.py:8
RecoPT_Phase1NewConfig.LArSCvsRawChannelMonAlgCfg
def LArSCvsRawChannelMonAlgCfg(flags, STREAM)
Definition: RecoPT_Phase1NewConfig.py:58
LArCablingConfig.LArLATOMEMappingCfg
def LArLATOMEMappingCfg(configFlags)
Definition: LArCablingConfig.py:95
LArDigitalTriggMonAlg.LArDigitalTriggMonConfig
def LArDigitalTriggMonConfig(flags, larLATOMEBuilderAlg, nsamples=32, streamTypes=[])
Definition: LArDigitalTriggMonAlg.py:30
python.InDetPriVxFinderConfig.mlog
mlog
Definition: InDetPriVxFinderConfig.py:134
python.LArRunFormat.getLArDTInfoForRun
def getLArDTInfoForRun(run, quiet=False, connstring="COOLONL_LAR/CONDBR2")
Definition: LArRunFormat.py:114
LArRunFormat
LArSCvsRawChannelConfig.LArSCvsRawChannelMonConfigCore
def LArSCvsRawChannelMonConfigCore(helper, flags, algname="LArSCvsRawChannelMon")
Definition: LArSCvsRawChannelConfig.py:38
python.LBDurationCondAlgConfig.LBDurationCondAlgCfg
def LBDurationCondAlgCfg(flags)
Definition: LBDurationCondAlgConfig.py:15
LArCablingConfig.LArOnOffIdMappingCfg
def LArOnOffIdMappingCfg(configFlags)
Definition: LArCablingConfig.py:62
LArGMConfig.LArGMCfg
def LArGMCfg(flags)
Definition: LArGMConfig.py:8
python.LArRawDataReadingConfig.LArRawDataReadingCfg
def LArRawDataReadingCfg(configFlags, **kwargs)
Definition: LArRawDataReadingConfig.py:10
str
Definition: BTagTrackIpAccessor.cxx:11
LArRawSCDataReadingAlg
Definition: LArRawSCDataReadingAlg.h:27
RecoPT_Phase1NewConfig.LArDTMonitoringConfig
def LArDTMonitoringConfig(flags, STREAM)
Definition: RecoPT_Phase1NewConfig.py:6
TileGMConfig.TileGMCfg
def TileGMCfg(flags)
Definition: TileGMConfig.py:7