ATLAS Offline Software
ZdcOnlineRecMonitorConfig.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
2 
3 
8 
9 
10 # -------------------------------- IMPORT LIBRARIES --------------------------------
11 from AthenaConfiguration.ComponentFactory import CompFactory
12 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
13 from AthenaConfiguration.AllConfigFlags import initConfigFlags
14 
15 from ZdcRecConfig import ZdcGenericFlagSetting, ZdcStreamDependentFlagSetting
16 
17 from ZdcPhysRecConfig import FCalRecCfg, PhysStreamAdditionalFlagSetting
18 
19 import os
20 import ispy
21 
22 from AthenaCommon.Logging import logging
23 log = logging.getLogger("ZdcOnlineRecMonitorConfig")
24 
25 from AthenaCommon.Constants import DEBUG, INFO
26 
27 # -------------------------------- LOG LEVEL --------------------------------
29  # boolean that indicates if debug mode is on (False if environmental variable BOOL_DEBUG_MODE not set)
30  debugModeOn = (os.getenv("BOOL_DEBUG_MODE") == "True")
31 
32  if debugModeOn:
33  log.setLevel(DEBUG) # Set to DEBUG to see all messages
34  else:
35  log.setLevel(INFO) # Only print level info/above messages
36 
37  return debugModeOn
38 
39 # -------------------------------- PARTITION & ENVIRONMENT --------------------------------
41 
42  '''Set up the partition (object still exists but invalid if offline)
43  and finds the current environment (testbed / p1)
44  Returns:
45  partition: the partition object
46  isTestbed - boolean that indicates whether it's testbed or p1'''
47 
48  # -------------------------------- PARTITION --------------------------------
49 
50  # if environment variable TDAQ_PARTITION doesn't exist --> partition object exists but partition.isValid() is false
51  partition = ispy.IPCPartition("") if os.getenv("TDAQ_PARTITION") is None else ispy.IPCPartition(os.getenv("TDAQ_PARTITION"))
52 
53  # -------------------------------- Environment (Testbed / Point1) --------------------------------
54 
55  environmentString = os.getenv("ENVIORNMENT") # ENVIORNMENT defined after one sources setup_partition.sh
56 
57  if partition.isValid() and environmentString is None:
58  log.warning("Warning: Partition is valid but environmental variable ENVIORNMENT is not set!")
59  log.warning("Warning: In this case by default assumes environment is p1!")
60 
61  isTestbed = (environmentString == "TB")
62 
63  if partition.isValid():
64  log.info("Running Online with Partition: %s",partition.name())
65  else:
66  log.info("Partition %s not found. Running Offline - must provide input files!", partition.name())
67 
68  return partition, isTestbed
69 
70 # -------------------------------- Define global variables --------------------------------
71 
72 partition, isTestbed = PartitionAndEnvironmentConfig()
73 
74 # -------------------------------- CONFIGURATION FLAGS SETTING --------------------------------
76  '''Set additional configuration flags for online environment'''
77 
78  log.debug ('Setting additional flags for online environment')
79 
80  flags.Concurrency.NumThreads = 1
81  flags.Common.isOnline = True
82  flags.DQ.Environment = 'online'
83  flags.DQ.enableLumiAccess = False
84  flags.Common.useOnlineLumi = True
85  flags.DQ.doStreamAwareMon = False #try True
86  flags.DQ.FileKey = ""
87 
88  flags.IOVDb.GlobalTag='CONDBR2-HLTP-2025-02'
89  flags.Trigger.triggerConfig = 'DB'
90 
91  flags.LAr.doHVCorr = False
92  flags.InDet.useSctDCS = False
93  flags.InDet.useDCS = False
94 
95  flags.Output.doWriteESD = False
96  flags.Output.doWriteAOD = False
97 
98  if (partition.isValid() and partition.name() != 'ATLAS'): # running on testbed or at p1 in standalone partition: no trigger info
99  flags.DQ.useTrigger = False
100  flags.DQ.triggerDataAvailable = False
101 
102  # ------------------------------- turn off steering flags for online environment -------------------------------
103  _steeringFlags = ['HLT.doBjet', 'HLT.doBphys', 'HLT.doCalo', 'HLT.doEgamma', 'HLT.doGeneral', 'HLT.doInDet', 'HLT.doJet', 'HLT.doMET', 'HLT.doMinBias', 'HLT.doMuon', 'HLT.doTau', 'InDet.doAlignMon', 'InDet.doGlobalMon', 'InDet.doPerfMon', 'LVL1Calo.doValidation', 'Muon.doAlignMon', 'Muon.doCombinedMon', 'Muon.doPhysicsMon', 'Muon.doRawMon', 'Muon.doSegmentMon', 'Muon.doTrackMon', 'Muon.doTrkPhysMon', 'doAFPMon', 'doCTPMon', 'doCaloGlobalMon', 'doDataFlowMon', 'doEgammaMon', 'doGlobalMon', 'doHIMon', 'doHLTMon', 'doInDetMon', 'doJetInputsMon', 'doJetMon', 'doJetTagMon', 'doLArMon', 'doLVL1CaloMon', 'doLVL1InterfacesMon', 'doLucidMon', 'doMissingEtMon', 'doMuonMon', 'doPixelMon', 'doSCTMon', 'doTRTMon', 'doTauMon', 'doTileMon']
104 
105  for flag in _steeringFlags:
106  if flags.hasFlag('DQ.Steering.' + flag):
107  flags._set('DQ.Steering.' + flag, False)
108  else:
109  flags.addFlag('DQ.Steering.' + flag, False)
110 
111  # ------------------------------- turn off trigger flags for online environment -------------------------------
112  _triggerFlags = ['CostMonitoring.doCostMonitoring', 'CostMonitoring.monitorROBs', 'DecisionMakerValidation.Execute', 'Jet.fastbtagPFlow', 'Jet.fastbtagVertex', 'enableL1CaloPhase1', 'enableL1MuonPhase1', 'L1.doMuon', 'L1.doCalo', 'L1.doTopo', 'L1MuonSim.NSWVetoMode', 'L1MuonSim.doBIS78', 'L1MuonSim.doMMTrigger', 'L1MuonSim.doPadTrigger', 'doLVL1', 'doHLT', 'doCalo', 'doID', 'doMuon', 'doNavigationSlimming', 'enableL1CaloLegacy', 'endOfEventProcessing.Enabled', 'fastMenuGeneration', 'Online.BFieldAutoConfig']
113 
114  for flag in _triggerFlags:
115  if flags.hasFlag('Trigger.' + flag):
116  flags._set('Trigger.' + flag, False)
117  else:
118  flags.addFlag('Trigger.' + flag, False)
119 
120  # ------------------------------- turn off muon detector flags for online environment -------------------------------
121 
122  _detectorFlags = ['MDT', 'MM', 'Muon', 'RPC', 'TGC', 'sTGC']
123  for flag in _detectorFlags:
124  if flags.hasFlag('Detector.Enable' + flag):
125  flags._set('Detector.Enable' + flag, False)
126  else:
127  flags.addFlag('Detector.Enable' + flag, False)
128 
129  if flags.hasFlag('Detector.Geometry' + flag):
130  flags._set('Detector.Geometry' + flag, False)
131  else:
132  flags.addFlag('Detector.Geometry' + flag, False)
133 
134 
135 # -------------------------------- Online project name manual setting for testbed & injected pulse --------------------------------
137 
138  if isTestbed and os.getenv("ZDC_STREAM_NAME") == "ZDCInjCalib": # testbed & injected pulse: set run number from OKS variable
139  flags.Input.OverrideRunNumber = True
140  if os.getenv("RUN_NUMBER") is None:
141  log.warning("Running on testbed and on injected-pulse stream data, yet RUN_NUMBER is NOT set!")
142  log.warning("Setting to be 488824 by default.")
143  flags.Input.RunNumbers = [488824]
144  else:
145  flags.Input.RunNumbers = [int(os.getenv("RUN_NUMBER"))]
146 
147 # -------------------------------- Online project name manual setting for testbed --------------------------------
149  '''If running on testbed, manually set Input.ProjectName flag from the OKS variable ZDC_PROJECT_NAME processed as an environmental variable
150  If running at P1, check for project name and set to default if not properly set
151  Necessary since ZdcStreamDependentFlagSetting will throw ValueError is ProjectName is not set'''
152 
153  if isTestbed: # testbed: set project name from OKS variable
154  if os.getenv("ZDC_PROJECT_NAME") is None:
155  log.warning("Running on testbed, yet ZDC_PROJECT_NAME is NOT set!")
156  log.warning("Setting to be data_test by default.")
157  flags.Input.ProjectName = 'data_test'
158  else:
159  flags.Input.ProjectName = os.getenv("ZDC_PROJECT_NAME")
160  elif partition.isValid and not flags.Input.ProjectName: # project name is None or empty string
161  if partition.name() == 'ATLAS':
162  log.warning("Running in ATLAS partition, but ProjectName is NOT correctly set!")
163  log.warning("Setting to be data24_hi by default. Could cause issues.")
164  flags.Input.ProjectName = 'data24_hi'
165  else: # running at P1 in standalone partition
166  flags.Input.ProjectName = 'data_test'
167 
168 
169 # -------------------------------- Online trigger-stream flag manual setting --------------------------------
171  '''manually set Input.TriggerStream flag from the OKS variable ZDC_STREAM_NAME processed as an environmental variable
172  Should only be called in the online environment (do NOT overwrite the TriggerStream info from offline metadata)'''
173 
174  # Remark: autoConfigOnlineRecoFlags only fills run-parameter-dependent flags, not stream-specific ones --> manual setting needed
175  # Remark: stream and projectname-dependent flag settings, such as Detector.EnableZDC_RPD, are set in the function ZdcStreamDependentFlagSetting
176  # This function and ZdcOnlineProjectNameManualSetting make sure projectname and triggerstream are correctly set
177  # And must be called prior to calling ZdcStreamDependentFlagSetting
178 
179  # P1 and standalone partition
180  if (not isTestbed and partition.name() != 'ATLAS'):
181  flags.Input.TriggerStream = "calibration_DcmDummyProcessor"
182  else:
183  # either running in ATLAS - triggerstream tag not automatically set, but trigger info is available --> set tag manually
184  # or running on testbed - trigger info is NOT available, but triggerstream is needed to correctly configure reconstruction
185  if os.getenv("ZDC_STREAM_NAME") is None:
186  log.warning("Running on testbed or on p1 in ATLAS partition, yet ZDC_STREAM_NAME is NOT set!")
187  log.warning("Assuming stream to be ZdcCalib by default! Likely to cause issues.")
188  flags.Input.TriggerStream = "calibration_ZDCCalib"
189  elif os.getenv("ZDC_STREAM_NAME") == "ZDCCalib":
190  flags.Input.TriggerStream = "calibration_ZDCCalib"
191  elif os.getenv("ZDC_STREAM_NAME") == "ZDCLEDCalib":
192  flags.Input.TriggerStream = "calibration_ZDCLEDCalib"
193  elif os.getenv("ZDC_STREAM_NAME") == "ZDCInjCalib":
194  flags.Input.TriggerStream = "calibration_ZDCInjCalib"
195  elif os.getenv("ZDC_STREAM_NAME") == "MinBias":
196  flags.Input.TriggerStream = "physics_MinBias"
197  elif os.getenv("ZDC_STREAM_NAME") == "Standby":
198  flags.Input.TriggerStream = "physics_Standby"
199  elif os.getenv("ZDC_STREAM_NAME") == "UCC":
200  flags.Input.TriggerStream = "physics_UCC"
201  elif os.getenv("ZDC_STREAM_NAME") == "express":
202  flags.Input.TriggerStream = "express_express"
203 
204 
205 # -------------------------------- DATATYPE CONFIGURATION FOR ZDCSTANDALONE --------------------------------
207  if partition.name() == "zdcStandalone":
208  zdcStreamName = os.getenv("ZDC_STREAM_NAME","").lower()
209  if ("led" in zdcStreamName):
210  standaloneDataType = "led"
211  elif ("inj" in zdcStreamName):
212  standaloneDataType = "inj"
213  else:
214  log.warning("Warning: The partition is zdcStandalone but ZDC_STREAM_NAME, lowered, contains neither led nor inj!")
215  log.warning("Warning: ZDC_STREAM_NAME value: %s", zdcStreamName)
216  log.warning("Warning: Set default mode as inj")
217  standaloneDataType = "inj"
218 
219  if flags.hasFlag("runInjForStandaloneData"):
220  flags._set("runInjForStandaloneData", standaloneDataType)
221  else:
222  flags.addFlag("runInjForStandaloneData", standaloneDataType)
223 
224 
225 # -------------------------------- OUTPUTTING DEGUG MESSAGES --------------------------------
227  '''Prints debug messages (for now, always on)'''
228 
229  # Check environmental variables
230  log.debug ('check if the os environment configs are correctly set')
231  log.debug ('ZDC_RELEASE_NAME %s', os.getenv("ZDC_RELEASE"))
232  log.debug ('ENVIORNMENT %s', os.getenv("ENVIORNMENT"))
233  log.debug ('ZDC_KEY_COUNT %s', os.getenv("ZDC_KEY_COUNT"))
234  log.debug ('ZDC_KEY %s', os.getenv("ZDC_KEY"))
235  log.debug ('ZDC_ATHENA_JOB_NAME %s', os.getenv("ZDC_ATHENA_JOB_NAME"))
236  log.debug ('ZDC_STREAM_NAME %s', os.getenv("ZDC_STREAM_NAME"))
237  log.debug ('ZDC_STREAM_TYPE %s', os.getenv("ZDC_STREAM_TYPE"))
238 
239 
240 # -------------------------------- BYTE STREAM EMON INPUT SERVICE --------------------------------
241 
243  '''Configure byte-stream input service using environmental (OKS) variables'''
244 
245  acc = ComponentAccumulator()
246 
247  bytestreamConversion = CompFactory.ByteStreamCnvSvc()
248  acc.addService(bytestreamConversion, primary=True)
249 
250  from ByteStreamEmonSvc.EmonByteStreamConfig import EmonByteStreamCfg
251  acc.merge(EmonByteStreamCfg(flags)) # setup EmonSvc
252 
253  bsSvc = acc.getService("ByteStreamInputSvc")
254  bsSvc.Partition = partition.name()
255 
256  if isTestbed:
257  bsSvc.Key = "ReadoutApplication"
258  else:
259  bsSvc.Key = os.environ.get("ZDC_KEY", "dcm")
260  log.debug('the value being assigned to bssvc key is %s', os.environ.get("ZDC_KEY", "dcm"))
261 
262  log.info('final bssvc key: %s', bsSvc.Key)
263  bsSvc.KeyCount = int(os.environ.get("ZDC_KEY_COUNT","250"))
264  log.info('final bssvc keycount: %s', bsSvc.KeyCount)
265  bsSvc.BufferSize = 120 # event buffer size for each sampler
266  bsSvc.UpdatePeriod = 30 # time in seconds between updating plots
267  bsSvc.Timeout = 240000 # timeout (not sure what this does)
268  bsSvc.PublishName = os.getenv("ZDC_ATHENA_JOB_NAME","ZDC_Athena_monitor_test") # set name of this publisher as it will appear in IS
269  bsSvc.ExitOnPartitionShutdown = False
270  bsSvc.ClearHistograms = True # clear hists at start of new run
271  bsSvc.GroupName = "RecExOnline"
272  # stream specifies
273  bsSvc.StreamType = os.getenv("ZDC_STREAM_TYPE","physics") if isTestbed or partition.name() == "ATLAS" else "calibration" # if on testbed or at p1 in ATLAS partition: set the stream type from environmental (OKS) variables
274  bsSvc.StreamNames = os.getenv("ZDC_STREAM_NAME","ZDCCalib:ZDCLEDCalib:MinBias").split(":") if isTestbed or partition.name() == "ATLAS" else "ZDCLEDCalib".split(":") # name of the stream (Egamma,JetTauEtmiss,MinBias,Standby, etc.), this can be a colon(:) separated list of streams that use the 'streamLogic' to combine stream for 2016 HI run
275  bsSvc.StreamLogic = os.getenv("ZDC_STREAM_LOGIC","Or") if partition.name() == "ATLAS" else "Ignore"
276 
277  bsSvc.ISServer = "Histogramming" # IS server on which to create this provider
278  if os.getenv("ZDC_STREAM_NAME") == "MinBias" or os.getenv("ZDC_STREAM_NAME") == "Standby":
279  bsSvc.ISServer = 'Histogramming-ZDC-iss' # write out the gatherer hsitograms to the correct server
280 
281  log.info('the ISServer is: %s', bsSvc.ISServer)
282 
283  log.debug('Printing out for debugging at testing/developing stage')
284  log.debug('Testing if settings of these variables in ZDC athena segment OKS are correctly picked up by the python code')
285  log.debug('the stream type is: %s', bsSvc.StreamType)
286  log.debug('the stream names are: %s', bsSvc.StreamNames)
287  log.debug('the stream logic is: %s', bsSvc.StreamLogic)
288 
289  return acc
290 
291 
293  ZdcGenericFlagSetting(flags)
294 
295  # exit if running in offline mode and no input file is provided
296  if not partition.isValid() and len(flags.Input.Files)==0:
297  log.fatal("FATAL: Running in offline mode but no input files provided")
298  import sys
299  sys.exit(1)
300 
301  if partition.isValid(): # online-specific config flag settings
302  # online auto config flag settings
303  from AthenaConfiguration.AutoConfigOnlineRecoFlags import autoConfigOnlineRecoFlags
304  autoConfigOnlineRecoFlags(flags, partition.name()) # sets things like projectName etc which would otherwise be inferred from input file
305  log.info('the auto-configured globaltag is: %s', flags.IOVDb.GlobalTag)
306 
307  # additional online config flag settings
309  else: # offline
310  flags.Output.AODFileName="AOD.pool.root"
311  flags.Output.HISTFileName="HIST.root"
312  flags.Output.doWriteAOD=True
313 
314  # Manually set the Input.TriggerStream flag based on the environmental variable ZDC_STREAM_NAME
315  # Must preceed calling PhysStreamAdditionalFlagSetting and ZdcStreamDependentFlagSetting
316  if partition.isValid():
320 
322 
324 
325  # stream-dependent flag setting
326  isLED, isInj, isCalib, pn = ZdcStreamDependentFlagSetting(flags)
327 
328  from ZdcRec.ZdcRecConfig import SetConfigTag
329  config = SetConfigTag(flags)
330 
331  #decode HLT for when HLT trigger selections are needed (OO/pO/NeNe - adjust if needed)
332  flags.Trigger.decodeHLT = ('pO' in config or 'OO' in config) and flags.DQ.useTrigger and flags.Input.TriggerStream == 'physics_MinBias'
333 
334  return isLED, isInj, isCalib, pn, config
335 
336 
337 def RunZdcOnlineRecoCfg(flags, isLED, isInj, isCalib):
338  acc = ComponentAccumulator()
339 
340  if isLED:
341  from ZdcRec.ZdcRecConfig import ZdcLEDRecCfg
342  ZdcLEDRecAcc = ZdcLEDRecCfg(flags)
343  acc.merge(ZdcLEDRecAcc)
344  daqMode = 1 if partition.name() == 'zdcStandalone' else 2
345  ZdcLEDRecAcc.getEventAlgo('ZdcRecRun3').DAQMode = daqMode
346  log.info ('CHECK: The DAQ mode for the LED reconstruction is %s', ZdcLEDRecAcc.getEventAlgo('ZdcRecRun3').DAQMode)
347  if isCalib or isInj: # should be able to run both if in standalone data
348  from ZdcRec.ZdcRecConfig import ZdcRecCfg
349  ZdcRecAcc = ZdcRecCfg(flags)
350  acc.merge(ZdcRecAcc)
351 
352  return acc
353 
354 def RunZdcOnlineMonitorCfg(flags, isLED, isInj, isCalib):
355  acc = ComponentAccumulator()
356 
357  if not flags.Input.isMC:
358  if (isLED):
359  from ZdcMonitoring.ZdcLEDMonitorAlgorithm import ZdcLEDMonitoringConfig
360  zdcLEDMonitorAcc = ZdcLEDMonitoringConfig(flags,'ppPbPb2023')
361  acc.merge(zdcLEDMonitorAcc)
362 
363  if (isCalib or isInj):
364  from ZdcMonitoring.ZdcMonitorAlgorithm import ZdcMonitoringConfig
365  zdcMonitorAcc = ZdcMonitoringConfig(flags)
366  acc.merge(zdcMonitorAcc)
367 
368  return acc
369 
370 if __name__ == '__main__':
371 
372  debugModeOn = SetLogLevel()
373 
374  if partition.isValid():
376 
377  # -------------------------------- Configuration flag settings --------------------------------
378 
379  flags = initConfigFlags()
380 
381  isLED, isInj, isCalib, pn, config = ZdcOnlineRecoFlagSettings(flags)
382 
383  flags.lock()
384  flags.dump(evaluate=True) # testing stage - always dump: make sure settings are correct + geometry/steering/triggers/reconstruction/... of all other sub-detectors are turned off
385 
386  # -------------------------------- Configuring & Merging Byte Stream emon service --------------------------------
387 
388  from AthenaConfiguration.MainServicesConfig import MainServicesCfg
389  acc = MainServicesCfg(flags)
390 
391  # configuration byte stream emon service
392  if partition.isValid():
393  acc.merge(ZdcOnlineByteStreamCfg(flags))
394  else:
395  log.info("Running Offline on %d files", len(flags.Input.Files))
396 
397 
398  # -------------------------------- Adding Decoding, Reconstruction & Monitoring algorithms --------------------------------
399  # assuming isLED & isCalib are set correctly for both online & offline environment
400  # (online via configuration settings of isTestbed & stream type/name in OKS that this python scripts reads as environment input)
401  # add the algorithms as in ZdcRecConfig
402 
403  from GaudiSvc.GaudiSvcConf import THistSvc
404  THistSvc.OutputLevel = 5 #ERROR (we get a list of unnecessary warnings - turn the outputs off)
405 
406  from AtlasGeoModel.ForDetGeoModelConfig import ForDetGeometryCfg
407  acc.merge(ForDetGeometryCfg(flags))
408 
409  if flags.DQ.useTrigger: # unlike in offline config files, for turning on trigger reco, we rely on DQ.useTrigger to be properly set based on partition + environment
410  # to avoid (error-prone) duplication of decision
411  from TriggerJobOpts.TriggerRecoConfig import TriggerRecoCfgData
412  acc.merge(TriggerRecoCfgData(flags))
413 
414  acc.merge(RunZdcOnlineRecoCfg(flags, isLED, isInj, isCalib))
415 
416  if ("physics_" in flags.Input.TriggerStream or flags.Input.TriggerStream == "express_express"):
417  acc.merge(FCalRecCfg(flags))
418 
419  acc.merge(RunZdcOnlineMonitorCfg(flags, isLED, isInj, isCalib))
420 
421  acc.printConfig(withDetails=True)
422 
423  if debugModeOn:
424  acc.foreach_component("*Zdc*").OutputLevel=DEBUG
425  acc.foreach_component("*ZDC*").OutputLevel=DEBUG
426 
427  log.info("Configured Services: %s", ", ".join(svc.name for svc in acc.getServices()))
428  log.info("Configured EventAlgos: %s", ", ".join(alg.name for alg in acc.getEventAlgos()))
429  log.info("Configured CondAlgos: %s", ", ".join(alg.name for alg in acc.getCondAlgos()))
430 
431  if partition.isValid():
432  from IOVDbSvc.IOVDbSvcConfig import addOverride
433  acc.merge(addOverride(flags, "/TRT/Onl/Calib/PID_NN", "TRTCalibPID_NN_v2", db=""))
434 
435  acc.getService("PoolSvc").ReadCatalog += ["xmlcatalog_file:/det/dqm/GlobalMonitoring/PoolFileCatalog_M7/PoolFileCatalog.xml"]
436 
437  status = acc.run()
438  if status.isFailure():
439  import sys
440  sys.exit(-1)
441 
python.ZdcOnlineRecMonitorConfig.RunZdcOnlineMonitorCfg
def RunZdcOnlineMonitorCfg(flags, isLED, isInj, isCalib)
Definition: ZdcOnlineRecMonitorConfig.py:354
EmonByteStreamConfig.EmonByteStreamCfg
def EmonByteStreamCfg(flags, type_names=[])
Definition: EmonByteStreamConfig.py:12
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:342
python.ZdcOnlineRecMonitorConfig.ZdcStandaloneDataTypeSetting
def ZdcStandaloneDataTypeSetting(flags)
Definition: ZdcOnlineRecMonitorConfig.py:206
ZdcLEDMonitorAlgorithm.ZdcLEDMonitoringConfig
def ZdcLEDMonitoringConfig(inputFlags, run_type)
Definition: ZdcLEDMonitorAlgorithm.py:14
python.ZdcRecConfig.ZdcGenericFlagSetting
def ZdcGenericFlagSetting(flags)
Definition: ZdcRecConfig.py:158
python.ZdcOnlineRecMonitorConfig.SetLogLevel
def SetLogLevel()
Definition: ZdcOnlineRecMonitorConfig.py:28
python.ForDetGeoModelConfig.ForDetGeometryCfg
def ForDetGeometryCfg(flags)
Definition: ForDetGeoModelConfig.py:33
python.ZdcOnlineRecMonitorConfig.ZdcOnlineRecoFlagSettings
def ZdcOnlineRecoFlagSettings(flags)
Definition: ZdcOnlineRecMonitorConfig.py:292
python.TriggerRecoConfig.TriggerRecoCfgData
def TriggerRecoCfgData(flags)
Definition: TriggerRecoConfig.py:23
python.ZdcOnlineRecMonitorConfig.ZdcOnlineProjectNameManualSetting
def ZdcOnlineProjectNameManualSetting(flags)
Definition: ZdcOnlineRecMonitorConfig.py:148
python.ZdcRecConfig.ZdcRecCfg
def ZdcRecCfg(flags)
Definition: ZdcRecConfig.py:656
python.ZdcOnlineRecMonitorConfig.ZdcOnlineConfigFlagsSetting
def ZdcOnlineConfigFlagsSetting(flags)
Definition: ZdcOnlineRecMonitorConfig.py:75
python.ZdcOnlineRecMonitorConfig.ZdcOnlineTriggerStreamManualSetting
def ZdcOnlineTriggerStreamManualSetting(flags)
Definition: ZdcOnlineRecMonitorConfig.py:170
python.ZdcRecConfig.ZdcLEDRecCfg
def ZdcLEDRecCfg(flags)
Definition: ZdcRecConfig.py:609
python.MainServicesConfig.MainServicesCfg
def MainServicesCfg(flags, LoopMgr='AthenaEventLoopMgr')
Definition: MainServicesConfig.py:310
Constants
some useful constants -------------------------------------------------—
python.ZdcOnlineRecMonitorConfig.PartitionAndEnvironmentConfig
def PartitionAndEnvironmentConfig()
Definition: ZdcOnlineRecMonitorConfig.py:40
python.AutoConfigOnlineRecoFlags.autoConfigOnlineRecoFlags
def autoConfigOnlineRecoFlags(flags, partition=None)
Definition: AutoConfigOnlineRecoFlags.py:134
python.ZdcPhysRecConfig.FCalRecCfg
def FCalRecCfg(flags)
Definition: ZdcPhysRecConfig.py:28
TCS::join
std::string join(const std::vector< std::string > &v, const char c=',')
Definition: Trigger/TrigT1/L1Topo/L1TopoCommon/Root/StringUtils.cxx:10
python.ZdcPhysRecConfig.PhysStreamAdditionalFlagSetting
def PhysStreamAdditionalFlagSetting(flags)
Definition: ZdcPhysRecConfig.py:13
python.IOVDbSvcConfig.addOverride
def addOverride(flags, folder, tag, tagType="tag", db=None)
Definition: IOVDbSvcConfig.py:238
python.ZdcOnlineRecMonitorConfig.ZdcOnlineRunNumberManualSetting
def ZdcOnlineRunNumberManualSetting(flags)
Definition: ZdcOnlineRecMonitorConfig.py:136
python.ZdcRecConfig.ZdcStreamDependentFlagSetting
def ZdcStreamDependentFlagSetting(flags)
Definition: ZdcRecConfig.py:191
python.CaloAddPedShiftConfig.int
int
Definition: CaloAddPedShiftConfig.py:45
python.AllConfigFlags.initConfigFlags
def initConfigFlags()
Definition: AllConfigFlags.py:19
python.ZdcOnlineRecMonitorConfig.ZdcOnlineByteStreamCfg
def ZdcOnlineByteStreamCfg(flags)
Definition: ZdcOnlineRecMonitorConfig.py:242
python.ZdcOnlineRecMonitorConfig.RunZdcOnlineRecoCfg
def RunZdcOnlineRecoCfg(flags, isLED, isInj, isCalib)
Definition: ZdcOnlineRecMonitorConfig.py:337
ZdcMonitorAlgorithm.ZdcMonitoringConfig
def ZdcMonitoringConfig(inputFlags)
Definition: ZdcMonitorAlgorithm.py:83
python.ZdcRecConfig.SetConfigTag
def SetConfigTag(flags)
Definition: ZdcRecConfig.py:93
python.ZdcOnlineRecMonitorConfig.ZdcOnlinePrintDebugMsgs
def ZdcOnlinePrintDebugMsgs()
Definition: ZdcOnlineRecMonitorConfig.py:226
Trk::split
@ split
Definition: LayerMaterialProperties.h:38