ATLAS Offline Software
L1CaloPprDisabledChannelContainerRun2.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 #include "CoralBase/AttributeListSpecification.h"
10 
13 
14 #include <string>
15 #include <iostream>
16 
17 
19  : AbstractL1CaloPersistentCondition("CondAttrListCollection") {
20 
21  m_coolFoldersKeysMap[L1CaloPprDisabledChannelContainer::ePpmDeadChannels] = std::string("/TRIGGER/L1Calo/V1/Calibration/PpmDeadChannels");
22  m_coolFoldersKeysMap[L1CaloPprDisabledChannelContainer::ePprChanCalib] = std::string("/TRIGGER/L1Calo/V2/Calibration/Physics/PprChanCalib");
23  m_coolFoldersKeysMap[L1CaloPprDisabledChannelContainer::eDisabledTowers] = std::string("/TRIGGER/L1Calo/V1/Conditions/DisabledTowers");
24 }
25 
26 L1CaloPprDisabledChannelContainerRun2::L1CaloPprDisabledChannelContainerRun2(const std::map<L1CaloPprDisabledChannelContainerRun2::eCoolFolders, std::string>& folderKeysMap)
27  : AbstractL1CaloPersistentCondition("CondAttrListCollection")
28  , m_coolFoldersKeysMap(folderKeysMap)
29 {
30 }
31 
33 
34  std::map<L1CaloPprDisabledChannelContainerRun2::eCoolFolders, std::string>::const_iterator it = m_coolFoldersKeysMap.find(efolder);
35  if(it!=m_coolFoldersKeysMap.end()) {
36  return it->second;
37  } else {
38  return std::string("");
39  }
40 }
41 
42 std::vector<std::string> L1CaloPprDisabledChannelContainerRun2::coolInputKeys() const {
43  std::vector<std::string> v;
47  return v;
48 }
49 
51  return std::string("");
52 }
53 
L1CaloPprDisabledChannelContainerRun2.h
L1CaloPprDisabledChannelContainerRun2::L1CaloPprDisabledChannelContainerRun2
L1CaloPprDisabledChannelContainerRun2()
Definition: L1CaloPprDisabledChannelContainerRun2.cxx:18
CondAttrListCollection.h
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
skel.it
it
Definition: skel.GENtoEVGEN.py:396
AthenaAttributeList.h
L1CaloPprDisabledChannelContainerRun2::coolInputKeys
virtual std::vector< std::string > coolInputKeys() const
Definition: L1CaloPprDisabledChannelContainerRun2.cxx:42
L1CaloPprDisabledChannelContainerRun2::eCoolFolders
eCoolFolders
Definition: L1CaloPprDisabledChannelContainer.h:33
L1CaloPprDisabledChannelContainer::ePprChanCalib
@ ePprChanCalib
Definition: L1CaloPprDisabledChannelContainer.h:33
L1CaloPprDisabledChannelContainer::ePpmDeadChannels
@ ePpmDeadChannels
Definition: L1CaloPprDisabledChannelContainer.h:33
ChanDeadErrorCode.h
L1CaloPprDisabledChannelContainerRun2::m_coolFoldersKeysMap
std::map< L1CaloPprDisabledChannelContainerRun2::eCoolFolders, std::string > m_coolFoldersKeysMap
Definition: L1CaloPprDisabledChannelContainerRun2.h:58
python.PyAthena.v
v
Definition: PyAthena.py:154
L1CaloPprDisabledChannelContainer::eDisabledTowers
@ eDisabledTowers
Definition: L1CaloPprDisabledChannelContainer.h:33
L1CaloPprDisabledChannelContainerRun2::coolOutputKey
virtual std::string coolOutputKey() const
Definition: L1CaloPprDisabledChannelContainerRun2.cxx:50
L1CaloPprDisabledChannelContainerRun2::coolFolderKey
std::string coolFolderKey(L1CaloPprDisabledChannelContainer::eCoolFolders efolder) const
Definition: L1CaloPprDisabledChannelContainerRun2.cxx:32
ChanCalibErrorCode.h
AbstractL1CaloPersistentCondition
AbstractL1CaloConditionContainer abstract base class for L1Calo persistent conditions container objec...
Definition: AbstractL1CaloPersistentCondition.h:22