ATLAS Offline Software
L1CaloEnergyScanResultsContainer.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 L1CALOENERGYSCANRESULTSCONTAINER_H
6 #define L1CALOENERGYSCANRESULTSCONTAINER_H
7 
9 
10 #include "GaudiKernel/DataObject.h"
11 
15 
26 class L1CaloEnergyScanResultsContainer: public DataObject,
28 {
29  private:
31 
32  public:
33 
34  typedef std::map<unsigned int, L1CaloEnergyScanResults> L1CaloEnergyScanResultsMap;
35  typedef L1CaloEnergyScanResultsMap::const_iterator const_iterator;
36 
38 
40  L1CaloEnergyScanResultsContainer(const std::map<L1CaloEnergyScanResultsContainer::eCoolFolders, std::string>& folderKeysMap);
42  virtual DataObject* makePersistent() const;
43 
44  // Hide from reflex to avoid warning from reflex shadow class.
45 #ifndef __REFLEX__
46  // IL1CaloPersistenceCapable interface
47  using AbstractL1CaloPersistentCondition::makeTransient; // to unhide the default implementation of makeTransient
48  virtual void makeTransient(const std::map<std::string, const CondAttrListCollection*>& condAttrListCollectionMap);
49 #endif
50 
51  const L1CaloEnergyScanResults* energyScanResults(unsigned int channelId) const;
55 
56  inline const_iterator begin() const { return m_mEnergyScanResultsMap.begin(); };
57  inline const_iterator end() const { return m_mEnergyScanResultsMap.end(); };
58 
59  virtual std::vector<std::string> coolInputKeys() const;
60  virtual std::string coolOutputKey() const;
61 
62  virtual void clear();
63 
64  private:
66 
68  std::map<L1CaloEnergyScanResultsContainer::eCoolFolders, std::string> m_mCoolFoldersKeysMap;
69 };
70 
72 
73 #endif
L1CaloEnergyScanResultsContainer::L1CaloEnergyScanResultsMap
std::map< unsigned int, L1CaloEnergyScanResults > L1CaloEnergyScanResultsMap
Definition: L1CaloEnergyScanResultsContainer.h:34
L1CaloCoolChannelId.h
L1CaloEnergyScanResultsContainer::eBlob
@ eBlob
Definition: L1CaloEnergyScanResultsContainer.h:30
L1CaloEnergyScanResults.h
L1CaloEnergyScanResultsContainer::m_mCoolFoldersKeysMap
std::map< L1CaloEnergyScanResultsContainer::eCoolFolders, std::string > m_mCoolFoldersKeysMap
Definition: L1CaloEnergyScanResultsContainer.h:68
L1CaloEnergyScanResultsContainer::energyScanResults
const L1CaloEnergyScanResults * energyScanResults(unsigned int channelId) const
Definition: L1CaloEnergyScanResultsContainer.cxx:134
L1CaloEnergyScanResultsContainer::L1CaloEnergyScanResultsContainer
L1CaloEnergyScanResultsContainer()
Definition: L1CaloEnergyScanResultsContainer.cxx:16
L1CaloEnergyScanResultsContainer::eChi2
@ eChi2
Definition: L1CaloEnergyScanResultsContainer.h:30
L1CaloEnergyScanResultsContainer::coolInputKeys
virtual std::vector< std::string > coolInputKeys() const
Definition: L1CaloEnergyScanResultsContainer.cxx:53
L1CaloEnergyScanResultsContainer::eSlope
@ eSlope
Definition: L1CaloEnergyScanResultsContainer.h:30
AbstractL1CaloPersistentCondition.h
L1CaloEnergyScanResults
Class that holds transient information about the calibration for trigger towers.
Definition: L1CaloEnergyScanResults.h:19
L1CaloEnergyScanResultsContainer::makePersistent
virtual DataObject * makePersistent() const
Definition: L1CaloEnergyScanResultsContainer.cxx:63
L1CaloEnergyScanResultsContainer::begin
const_iterator begin() const
Definition: L1CaloEnergyScanResultsContainer.h:56
L1CaloEnergyScanResultsContainer::addEnergyScanResults
void addEnergyScanResults(unsigned int channelId, const L1CaloEnergyScanResults &energyScanResults)
Definition: L1CaloEnergyScanResultsContainer.cxx:144
L1CaloEnergyScanResultsContainer::eErrorCode
@ eErrorCode
Definition: L1CaloEnergyScanResultsContainer.h:30
L1CaloEnergyScanResultsContainer::m_mEnergyScanResultsMap
L1CaloEnergyScanResultsMap m_mEnergyScanResultsMap
Definition: L1CaloEnergyScanResultsContainer.h:67
CaloCondBlobAlgs_fillNoiseFromASCII.channelId
channelId
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:122
L1CaloEnergyScanResultsContainer::eOffset
@ eOffset
Definition: L1CaloEnergyScanResultsContainer.h:30
L1CaloEnergyScanResultsContainer::eAttrSpecification
eAttrSpecification
Definition: L1CaloEnergyScanResultsContainer.h:30
L1CaloEnergyScanResultsContainer::eEnergyScanResults
@ eEnergyScanResults
Definition: L1CaloEnergyScanResultsContainer.h:37
AbstractL1CaloPersistentCondition::makeTransient
virtual void makeTransient(const std::map< std::string, const CondAttrListCollection * > &condAttrListCollectionMap)
Definition: AbstractL1CaloPersistentCondition.cxx:16
L1CaloEnergyScanResultsContainer::coolOutputKey
virtual std::string coolOutputKey() const
Definition: L1CaloEnergyScanResultsContainer.cxx:59
L1CaloEnergyScanResultsContainer::eNdf
@ eNdf
Definition: L1CaloEnergyScanResultsContainer.h:30
L1CaloCoolChannelId
Definition: L1CaloCoolChannelId.h:10
L1CaloEnergyScanResultsContainer::end
const_iterator end() const
Definition: L1CaloEnergyScanResultsContainer.h:57
L1CaloEnergyScanResultsContainer::coolFolderKey
std::string coolFolderKey(L1CaloEnergyScanResultsContainer::eCoolFolders efolder) const
Definition: L1CaloEnergyScanResultsContainer.cxx:43
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
L1CaloEnergyScanResultsContainer
Container of L1CaloEnergyScanResults objects, inherit from the abstract base class AbstractL1CaloCond...
Definition: L1CaloEnergyScanResultsContainer.h:28
L1CaloEnergyScanResultsContainer::makeTransient
virtual void makeTransient(const std::map< std::string, const CondAttrListCollection * > &condAttrListCollectionMap)
Definition: L1CaloEnergyScanResultsContainer.cxx:96
L1CaloEnergyScanResultsContainer::eBlobStrategy
@ eBlobStrategy
Definition: L1CaloEnergyScanResultsContainer.h:30
L1CaloEnergyScanResultsContainer::eCoolFolders
eCoolFolders
Definition: L1CaloEnergyScanResultsContainer.h:37
L1CaloEnergyScanResultsContainer::const_iterator
L1CaloEnergyScanResultsMap::const_iterator const_iterator
Definition: L1CaloEnergyScanResultsContainer.h:35
L1CaloEnergyScanResultsContainer::clear
virtual void clear()
Definition: L1CaloEnergyScanResultsContainer.cxx:152
L1CaloEnergyScanResultsContainer::~L1CaloEnergyScanResultsContainer
virtual ~L1CaloEnergyScanResultsContainer()
Definition: L1CaloEnergyScanResultsContainer.h:41
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