ATLAS Offline Software
Loading...
Searching...
No Matches
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
26L1CaloPprDisabledChannelContainerRun2::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
49
51 return std::string("");
52}
53
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
AbstractL1CaloPersistentCondition(const std::string &condType)
std::string coolFolderKey(L1CaloPprDisabledChannelContainer::eCoolFolders efolder) const
std::map< L1CaloPprDisabledChannelContainerRun2::eCoolFolders, std::string > m_coolFoldersKeysMap
virtual std::vector< std::string > coolInputKeys() const