ATLAS Offline Software
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 
10 #include "AthenaKernel/CLASS_DEF.h"
11 
12 #include "GaudiKernel/DataObject.h"
15 
16 
17 
18 #include <map>
19 #include <string>
20 #include <vector>
21 
33 
34 private:
43 
44 public:
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;
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 
75 private:
77 
78  typedef std::vector<L1CaloPprConditionsRun2*> L1CaloPprConditionsVec;
80 
81  std::map<L1CaloPprConditionsContainerRun2::eCoolFolders, std::string> m_coolFoldersKeysMap;
82 
83  int m_bcidDecision1 = 0;
84  int m_satOverride1 = 0;
85  int m_bcidDecision2 = 0;
86  int m_satOverride2 = 0;
87  int m_bcidDecision3 = 0;
88  int m_satOverride3 = 0;
91 
92  static const unsigned int s_vectorSize = 8192;
93 };
94 
95 #include "AthenaKernel/CondCont.h"
97 #endif
L1CaloPprConditionsContainerRun2::satOverride3
int satOverride3() const
Definition: L1CaloPprConditionsContainerRun2.h:64
L1CaloPprConditionsContainerRun2
Container of L1CaloPprConditions objects, inherit from the abstract base class AbstractL1CaloConditio...
Definition: L1CaloPprConditionsContainerRun2.h:32
L1CaloPprConditionsContainerRun2::eDecisionSource
@ eDecisionSource
Definition: L1CaloPprConditionsContainerRun2.h:38
L1CaloPprConditionsContainerRun2::eLutJepPar1
@ eLutJepPar1
Definition: L1CaloPprConditionsContainerRun2.h:42
L1CaloPprConditionsContainerRun2::eLutCpPar3
@ eLutCpPar3
Definition: L1CaloPprConditionsContainerRun2.h:41
L1CaloPprConditionsContainerRun2::m_bcidDecision1
int m_bcidDecision1
Definition: L1CaloPprConditionsContainerRun2.h:83
L1CaloPprConditionsContainerRun2::m_bcidDecision3
int m_bcidDecision3
Definition: L1CaloPprConditionsContainerRun2.h:87
L1CaloPprConditionsContainerRun2::eFirCoeff5
@ eFirCoeff5
Definition: L1CaloPprConditionsContainerRun2.h:39
CondCont.h
Hold mappings of ranges to condition objects.
L1CaloPprConditionsContainerRun2::peakFinderCond
int peakFinderCond() const
Definition: L1CaloPprConditionsContainerRun2.h:65
L1CaloPprConditionsContainerRun2::ePedValue
@ ePedValue
Definition: L1CaloPprConditionsContainerRun2.h:40
L1CaloPprConditionsContainerRun2::m_decisionSource
int m_decisionSource
Definition: L1CaloPprConditionsContainerRun2.h:90
L1CaloPprConditionsContainerRun2::eSatOverride1
@ eSatOverride1
Definition: L1CaloPprConditionsContainerRun2.h:37
L1CaloPprConditionsContainerRun2::eBcidEnergyRangeHigh
@ eBcidEnergyRangeHigh
Definition: L1CaloPprConditionsContainerRun2.h:36
L1CaloPprConditionsContainerRun2::ePprChanDefaults
@ ePprChanDefaults
Definition: L1CaloPprConditionsContainerRun2.h:45
L1CaloPprConditionsContainerRun2::coolOutputKey
virtual std::string coolOutputKey() const
Definition: L1CaloPprConditionsContainerRun2.cxx:170
L1CaloPprConditionsContainerRun2::eExtBcidThreshold
@ eExtBcidThreshold
Definition: L1CaloPprConditionsContainerRun2.h:35
L1CaloPprConditionsContainerRun2::m_peakFinderCond
int m_peakFinderCond
Definition: L1CaloPprConditionsContainerRun2.h:89
L1CaloPprConditionsContainerRun2::m_pprConditionsVec
L1CaloPprConditionsVec m_pprConditionsVec
Definition: L1CaloPprConditionsContainerRun2.h:79
L1CaloPprConditionsContainerRun2::eLutJepNoiseCut
@ eLutJepNoiseCut
Definition: L1CaloPprConditionsContainerRun2.h:42
L1CaloPprConditionsContainerRun2::eLutJepStrategy
@ eLutJepStrategy
Definition: L1CaloPprConditionsContainerRun2.h:42
L1CaloPprConditionsContainerRun2::eFirCoeff3
@ eFirCoeff3
Definition: L1CaloPprConditionsContainerRun2.h:39
L1CaloPprConditionsContainerRun2::s_vectorSize
static const unsigned int s_vectorSize
Definition: L1CaloPprConditionsContainerRun2.h:92
L1CaloPprConditionsContainerRun2::eLutJepScale
@ eLutJepScale
Definition: L1CaloPprConditionsContainerRun2.h:42
L1CaloPprConditionsContainerRun2::eLutCpNoiseCut
@ eLutCpNoiseCut
Definition: L1CaloPprConditionsContainerRun2.h:41
L1CaloPprConditionsContainerRun2::L1CaloPprConditionsContainerRun2
L1CaloPprConditionsContainerRun2()
Definition: L1CaloPprConditionsContainerRun2.cxx:17
L1CaloPprConditionsContainerRun2::bcidDecision1
int bcidDecision1() const
Definition: L1CaloPprConditionsContainerRun2.h:59
L1CaloPprConditionsContainerRun2::eLutJepPar3
@ eLutJepPar3
Definition: L1CaloPprConditionsContainerRun2.h:42
L1CaloPprConditionsContainerRun2::eBcidDecision3
@ eBcidDecision3
Definition: L1CaloPprConditionsContainerRun2.h:37
AbstractL1CaloPersistentCondition.h
L1CaloPprConditionsContainerRun2::bcidDecision3
int bcidDecision3() const
Definition: L1CaloPprConditionsContainerRun2.h:63
L1CaloPprConditionsContainerRun2::eLutCpPar4
@ eLutCpPar4
Definition: L1CaloPprConditionsContainerRun2.h:41
L1CaloPprConditionsContainerRun2::eLutCpPar1
@ eLutCpPar1
Definition: L1CaloPprConditionsContainerRun2.h:41
L1CaloPprConditionsContainerRun2::coolInputKeys
virtual std::vector< std::string > coolInputKeys() const
Definition: L1CaloPprConditionsContainerRun2.cxx:151
L1CaloPprConditionsContainerRun2::eFirStartBit
@ eFirStartBit
Definition: L1CaloPprConditionsContainerRun2.h:36
CONDCONT_DEF
CONDCONT_DEF(L1CaloPprConditionsContainerRun2, 1225320220)
L1CaloPprConditionsContainerRun2::eSatBcidThreshLow
@ eSatBcidThreshLow
Definition: L1CaloPprConditionsContainerRun2.h:35
L1CaloPprConditionsContainerRun2::ePedFirSum
@ ePedFirSum
Definition: L1CaloPprConditionsContainerRun2.h:40
L1CaloPprConditionsContainerRun2::eSatBcidThreshHigh
@ eSatBcidThreshHigh
Definition: L1CaloPprConditionsContainerRun2.h:35
L1CaloPprConditionsContainerRun2::m_coolFoldersKeysMap
std::map< L1CaloPprConditionsContainerRun2::eCoolFolders, std::string > m_coolFoldersKeysMap
Definition: L1CaloPprConditionsContainerRun2.h:81
L1CaloPprConditionsContainerRun2::eFirCoeff4
@ eFirCoeff4
Definition: L1CaloPprConditionsContainerRun2.h:39
L1CaloPprConditionsContainerRun2::bcidDecision2
int bcidDecision2() const
Definition: L1CaloPprConditionsContainerRun2.h:61
L1CaloPprConditionsContainerRun2::eSatBcidLevel
@ eSatBcidLevel
Definition: L1CaloPprConditionsContainerRun2.h:35
L1CaloPprConditionsContainerRun2::eLutCpSlope
@ eLutCpSlope
Definition: L1CaloPprConditionsContainerRun2.h:41
L1CaloPprConditionsContainerRun2::eLutCpScale
@ eLutCpScale
Definition: L1CaloPprConditionsContainerRun2.h:41
L1CaloPprConditionsContainerRun2::eFirCoeff1
@ eFirCoeff1
Definition: L1CaloPprConditionsContainerRun2.h:39
L1CaloPprConditionsContainerRun2::coolFolderKey
std::string coolFolderKey(L1CaloPprConditionsContainerRun2::eCoolFolders efolder) const
Definition: L1CaloPprConditionsContainerRun2.cxx:141
L1CaloPprConditionsContainerRun2::satOverride1
int satOverride1() const
Definition: L1CaloPprConditionsContainerRun2.h:60
L1CaloPprConditionsContainerRun2::decisionSource
int decisionSource() const
Definition: L1CaloPprConditionsContainerRun2.h:66
L1CaloPprConditionsContainerRun2::m_satOverride1
int m_satOverride1
Definition: L1CaloPprConditionsContainerRun2.h:84
L1CaloPprConditionsContainerRun2::clear
virtual void clear()
Definition: L1CaloPprConditionsContainerRun2.cxx:523
L1CaloPprConditionsContainerRun2::ePprChanCalib
@ ePprChanCalib
Definition: L1CaloPprConditionsContainerRun2.h:45
CaloCondBlobAlgs_fillNoiseFromASCII.channelId
channelId
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:122
L1CaloPprConditionsContainerRun2::eLutCpPar2
@ eLutCpPar2
Definition: L1CaloPprConditionsContainerRun2.h:41
L1CaloPprConditionsContainerRun2::ePeakFinderCond
@ ePeakFinderCond
Definition: L1CaloPprConditionsContainerRun2.h:38
L1CaloPprConditionsContainerRun2::eBcidDecision2
@ eBcidDecision2
Definition: L1CaloPprConditionsContainerRun2.h:37
L1CaloPprConditionsContainerRun2::pprConditions
const L1CaloPprConditionsRun2 * pprConditions(unsigned int channelId) const
Definition: L1CaloPprConditionsContainerRun2.cxx:492
L1CaloPprConditionsContainerRun2::L1CaloPprConditionsVec
std::vector< L1CaloPprConditionsRun2 * > L1CaloPprConditionsVec
Definition: L1CaloPprConditionsContainerRun2.h:78
L1CaloPprConditionsContainerRun2::ePedMean
@ ePedMean
Definition: L1CaloPprConditionsContainerRun2.h:40
AbstractL1CaloPersistentCondition::makeTransient
virtual void makeTransient(const std::map< std::string, const CondAttrListCollection * > &condAttrListCollectionMap)
Definition: AbstractL1CaloPersistentCondition.cxx:16
L1CaloPprConditionsContainerRun2::satOverride2
int satOverride2() const
Definition: L1CaloPprConditionsContainerRun2.h:62
L1CaloPprConditionsContainerRun2::m_bcidDecision2
int m_bcidDecision2
Definition: L1CaloPprConditionsContainerRun2.h:85
L1CaloPprConditionsContainerRun2::m_satOverride2
int m_satOverride2
Definition: L1CaloPprConditionsContainerRun2.h:86
L1CaloPprConditionsContainerRun2::eSatOverride3
@ eSatOverride3
Definition: L1CaloPprConditionsContainerRun2.h:37
L1CaloCoolChannelId
Definition: L1CaloCoolChannelId.h:10
L1CaloPprConditionsContainerRun2::makePersistent
virtual DataObject * makePersistent() const
Definition: L1CaloPprConditionsContainerRun2.cxx:174
L1CaloPprConditionsContainerRun2::eFirCoeff2
@ eFirCoeff2
Definition: L1CaloPprConditionsContainerRun2.h:39
L1CaloPprConditionsContainerRun2::eLutJepPar2
@ eLutJepPar2
Definition: L1CaloPprConditionsContainerRun2.h:42
L1CaloPprConditionsContainerRun2::eBcidDecision1
@ eBcidDecision1
Definition: L1CaloPprConditionsContainerRun2.h:37
L1CaloPprConditionsContainerRun2::ePprChanCalibStrategy
@ ePprChanCalibStrategy
Definition: L1CaloPprConditionsContainerRun2.h:45
L1CaloPprConditionsContainerRun2::eCoolFolders
eCoolFolders
Definition: L1CaloPprConditionsContainerRun2.h:45
L1CaloPprConditionsContainerRun2::eSatOverride2
@ eSatOverride2
Definition: L1CaloPprConditionsContainerRun2.h:37
L1CaloPprConditionsContainerRun2::eLutJepOffset
@ eLutJepOffset
Definition: L1CaloPprConditionsContainerRun2.h:42
L1CaloPprConditionsContainerRun2::eLutJepSlope
@ eLutJepSlope
Definition: L1CaloPprConditionsContainerRun2.h:42
L1CaloPprConditionsContainerRun2::m_satOverride3
int m_satOverride3
Definition: L1CaloPprConditionsContainerRun2.h:88
L1CaloPprConditionsRun2
Transient conditions class for objects defined by the online framework and retrieved from COOL for th...
Definition: L1CaloPprConditionsRun2.h:21
L1CaloPprConditionsContainerRun2::~L1CaloPprConditionsContainerRun2
virtual ~L1CaloPprConditionsContainerRun2()
Definition: L1CaloPprConditionsContainerRun2.cxx:137
L1CaloPprConditionsContainerRun2::eLutCpOffset
@ eLutCpOffset
Definition: L1CaloPprConditionsContainerRun2.h:41
L1CaloPprConditionsContainerRun2::eAttrSpecification
eAttrSpecification
Definition: L1CaloPprConditionsContainerRun2.h:35
L1CaloPprConditionsContainerRun2::eLutJepPar4
@ eLutJepPar4
Definition: L1CaloPprConditionsContainerRun2.h:42
L1CaloPprConditionsContainerRun2::ePprChanCalibCommon
@ ePprChanCalibCommon
Definition: L1CaloPprConditionsContainerRun2.h:45
CLASS_DEF.h
macros to associate a CLID to a type
AbstractL1CaloPersistentCondition
AbstractL1CaloConditionContainer abstract base class for L1Calo persistent conditions container objec...
Definition: AbstractL1CaloPersistentCondition.h:22
L1CaloPprConditionsContainerRun2::eBcidEnergyRangeLow
@ eBcidEnergyRangeLow
Definition: L1CaloPprConditionsContainerRun2.h:35
L1CaloPprConditionsContainerRun2::eLutCpStrategy
@ eLutCpStrategy
Definition: L1CaloPprConditionsContainerRun2.h:41
L1CaloPprConditionsRun2.h
L1CaloPprConditionsContainerRun2::makeTransient
virtual void makeTransient(const std::map< std::string, const CondAttrListCollection * > &condAttrListCollectionMap)
Definition: L1CaloPprConditionsContainerRun2.cxx:179
L1CaloPprConditionsContainerRun2::dump
void dump() const
Definition: L1CaloPprConditionsContainerRun2.cxx:508