ATLAS Offline Software
Functions
python.CaloConditionsConfig Namespace Reference

Functions

def CaloTriggerTowerCfg (flags)
 
def LArTTCellMapCfg (flags)
 
def CaloTTIdMapCfg (flags)
 

Detailed Description

ComponentAccumulator configuration utilities for Calorimeter Conditions

Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration

Function Documentation

◆ CaloTriggerTowerCfg()

def python.CaloConditionsConfig.CaloTriggerTowerCfg (   flags)
Return ComponentAccumulator configured for Trigger Tower

Definition at line 8 of file CaloConditionsConfig.py.

8 def CaloTriggerTowerCfg(flags):
9  """Return ComponentAccumulator configured for Trigger Tower"""
10  # replaces CaloConditions_jobOptions.py
11  acc = ComponentAccumulator()
12  if flags.GeoModel.Layout != "ctbh8":
13  acc.merge(LArTTCellMapCfg(flags))
14  acc.merge(CaloTTIdMapCfg(flags))
15  return acc
16 

◆ CaloTTIdMapCfg()

def python.CaloConditionsConfig.CaloTTIdMapCfg (   flags)
Return ComponentAccumulator configured for Calo Trigger Tower

Definition at line 31 of file CaloConditionsConfig.py.

31 def CaloTTIdMapCfg(flags):
32  """Return ComponentAccumulator configured for Calo Trigger Tower"""
33  # replaces CaloTTIdMap_ATLAS_jobOptions.py
34  acc = ComponentAccumulator()
35  folders = ["CaloTTOnOffIdMapAtlas", "CaloTTOnAttrIdMapAtlas", "CaloTTPpmRxIdMapAtlas"]
36  for f in folders:
37  endf = "/Identifier/" + f
38  if flags.IOVDb.DatabaseInstance == 'OFLP200':
39  acc.merge(addFoldersSplitOnline(flags, "CALO", "/CALO" + endf, "/CALO/Ofl" + endf))
40  else:
41  acc.merge(addFolders(flags, "/CALO" + endf, "CALO"))
42  return acc
43 

◆ LArTTCellMapCfg()

def python.CaloConditionsConfig.LArTTCellMapCfg (   flags)
Return ComponentAccumulator configured for LAr Trigger Tower

Definition at line 17 of file CaloConditionsConfig.py.

17 def LArTTCellMapCfg(flags):
18  """Return ComponentAccumulator configured for LAr Trigger Tower"""
19  # replaces LArTTCellMap_ATLAS_jobOptions.py
20  folder = "/LAR/Identifier/LArTTCellMapAtlas" + flags.LAr.DBConnection
21  if flags.IOVDb.DatabaseInstance == 'OFLP200':
22  acc = addFoldersSplitOnline(flags, "LAR", folder, folder)
23  else:
24  acc = addFolders(flags, folder, "LAR")
25  # override not migrated
26  #DetDescr = flags.Global.DetDescrVersion
27  #if DetDescr.startswith("ATLAS-CSC-01") or DetDescr.startswith("ATLAS-DC"):
28  # conddb.addOverride("/LAR/Identifier/LArTTCellMapAtlas","LARIdentifierLArTTCellMapAtlas-DC3-02")
29  return acc
30 
python.CaloConditionsConfig.CaloTriggerTowerCfg
def CaloTriggerTowerCfg(flags)
Definition: CaloConditionsConfig.py:8
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.CaloConditionsConfig.LArTTCellMapCfg
def LArTTCellMapCfg(flags)
Definition: CaloConditionsConfig.py:17
python.IOVDbSvcConfig.addFolders
def addFolders(flags, folderStrings, detDb=None, className=None, extensible=False, tag=None, db=None, modifiers='')
Definition: IOVDbSvcConfig.py:72
python.IOVDbSvcConfig.addFoldersSplitOnline
def addFoldersSplitOnline(flags, detDb, onlineFolders, offlineFolders, className=None, extensible=False, addMCString='_OFL', splitMC=False, tag=None, forceDb=None, modifiers='')
Definition: IOVDbSvcConfig.py:153
python.CaloConditionsConfig.CaloTTIdMapCfg
def CaloTTIdMapCfg(flags)
Definition: CaloConditionsConfig.py:31