ATLAS Offline Software
Loading...
Searching...
No Matches
L1CaloPprConditionsContainerRun2.h
Go to the documentation of this file.
1// -*- C++ -*-
2
3/*
4 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
5*/
6
7#ifndef TRIGT1CALOCALIBCONDITIONS_L1CALOPPRCONDITIONSCONTAINERRUN2_H
8#define TRIGT1CALOCALIBCONDITIONS_L1CALOPPRCONDITIONSCONTAINERRUN2_H
9
11
12#include "GaudiKernel/DataObject.h"
15
16
17
18#include <map>
19#include <string>
20#include <vector>
21
33
34private:
43
44public:
46
48 L1CaloPprConditionsContainerRun2(const std::map<L1CaloPprConditionsContainerRun2::eCoolFolders, std::string>& folderKeysMap);
50
51 // IL1CaloPersistenceCapable interface
52 virtual DataObject* makePersistent() const;
53 using AbstractL1CaloPersistentCondition::makeTransient; // to unhide the default implementation of makeTransient
54 virtual void makeTransient(const std::map<std::string, const CondAttrListCollection*>& condAttrListCollectionMap);
55
56 const L1CaloPprConditionsRun2* pprConditions(unsigned int channelId) const;
57 const L1CaloPprConditionsRun2* pprConditions(const L1CaloCoolChannelId& channelId) const;
58
59 inline int bcidDecision1() const { return m_bcidDecision1; }
60 inline int satOverride1() const { return m_satOverride1; }
61 inline int bcidDecision2() const { return m_bcidDecision2; }
62 inline int satOverride2() const { return m_satOverride2; }
63 inline int bcidDecision3() const { return m_bcidDecision3; }
64 inline int satOverride3() const { return m_satOverride3; }
65 inline int peakFinderCond() const { return m_peakFinderCond; }
66 inline int decisionSource() const { return m_decisionSource; }
67
68 virtual std::vector<std::string> coolInputKeys() const;
69 virtual std::string coolOutputKey() const;
70
71 virtual void clear();
72
73 void dump() const;
74
75private:
77
78 typedef std::vector<L1CaloPprConditionsRun2*> L1CaloPprConditionsVec;
80
81 std::map<L1CaloPprConditionsContainerRun2::eCoolFolders, std::string> m_coolFoldersKeysMap;
82
91
92 static const unsigned int s_vectorSize = 8192;
93};
94
97#endif
Hold mappings of ranges to condition objects.
#define CONDCONT_DEF(...)
Definition CondCont.h:1413
macros to associate a CLID to a type
virtual void makeTransient(const std::map< std::string, const CondAttrListCollection * > &condAttrListCollectionMap)
AbstractL1CaloPersistentCondition(const std::string &condType)
Encapsulates the ID of one channel of conditions data in COOL, ie the ID of a row in a table.
Container of L1CaloPprConditions objects, inherit from the abstract base class AbstractL1CaloConditio...
std::string coolFolderKey(L1CaloPprConditionsContainerRun2::eCoolFolders efolder) const
std::vector< L1CaloPprConditionsRun2 * > L1CaloPprConditionsVec
virtual void makeTransient(const std::map< std::string, const CondAttrListCollection * > &condAttrListCollectionMap)
const L1CaloPprConditionsRun2 * pprConditions(unsigned int channelId) const
std::map< L1CaloPprConditionsContainerRun2::eCoolFolders, std::string > m_coolFoldersKeysMap
virtual std::vector< std::string > coolInputKeys() const
Transient conditions class for objects defined by the online framework and retrieved from COOL for th...