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

Liquid Argon ROD output object base class. More...

#include <LArRawChannel.h>

Collaboration diagram for LArRawChannel:

Public Member Functions

 LArRawChannel ()
 default constructor for persistenty
 LArRawChannel (const LArRawChannel &)=default
 Default copy/move ctor/assignment.
 LArRawChannel (LArRawChannel &&)=default
LArRawChanneloperator= (const LArRawChannel &)=default
LArRawChanneloperator= (LArRawChannel &&)=default
 ~LArRawChannel ()=default
 destructor
 LArRawChannel (HWIdentifier chan_id, int energy, int time, uint16_t quality, uint16_t provenance, CaloGain::CaloGain gain)
 useful constructor
HWIdentifier identify () const
HWIdentifier channelID () const
const HWIdentifierhardwareID () const
int energy () const
int time () const
uint16_t quality () const
uint16_t provenance () const
CaloGain::CaloGain gain () const

Private Attributes

HWIdentifier m_channelID
 online identifier
int m_energy
 energy in MeV
int m_time
 time in ps
union { 
   int   m_quality 
   uint16_t   m_qualProv [2] 
}; 
 quality/provenance from pulse reconstruction
CaloGain::CaloGain m_gain
 gain information

Detailed Description

Liquid Argon ROD output object base class.

This class holds the output of a liquid argon channel when it is processed through the RODS

Objects of this type are readonly

Author
Kin Yip

move to DataVector Hong Ma

Version
00-00-02

Add raw channel gain information 25/09/2003 G.Unal


Move to HWIdentifier 10/2/2004 W. Lampl

Definition at line 40 of file LArRawChannel.h.

Constructor & Destructor Documentation

◆ LArRawChannel() [1/4]

LArRawChannel::LArRawChannel ( )
inline

default constructor for persistenty

inlines

Definition at line 126 of file LArRawChannel.h.

127 :
128 m_channelID(0),
129 m_energy(0),
130 m_time(0),
131 m_quality(0),
133{ }
CaloGain::CaloGain m_gain
gain information
int m_energy
energy in MeV
int m_time
time in ps
HWIdentifier m_channelID
online identifier

◆ LArRawChannel() [2/4]

LArRawChannel::LArRawChannel ( const LArRawChannel & )
default

Default copy/move ctor/assignment.

◆ LArRawChannel() [3/4]

LArRawChannel::LArRawChannel ( LArRawChannel && )
default

◆ ~LArRawChannel()

LArRawChannel::~LArRawChannel ( )
default

destructor

◆ LArRawChannel() [4/4]

LArRawChannel::LArRawChannel ( HWIdentifier chan_id,
int energy,
int time,
uint16_t quality,
uint16_t provenance,
CaloGain::CaloGain gain )
inline

useful constructor

Parameters
[in]chan_idOnline identifier of channel
[in]energyEnergy in MeV
[in]timetime in ps
[in]qualityQuality from pulse reconstruction
[in]provenanceProvenance of pulse reconstruction
[in]gainGain

Definition at line 136 of file LArRawChannel.h.

142 :
143 m_channelID(chan_id),
145 m_time(time),
146 m_gain(gain)
147{ m_qualProv[0] = quality;
148 // cppcheck-suppress objectIndex
150}
uint16_t provenance() const
CaloGain::CaloGain gain() const
int time() const
uint16_t quality() const
uint16_t m_qualProv[2]
int energy() const

Member Function Documentation

◆ channelID()

HWIdentifier LArRawChannel::channelID ( ) const
inline
Returns
online identifier

Definition at line 158 of file LArRawChannel.h.

158{ return m_channelID; }

◆ energy()

int LArRawChannel::energy ( ) const
inline
Returns
energy in MeV (rounded to integer)

Definition at line 166 of file LArRawChannel.h.

166{ return m_energy; }

◆ gain()

CaloGain::CaloGain LArRawChannel::gain ( ) const
inline
Returns
gain

Definition at line 186 of file LArRawChannel.h.

186{ return m_gain;}

◆ hardwareID()

const HWIdentifier & LArRawChannel::hardwareID ( ) const
inline

Definition at line 162 of file LArRawChannel.h.

162{return m_channelID; }

◆ identify()

HWIdentifier LArRawChannel::identify ( ) const
inline
Returns
online identifier

Definition at line 154 of file LArRawChannel.h.

154{ return m_channelID ; }

◆ operator=() [1/2]

LArRawChannel & LArRawChannel::operator= ( const LArRawChannel & )
default

◆ operator=() [2/2]

LArRawChannel & LArRawChannel::operator= ( LArRawChannel && )
default

◆ provenance()

uint16_t LArRawChannel::provenance ( ) const
inline
Returns
Provenance of pulse reconstruction

Definition at line 178 of file LArRawChannel.h.

179{
180 // cppcheck-suppress objectIndex
181 return m_qualProv[1];
182}

◆ quality()

uint16_t LArRawChannel::quality ( ) const
inline
Returns
quality from pulse reconstruction

Definition at line 174 of file LArRawChannel.h.

174{ return m_qualProv[0]; }

◆ time()

int LArRawChannel::time ( ) const
inline
Returns
time in ps (rounded to integer)

Definition at line 170 of file LArRawChannel.h.

170{ return m_time; }

Member Data Documentation

◆ [union]

union { ... } LArRawChannel

quality/provenance from pulse reconstruction

◆ m_channelID

HWIdentifier LArRawChannel::m_channelID
private

online identifier

Definition at line 96 of file LArRawChannel.h.

◆ m_energy

int LArRawChannel::m_energy
private

energy in MeV

Definition at line 98 of file LArRawChannel.h.

◆ m_gain

CaloGain::CaloGain LArRawChannel::m_gain
private

gain information

Definition at line 118 of file LArRawChannel.h.

◆ m_quality

int LArRawChannel::m_quality

Definition at line 112 of file LArRawChannel.h.

◆ m_qualProv

uint16_t LArRawChannel::m_qualProv[2]

Definition at line 113 of file LArRawChannel.h.

◆ m_time

int LArRawChannel::m_time
private

time in ps

Definition at line 100 of file LArRawChannel.h.


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