ATLAS Offline Software
L1CaloPprConditionsContainer.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGT1CALOCALIBCONDITIONS_L1CALOPPRCONDITIONSCONTAINER_H
6 #define TRIGT1CALOCALIBCONDITIONS_L1CALOPPRCONDITIONSCONTAINER_H
7 
9 
10 #include "GaudiKernel/DataObject.h"
11 
15 #include <map>
16 #include <string>
17 #include <vector>
18 
29 
30 private:
36 
37 public:
39 
41  L1CaloPprConditionsContainer(const std::map<L1CaloPprConditionsContainer::eCoolFolders, std::string>& folderKeysMap);
43  virtual DataObject* makePersistent() const;
44 
45  // IL1CaloPersistenceCapable interface
46  using AbstractL1CaloPersistentCondition::makeTransient; // to unhide the default implementation of makeTransient
47  virtual void makeTransient(const std::map<std::string, const CondAttrListCollection*>& condAttrListCollectionMap);
48 
49  const L1CaloPprConditions* pprConditions(unsigned int channelId) const;
51 
52  inline unsigned int bcidDecision1() const { return m_bcidDecision1; }
53  inline unsigned int satOverride1() const { return m_satOverride1; }
54  inline unsigned int bcidDecision2() const { return m_bcidDecision2; }
55  inline unsigned int satOverride2() const { return m_satOverride2; }
56  inline unsigned int bcidDecision3() const { return m_bcidDecision3; }
57  inline unsigned int satOverride3() const { return m_satOverride3; }
58  inline unsigned int peakFinderCond() const { return m_peakFinderCond; }
59  inline unsigned int decisionSource() const { return m_decisionSource; }
60 
61  virtual std::vector<std::string> coolInputKeys() const;
62  virtual std::string coolOutputKey() const;
63 
64  virtual void clear();
65 
66  void dump() const;
67 
68 private:
69  typedef std::vector<L1CaloPprConditions*> L1CaloPprConditionsVec;
70 
72 
74  std::map<L1CaloPprConditionsContainer::eCoolFolders, std::string> m_mCoolFoldersKeysMap;
75 
76  unsigned int m_bcidDecision1;
77  unsigned int m_satOverride1;
78  unsigned int m_bcidDecision2;
79  unsigned int m_satOverride2;
80  unsigned int m_bcidDecision3;
81  unsigned int m_satOverride3;
82  unsigned int m_peakFinderCond;
83  unsigned int m_decisionSource;
84 
85  static const unsigned int s_vectorSize = 8192;
86 
87 };
88 
89 CLASS_DEF(L1CaloPprConditionsContainer , 1190452919 , 1 )
90 #endif
L1CaloPprConditionsContainer::m_satOverride1
unsigned int m_satOverride1
Definition: L1CaloPprConditionsContainer.h:77
L1CaloCoolChannelId.h
L1CaloPprConditionsContainer::eLutSlope
@ eLutSlope
Definition: L1CaloPprConditionsContainer.h:35
L1CaloPprConditionsContainer::m_satOverride2
unsigned int m_satOverride2
Definition: L1CaloPprConditionsContainer.h:79
L1CaloPprConditionsContainer::eLutStrategy
@ eLutStrategy
Definition: L1CaloPprConditionsContainer.h:35
L1CaloPprConditionsContainer::eBcidEnergyRangeHigh
@ eBcidEnergyRangeHigh
Definition: L1CaloPprConditionsContainer.h:32
L1CaloPprConditionsContainer::s_vectorSize
static const unsigned int s_vectorSize
Definition: L1CaloPprConditionsContainer.h:85
L1CaloPprConditionsContainer::satOverride1
unsigned int satOverride1() const
Definition: L1CaloPprConditionsContainer.h:53
L1CaloPprConditionsContainer::eFirCoeff1
@ eFirCoeff1
Definition: L1CaloPprConditionsContainer.h:34
L1CaloPprConditionsContainer::coolFolderKey
std::string coolFolderKey(L1CaloPprConditionsContainer::eCoolFolders efolder) const
Definition: L1CaloPprConditionsContainer.cxx:116
L1CaloPprConditionsContainer::dump
void dump() const
Definition: L1CaloPprConditionsContainer.cxx:231
L1CaloPprConditionsContainer::ePedValue
@ ePedValue
Definition: L1CaloPprConditionsContainer.h:35
L1CaloPprConditionsContainer::bcidDecision1
unsigned int bcidDecision1() const
Definition: L1CaloPprConditionsContainer.h:52
L1CaloPprConditionsContainer::coolOutputKey
virtual std::string coolOutputKey() const
Definition: L1CaloPprConditionsContainer.cxx:133
L1CaloPprConditionsContainer::ePeakFinderCond
@ ePeakFinderCond
Definition: L1CaloPprConditionsContainer.h:34
L1CaloPprConditionsContainer::m_bcidDecision3
unsigned int m_bcidDecision3
Definition: L1CaloPprConditionsContainer.h:80
L1CaloPprConditionsContainer::decisionSource
unsigned int decisionSource() const
Definition: L1CaloPprConditionsContainer.h:59
L1CaloPprConditionsContainer::eSatBcidLevel
@ eSatBcidLevel
Definition: L1CaloPprConditionsContainer.h:31
L1CaloPprConditionsContainer::pprConditions
const L1CaloPprConditions * pprConditions(unsigned int channelId) const
Definition: L1CaloPprConditionsContainer.cxx:220
L1CaloPprConditionsContainer::eAttrSpecification
eAttrSpecification
Definition: L1CaloPprConditionsContainer.h:31
L1CaloPprConditionsContainer::eLutOffset
@ eLutOffset
Definition: L1CaloPprConditionsContainer.h:35
L1CaloPprConditionsContainer::~L1CaloPprConditionsContainer
virtual ~L1CaloPprConditionsContainer()
Definition: L1CaloPprConditionsContainer.cxx:111
L1CaloPprConditionsContainer::eDecisionSource
@ eDecisionSource
Definition: L1CaloPprConditionsContainer.h:34
L1CaloPprConditionsContainer::m_mCoolFoldersKeysMap
std::map< L1CaloPprConditionsContainer::eCoolFolders, std::string > m_mCoolFoldersKeysMap
Definition: L1CaloPprConditionsContainer.h:74
L1CaloPprConditionsContainer::satOverride3
unsigned int satOverride3() const
Definition: L1CaloPprConditionsContainer.h:57
L1CaloPprConditionsContainer::ePedMean
@ ePedMean
Definition: L1CaloPprConditionsContainer.h:35
AbstractL1CaloPersistentCondition.h
L1CaloPprConditionsContainer::eFirCoeff2
@ eFirCoeff2
Definition: L1CaloPprConditionsContainer.h:34
L1CaloPprConditionsContainer::eBcidDecision1
@ eBcidDecision1
Definition: L1CaloPprConditionsContainer.h:33
L1CaloPprConditionsContainer::bcidDecision3
unsigned int bcidDecision3() const
Definition: L1CaloPprConditionsContainer.h:56
L1CaloPprConditionsContainer::eSatOverride2
@ eSatOverride2
Definition: L1CaloPprConditionsContainer.h:33
L1CaloPprConditionsContainer::eBcidDecision3
@ eBcidDecision3
Definition: L1CaloPprConditionsContainer.h:33
L1CaloPprConditionsContainer::L1CaloPprConditionsVec
std::vector< L1CaloPprConditions * > L1CaloPprConditionsVec
Definition: L1CaloPprConditionsContainer.h:69
L1CaloPprConditionsContainer::bcidDecision2
unsigned int bcidDecision2() const
Definition: L1CaloPprConditionsContainer.h:54
L1CaloPprConditionsContainer::eSatBcidThreshHigh
@ eSatBcidThreshHigh
Definition: L1CaloPprConditionsContainer.h:31
L1CaloPprConditionsContainer::clear
virtual void clear()
Definition: L1CaloPprConditionsContainer.cxx:247
L1CaloPprConditionsContainer::eFirCoeff3
@ eFirCoeff3
Definition: L1CaloPprConditionsContainer.h:34
L1CaloPprConditions.h
L1CaloPprConditionsContainer::peakFinderCond
unsigned int peakFinderCond() const
Definition: L1CaloPprConditionsContainer.h:58
L1CaloPprConditionsContainer::eBcidDecision2
@ eBcidDecision2
Definition: L1CaloPprConditionsContainer.h:33
L1CaloPprConditionsContainer::m_mPprConditionsVec
L1CaloPprConditionsVec m_mPprConditionsVec
Definition: L1CaloPprConditionsContainer.h:73
CaloCondBlobAlgs_fillNoiseFromASCII.channelId
channelId
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:122
L1CaloPprConditions
Transient conditions class for objects defined by the online framework and retrieved from COOL.
Definition: L1CaloPprConditions.h:23
L1CaloPprConditionsContainer::eSatBcidThreshLow
@ eSatBcidThreshLow
Definition: L1CaloPprConditionsContainer.h:31
L1CaloPprConditionsContainer::eLutNoiseCut
@ eLutNoiseCut
Definition: L1CaloPprConditionsContainer.h:35
L1CaloPprConditionsContainer::m_peakFinderCond
unsigned int m_peakFinderCond
Definition: L1CaloPprConditionsContainer.h:82
L1CaloPprConditionsContainer::m_bcidDecision2
unsigned int m_bcidDecision2
Definition: L1CaloPprConditionsContainer.h:78
AbstractL1CaloPersistentCondition::makeTransient
virtual void makeTransient(const std::map< std::string, const CondAttrListCollection * > &condAttrListCollectionMap)
Definition: AbstractL1CaloPersistentCondition.cxx:16
L1CaloCoolChannelId
Definition: L1CaloCoolChannelId.h:10
L1CaloPprConditionsContainer
Container of L1CaloPprConditions objects, inherit from the abstract base class AbstractL1CaloConditio...
Definition: L1CaloPprConditionsContainer.h:28
L1CaloPprConditionsContainer::eSatOverride3
@ eSatOverride3
Definition: L1CaloPprConditionsContainer.h:33
L1CaloPprConditionsContainer::makePersistent
virtual DataObject * makePersistent() const
Definition: L1CaloPprConditionsContainer.cxx:137
L1CaloPprConditionsContainer::eFirCoeff4
@ eFirCoeff4
Definition: L1CaloPprConditionsContainer.h:34
L1CaloPprConditionsContainer::eSatOverride1
@ eSatOverride1
Definition: L1CaloPprConditionsContainer.h:33
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition: Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
L1CaloPprConditionsContainer::makeTransient
virtual void makeTransient(const std::map< std::string, const CondAttrListCollection * > &condAttrListCollectionMap)
Definition: L1CaloPprConditionsContainer.cxx:142
L1CaloPprConditionsContainer::ePprChanCalib
@ ePprChanCalib
Definition: L1CaloPprConditionsContainer.h:38
L1CaloPprConditionsContainer::L1CaloPprConditionsContainer
L1CaloPprConditionsContainer()
Definition: L1CaloPprConditionsContainer.cxx:19
L1CaloPprConditionsContainer::eCoolFolders
eCoolFolders
Definition: L1CaloPprConditionsContainer.h:38
L1CaloPprConditionsContainer::m_decisionSource
unsigned int m_decisionSource
Definition: L1CaloPprConditionsContainer.h:83
L1CaloPprConditionsContainer::eFirStartBit
@ eFirStartBit
Definition: L1CaloPprConditionsContainer.h:32
L1CaloPprConditionsContainer::eBcidEnergyRangeLow
@ eBcidEnergyRangeLow
Definition: L1CaloPprConditionsContainer.h:31
L1CaloPprConditionsContainer::coolInputKeys
virtual std::vector< std::string > coolInputKeys() const
Definition: L1CaloPprConditionsContainer.cxx:126
L1CaloPprConditionsContainer::satOverride2
unsigned int satOverride2() const
Definition: L1CaloPprConditionsContainer.h:55
L1CaloPprConditionsContainer::eExtBcidThreshold
@ eExtBcidThreshold
Definition: L1CaloPprConditionsContainer.h:31
L1CaloPprConditionsContainer::m_satOverride3
unsigned int m_satOverride3
Definition: L1CaloPprConditionsContainer.h:81
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
L1CaloPprConditionsContainer::m_bcidDecision1
unsigned int m_bcidDecision1
Definition: L1CaloPprConditionsContainer.h:76
L1CaloPprConditionsContainer::eFirCoeff5
@ eFirCoeff5
Definition: L1CaloPprConditionsContainer.h:34
L1CaloPprConditionsContainer::ePprChanDefaults
@ ePprChanDefaults
Definition: L1CaloPprConditionsContainer.h:38