ATLAS Offline Software
PixelReadoutSpeedData.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 PIXELREADOUTSPEEDDATA_H
6 #define PIXELREADOUTSPEEDDATA_H
7 
8 //#define PIXEL_DEBUG
10 #include <map>
11 
13  public:
18 
19  void setReadoutMap(const std::map<uint32_t,bool>& rodReadoutMap);
20  const std::map<uint32_t,bool>& getReadoutMap() const;
21 
22  void clear();
23 
24  private:
25  std::map<uint32_t,bool> m_rodReadoutMap;
26 };
27 
28 inline void PixelReadoutSpeedData::setReadoutMap(const std::map<uint32_t,bool>& rodReadoutMap) { m_rodReadoutMap=rodReadoutMap; }
29 
30 inline const std::map<uint32_t,bool>& PixelReadoutSpeedData::getReadoutMap() const { return m_rodReadoutMap; }
31 
32 CLASS_DEF( PixelReadoutSpeedData , 107567278 , 1 ) // class definition with CLID
33 
34 #include "AthenaKernel/CondCont.h"
36 
37 #endif
PixelReadoutSpeedData::PixelReadoutSpeedData
PixelReadoutSpeedData()
Definition: PixelReadoutSpeedData.cxx:7
PixelReadoutSpeedData
Definition: PixelReadoutSpeedData.h:12
CONDCONT_DEF
#define CONDCONT_DEF(...)
Definition: CondCont.h:1413
PixelReadoutSpeedData::setReadoutMap
void setReadoutMap(const std::map< uint32_t, bool > &rodReadoutMap)
Definition: PixelReadoutSpeedData.h:28
PixelReadoutSpeedData::getReadoutMap
const std::map< uint32_t, bool > & getReadoutMap() const
Definition: PixelReadoutSpeedData.h:30
PixelReadoutSpeedData::operator=
PixelReadoutSpeedData & operator=(const PixelReadoutSpeedData &other)=delete
PixelReadoutSpeedData::m_rodReadoutMap
std::map< uint32_t, bool > m_rodReadoutMap
Readout speed for each ROD. false=40MBit, true=80MBit.
Definition: PixelReadoutSpeedData.h:25
CLASS_DEF
CLASS_DEF(PixelReadoutSpeedData, 107567278, 1) CONDCONT_DEF(PixelReadoutSpeedData
PixelReadoutSpeedData::clear
void clear()
Definition: PixelReadoutSpeedData.cxx:14
InDetDD::other
@ other
Definition: InDetDD_Defs.h:16
PixelReadoutSpeedData::~PixelReadoutSpeedData
virtual ~PixelReadoutSpeedData()
PixelReadoutSpeedData::PixelReadoutSpeedData
PixelReadoutSpeedData(const PixelReadoutSpeedData &other)=delete
CLASS_DEF.h
macros to associate a CLID to a type