ATLAS Offline Software
Public Types | Public Member Functions | Private Types | Private Attributes | List of all members
L1CaloRampDataContainer Class Reference

Container of L1CaloRampData objects. More...

#include <L1CaloRampDataContainer.h>

Collaboration diagram for L1CaloRampDataContainer:

Public Types

typedef std::map< unsigned int, L1CaloRampDataL1CaloRampDataMap
 
typedef L1CaloRampDataMap::const_iterator const_iterator
 

Public Member Functions

 L1CaloRampDataContainer ()
 
virtual ~L1CaloRampDataContainer ()
 
const L1CaloRampDatarampData (unsigned int channelId) const
 
const L1CaloRampDatarampData (const L1CaloCoolChannelId &channelId) const
 
L1CaloRampDatarampData (const L1CaloCoolChannelId &channelId)
 
L1CaloRampDatarampData (unsigned int channelId)
 
void addRampData (unsigned int channelId, const L1CaloRampData &rampData)
 
void addRampData (const L1CaloCoolChannelId &channelId, const L1CaloRampData &rampData)
 
const_iterator begin () const
 
const_iterator end () const
 
unsigned int runNumber () const
 
const std::string & gainStrategy () const
 
void setRunNumber (unsigned int run)
 
void setGainStrategy (const std::string &strategy)
 

Private Types

typedef L1CaloRampDataMap::iterator iterator
 

Private Attributes

L1CaloRampDataMap m_rampDataMap
 
unsigned int m_runNumber
 
std::string m_gainStrategy
 

Detailed Description

Container of L1CaloRampData objects.

Author
Veit Scharf veit..nosp@m.scha.nosp@m.rf@ki.nosp@m.p.un.nosp@m.i-hei.nosp@m.delb.nosp@m.erg.d.nosp@m.e

Definition at line 22 of file L1CaloRampDataContainer.h.

Member Typedef Documentation

◆ const_iterator

typedef L1CaloRampDataMap::const_iterator L1CaloRampDataContainer::const_iterator

Definition at line 26 of file L1CaloRampDataContainer.h.

◆ iterator

typedef L1CaloRampDataMap::iterator L1CaloRampDataContainer::iterator
private

Definition at line 49 of file L1CaloRampDataContainer.h.

◆ L1CaloRampDataMap

Definition at line 25 of file L1CaloRampDataContainer.h.

Constructor & Destructor Documentation

◆ L1CaloRampDataContainer()

L1CaloRampDataContainer::L1CaloRampDataContainer ( )
inline

Definition at line 29 of file L1CaloRampDataContainer.h.

29 : m_runNumber(0) {}

◆ ~L1CaloRampDataContainer()

virtual L1CaloRampDataContainer::~L1CaloRampDataContainer ( )
inlinevirtual

Definition at line 30 of file L1CaloRampDataContainer.h.

30 {}

Member Function Documentation

◆ addRampData() [1/2]

void L1CaloRampDataContainer::addRampData ( const L1CaloCoolChannelId channelId,
const L1CaloRampData rampData 
)

Definition at line 37 of file L1CaloRampDataContainer.cxx.

38 {
39  this->addRampData(channelId.id(), rampData);
40 }

◆ addRampData() [2/2]

void L1CaloRampDataContainer::addRampData ( unsigned int  channelId,
const L1CaloRampData rampData 
)

Definition at line 32 of file L1CaloRampDataContainer.cxx.

33 {
35 }

◆ begin()

const_iterator L1CaloRampDataContainer::begin ( ) const
inline

Definition at line 40 of file L1CaloRampDataContainer.h.

40 { return m_rampDataMap.begin(); }

◆ end()

const_iterator L1CaloRampDataContainer::end ( ) const
inline

Definition at line 41 of file L1CaloRampDataContainer.h.

41 { return m_rampDataMap.end(); }

◆ gainStrategy()

const std::string& L1CaloRampDataContainer::gainStrategy ( ) const
inline

Definition at line 44 of file L1CaloRampDataContainer.h.

44 { return m_gainStrategy; }

◆ rampData() [1/4]

L1CaloRampData * L1CaloRampDataContainer::rampData ( const L1CaloCoolChannelId channelId)

Definition at line 26 of file L1CaloRampDataContainer.cxx.

27 {
28  return this->rampData(channelId.id());
29 }

◆ rampData() [2/4]

const L1CaloRampData * L1CaloRampDataContainer::rampData ( const L1CaloCoolChannelId channelId) const

Definition at line 21 of file L1CaloRampDataContainer.cxx.

22 {
23  return this->rampData(channelId.id());
24 }

◆ rampData() [3/4]

L1CaloRampData * L1CaloRampDataContainer::rampData ( unsigned int  channelId)

Definition at line 14 of file L1CaloRampDataContainer.cxx.

15 {
17  if(pos == m_rampDataMap.end()) return 0;
18  return &(pos->second);
19 }

◆ rampData() [4/4]

const L1CaloRampData * L1CaloRampDataContainer::rampData ( unsigned int  channelId) const

Definition at line 7 of file L1CaloRampDataContainer.cxx.

8 {
10  if(pos == m_rampDataMap.end()) return 0;
11  return &(pos->second);
12 }

◆ runNumber()

unsigned int L1CaloRampDataContainer::runNumber ( ) const
inline

Definition at line 43 of file L1CaloRampDataContainer.h.

43 { return m_runNumber; }

◆ setGainStrategy()

void L1CaloRampDataContainer::setGainStrategy ( const std::string &  strategy)
inline

Definition at line 46 of file L1CaloRampDataContainer.h.

◆ setRunNumber()

void L1CaloRampDataContainer::setRunNumber ( unsigned int  run)
inline

Definition at line 45 of file L1CaloRampDataContainer.h.

45 { m_runNumber = run; }

Member Data Documentation

◆ m_gainStrategy

std::string L1CaloRampDataContainer::m_gainStrategy
private

Definition at line 52 of file L1CaloRampDataContainer.h.

◆ m_rampDataMap

L1CaloRampDataMap L1CaloRampDataContainer::m_rampDataMap
private

Definition at line 50 of file L1CaloRampDataContainer.h.

◆ m_runNumber

unsigned int L1CaloRampDataContainer::m_runNumber
private

Definition at line 51 of file L1CaloRampDataContainer.h.


The documentation for this class was generated from the following files:
xAOD::strategy
strategy
Definition: L2CombinedMuon_v1.cxx:107
L1CaloRampDataContainer::m_gainStrategy
std::string m_gainStrategy
Definition: L1CaloRampDataContainer.h:52
L1CaloRampDataContainer::iterator
L1CaloRampDataMap::iterator iterator
Definition: L1CaloRampDataContainer.h:49
run
int run(int argc, char *argv[])
Definition: ttree2hdf5.cxx:28
L1CaloRampDataContainer::m_rampDataMap
L1CaloRampDataMap m_rampDataMap
Definition: L1CaloRampDataContainer.h:50
L1CaloRampDataContainer::rampData
const L1CaloRampData * rampData(unsigned int channelId) const
Definition: L1CaloRampDataContainer.cxx:7
L1CaloRampDataContainer::const_iterator
L1CaloRampDataMap::const_iterator const_iterator
Definition: L1CaloRampDataContainer.h:26
L1CaloRampDataContainer::m_runNumber
unsigned int m_runNumber
Definition: L1CaloRampDataContainer.h:51
L1CaloCoolChannelId::id
unsigned int id() const
Definition: L1CaloCoolChannelId.h:32
CaloCondBlobAlgs_fillNoiseFromASCII.channelId
channelId
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:122
python.LumiBlobConversion.pos
pos
Definition: LumiBlobConversion.py:18
L1CaloRampDataContainer::addRampData
void addRampData(unsigned int channelId, const L1CaloRampData &rampData)
Definition: L1CaloRampDataContainer.cxx:32