ATLAS Offline Software
L1CaloPpmFineTimeRefsContainer.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGT1CALOCALIBCONDITIONS_L1CALOPPMFINETIMEREFSCONTAINER_H
6 #define TRIGT1CALOCALIBCONDITIONS_L1CALOPPMFINETIMEREFSCONTAINER_H
7 
9 
10 #include "GaudiKernel/DataObject.h"
11 
15 
16 #include <map>
17 
26 class string;
27 
28 typedef std::map<unsigned int, L1CaloPpmFineTimeRefs> L1CaloPpmFineTimeRefsMap;
29 
31 
32 private:
34 
35 public:
37 
38  typedef std::map<unsigned int, L1CaloPpmFineTimeRefs>::const_iterator const_iterator;
39 
41  L1CaloPpmFineTimeRefsContainer(const std::map<L1CaloPpmFineTimeRefsContainer::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 L1CaloPpmFineTimeRefs* ppmFineTimeRefs(unsigned int channelId) const;
53 
54  inline L1CaloPpmFineTimeRefsMap::const_iterator begin() const { return m_mPpmFineTimeRefsMap.begin(); };
55  inline L1CaloPpmFineTimeRefsMap::const_iterator end() const { return m_mPpmFineTimeRefsMap.end(); };
56 
57  virtual std::vector<std::string> coolInputKeys() const;
58  virtual std::string coolOutputKey() const;
59 
60  virtual void clear();
61 
62  void dump() const;
63 
64 private:
66 
68  std::map<L1CaloPpmFineTimeRefsContainer::eCoolFolders, std::string> m_mCoolFoldersKeysMap;
69 
70 };
71 
72 
73 #include "AthenaKernel/CondCont.h"
75 #endif
L1CaloCoolChannelId.h
L1CaloPpmFineTimeRefsContainer::eRefValue
@ eRefValue
Definition: L1CaloPpmFineTimeRefsContainer.h:33
L1CaloPpmFineTimeRefsContainer::L1CaloPpmFineTimeRefsContainer
L1CaloPpmFineTimeRefsContainer()
Definition: L1CaloPpmFineTimeRefsContainer.cxx:15
L1CaloPpmFineTimeRefsContainer::ppmFineTimeRefs
const L1CaloPpmFineTimeRefs * ppmFineTimeRefs(unsigned int channelId) const
Definition: L1CaloPpmFineTimeRefsContainer.cxx:119
CondCont.h
Hold mappings of ranges to condition objects.
L1CaloPpmFineTimeRefsMap
std::map< unsigned int, L1CaloPpmFineTimeRefs > L1CaloPpmFineTimeRefsMap
Definition: L1CaloPpmFineTimeRefsContainer.h:26
L1CaloPpmFineTimeRefsContainer::eCriterion
@ eCriterion
Definition: L1CaloPpmFineTimeRefsContainer.h:33
L1CaloPpmFineTimeRefsContainer::dump
void dump() const
Definition: L1CaloPpmFineTimeRefsContainer.cxx:137
AbstractL1CaloPersistentCondition.h
L1CaloPpmFineTimeRefsContainer::clear
virtual void clear()
Definition: L1CaloPpmFineTimeRefsContainer.cxx:144
L1CaloPpmFineTimeRefsContainer::coolInputKeys
virtual std::vector< std::string > coolInputKeys() const
Definition: L1CaloPpmFineTimeRefsContainer.cxx:46
L1CaloPpmFineTimeRefsContainer::makeTransient
virtual void makeTransient(const std::map< std::string, const CondAttrListCollection * > &condAttrListCollectionMap)
Definition: L1CaloPpmFineTimeRefsContainer.cxx:86
L1CaloPpmFineTimeRefsContainer::const_iterator
std::map< unsigned int, L1CaloPpmFineTimeRefs >::const_iterator const_iterator
Definition: L1CaloPpmFineTimeRefsContainer.h:38
L1CaloPpmFineTimeRefsContainer::coolOutputKey
virtual std::string coolOutputKey() const
Definition: L1CaloPpmFineTimeRefsContainer.cxx:52
CaloCondBlobAlgs_fillNoiseFromASCII.channelId
channelId
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:122
L1CaloPpmFineTimeRefsContainer::makePersistent
virtual DataObject * makePersistent() const
Definition: L1CaloPpmFineTimeRefsContainer.cxx:56
L1CaloPpmFineTimeRefsContainer::ePpmFineTimeRefss
@ ePpmFineTimeRefss
Definition: L1CaloPpmFineTimeRefsContainer.h:36
L1CaloPpmFineTimeRefsContainer::eAttrSpecification
eAttrSpecification
Definition: L1CaloPpmFineTimeRefsContainer.h:33
AbstractL1CaloPersistentCondition::makeTransient
virtual void makeTransient(const std::map< std::string, const CondAttrListCollection * > &condAttrListCollectionMap)
Definition: AbstractL1CaloPersistentCondition.cxx:16
L1CaloPpmFineTimeRefsContainer::m_mCoolFoldersKeysMap
std::map< L1CaloPpmFineTimeRefsContainer::eCoolFolders, std::string > m_mCoolFoldersKeysMap
Definition: L1CaloPpmFineTimeRefsContainer.h:68
L1CaloCoolChannelId
Definition: L1CaloCoolChannelId.h:10
L1CaloPpmFineTimeRefsContainer::eCalibValue
@ eCalibValue
Definition: L1CaloPpmFineTimeRefsContainer.h:33
L1CaloPpmFineTimeRefsContainer::eErrorCode
@ eErrorCode
Definition: L1CaloPpmFineTimeRefsContainer.h:33
L1CaloPpmFineTimeRefsContainer::eCoolFolders
eCoolFolders
Definition: L1CaloPpmFineTimeRefsContainer.h:36
L1CaloPpmFineTimeRefs.h
L1CaloPpmFineTimeRefsContainer::end
L1CaloPpmFineTimeRefsMap::const_iterator end() const
Definition: L1CaloPpmFineTimeRefsContainer.h:55
L1CaloPpmFineTimeRefsContainer::begin
L1CaloPpmFineTimeRefsMap::const_iterator begin() const
Definition: L1CaloPpmFineTimeRefsContainer.h:54
L1CaloPpmFineTimeRefsContainer::addPpmFineTimeRefs
void addPpmFineTimeRefs(unsigned int channelId, const L1CaloPpmFineTimeRefs &ppmFineTimeRefs)
Definition: L1CaloPpmFineTimeRefsContainer.cxx:129
L1CaloPpmFineTimeRefsContainer::m_mPpmFineTimeRefsMap
L1CaloPpmFineTimeRefsMap m_mPpmFineTimeRefsMap
Definition: L1CaloPpmFineTimeRefsContainer.h:67
L1CaloPpmFineTimeRefsContainer::coolFolderKey
std::string coolFolderKey(L1CaloPpmFineTimeRefsContainer::eCoolFolders efolder) const
Definition: L1CaloPpmFineTimeRefsContainer.cxx:36
L1CaloPpmFineTimeRefsContainer::~L1CaloPpmFineTimeRefsContainer
virtual ~L1CaloPpmFineTimeRefsContainer()
Definition: L1CaloPpmFineTimeRefsContainer.h:42
CONDCONT_DEF
CONDCONT_DEF(L1CaloPpmFineTimeRefsContainer, 1290241871)
L1CaloPpmFineTimeRefsContainer
Definition: L1CaloPpmFineTimeRefsContainer.h:30
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
L1CaloPpmFineTimeRefs
Definition: L1CaloPpmFineTimeRefs.h:23