ATLAS Offline Software
Loading...
Searching...
No Matches
L1CaloRxGain Class Referencefinal

Transient conditions class for objects defined by the online framework and retrieved from COOL. More...

#include <L1CaloRxGain.h>

Collaboration diagram for L1CaloRxGain:

Public Member Functions

 L1CaloRxGain ()
 L1CaloRxGain (unsigned int channelId, int gain, const std::string &comment)
 L1CaloRxGain (const L1CaloRxCoolChannelId &channelId, int gain, const std::string &comment)
 ~L1CaloRxGain ()=default
L1CaloRxCoolChannelId channelId (void) const
int gain (void) const
const std::string & comment (void) const

Private Attributes

L1CaloRxCoolChannelId m_channelId
int m_gain
std::string m_comment

Friends

std::ostream & operator<< (std::ostream &output, const L1CaloRxGain &r)

Detailed Description

Transient conditions class for objects defined by the online framework and retrieved from COOL.

Author
Damien Prieur damie.nosp@m.n.pr.nosp@m.ieur@.nosp@m.cern.nosp@m..ch

Definition at line 24 of file L1CaloRxGain.h.

Constructor & Destructor Documentation

◆ L1CaloRxGain() [1/3]

L1CaloRxGain::L1CaloRxGain ( )

Definition at line 41 of file L1CaloRxGain.cxx.

41 :
42 m_channelId(0),
43 m_gain(0),
44 m_comment("")
45{
46}
L1CaloRxCoolChannelId m_channelId
std::string m_comment

◆ L1CaloRxGain() [2/3]

L1CaloRxGain::L1CaloRxGain ( unsigned int channelId,
int gain,
const std::string & comment )

Definition at line 48 of file L1CaloRxGain.cxx.

48 :
50 m_gain(gain),
52{
53}
int gain(void) const
L1CaloRxCoolChannelId channelId(void) const
const std::string & comment(void) const

◆ L1CaloRxGain() [3/3]

L1CaloRxGain::L1CaloRxGain ( const L1CaloRxCoolChannelId & channelId,
int gain,
const std::string & comment )

Definition at line 55 of file L1CaloRxGain.cxx.

55 :
57 m_gain(gain),
59{
60}

◆ ~L1CaloRxGain()

L1CaloRxGain::~L1CaloRxGain ( )
default

Member Function Documentation

◆ channelId()

L1CaloRxCoolChannelId L1CaloRxGain::channelId ( void ) const
inline

Definition at line 39 of file L1CaloRxGain.h.

39{ return m_channelId; };

◆ comment()

const std::string & L1CaloRxGain::comment ( void ) const
inline

Definition at line 45 of file L1CaloRxGain.h.

45{ return m_comment; };

◆ gain()

int L1CaloRxGain::gain ( void ) const
inline

Definition at line 44 of file L1CaloRxGain.h.

44{ return m_gain; };

◆ operator<<

std::ostream & operator<< ( std::ostream & output,
const L1CaloRxGain & r )
friend

Definition at line 62 of file L1CaloRxGain.cxx.

62 {
63 //output << "channelID: " << r.m_channelId.id() << ", " << "identifier: " << r.m_identifier<< ", " << "crate: " << r.m_recCrate<< ", " << "slot: " << r.m_recSlot<< ", " << "channel: " << r.m_recChannel << ", " << "gain: " << r.m_gain << ", " << "comment: " << r.m_comment.c_str();
64 output << "channelID: " << r.m_channelId.id() << ", " << "gain: " << r.m_gain << ", " << "comment: " << r.m_comment;
65 return output;
66}
int r
Definition globals.cxx:22
output
Definition merge.py:16

Member Data Documentation

◆ m_channelId

L1CaloRxCoolChannelId L1CaloRxGain::m_channelId
private

Definition at line 48 of file L1CaloRxGain.h.

◆ m_comment

std::string L1CaloRxGain::m_comment
private

Definition at line 54 of file L1CaloRxGain.h.

◆ m_gain

int L1CaloRxGain::m_gain
private

Definition at line 53 of file L1CaloRxGain.h.


The documentation for this class was generated from the following files: