Project
Loading...
Searching...
No Matches
o2::phos::Cell Class Reference

#include <Cell.h>

Public Member Functions

 Cell ()=default
 
 Cell (short absId, float energy, float time, ChannelType_t ctype)
 
 ~Cell ()=default
 
void setAbsId (short absId)
 
short getAbsId () const
 
short getTRUId () const
 
void setTime (float time)
 
float getTime () const
 
void setEnergy (float energy)
 
float getEnergy () const
 
void setType (ChannelType_t ctype)
 
ChannelType_t getType () const
 
void setLowGain ()
 
bool getLowGain () const
 
void setHighGain ()
 
bool getHighGain () const
 
bool getTRU () const
 
void setLong (ULong_t l)
 
ULong_t getLong () const
 
void PrintStream (std::ostream &stream) const
 
uint16_t getPackedID () const
 
void setPackedID (uint16_t v)
 
uint16_t getPackedTime () const
 
void setPackedTime (uint16_t v)
 
uint16_t getPackedEnergy () const
 
void setPackedEnergy (uint16_t v)
 
uint8_t getPackedCellStatus () const
 
void setPackedCellStatus (uint8_t v)
 
void setPacked (uint16_t id, uint16_t t, uint16_t en, uint16_t status)
 

Detailed Description

Definition at line 58 of file Cell.h.

Constructor & Destructor Documentation

◆ Cell() [1/2]

o2::phos::Cell::Cell ( )
default

◆ Cell() [2/2]

Cell::Cell ( short  absId,
float  energy,
float  time,
ChannelType_t  ctype 
)

Definition at line 25 of file Cell.cxx.

◆ ~Cell()

o2::phos::Cell::~Cell ( )
default

Member Function Documentation

◆ getAbsId()

short Cell::getAbsId ( ) const

Definition at line 44 of file Cell.cxx.

◆ getEnergy()

float Cell::getEnergy ( ) const

Definition at line 147 of file Cell.cxx.

◆ getHighGain()

Bool_t Cell::getHighGain ( ) const

Definition at line 212 of file Cell.cxx.

◆ getLong()

ULong_t o2::phos::Cell::getLong ( ) const
inline

Definition at line 92 of file Cell.h.

◆ getLowGain()

Bool_t Cell::getLowGain ( ) const

Definition at line 197 of file Cell.cxx.

◆ getPackedCellStatus()

uint8_t o2::phos::Cell::getPackedCellStatus ( ) const
inline

Definition at line 106 of file Cell.h.

◆ getPackedEnergy()

uint16_t o2::phos::Cell::getPackedEnergy ( ) const
inline

Definition at line 103 of file Cell.h.

◆ getPackedID()

uint16_t o2::phos::Cell::getPackedID ( ) const
inline

Definition at line 97 of file Cell.h.

◆ getPackedTime()

uint16_t o2::phos::Cell::getPackedTime ( ) const
inline

Definition at line 100 of file Cell.h.

◆ getTime()

float Cell::getTime ( ) const

Definition at line 103 of file Cell.cxx.

◆ getTRU()

Bool_t Cell::getTRU ( ) const

Definition at line 221 of file Cell.cxx.

◆ getTRUId()

short Cell::getTRUId ( ) const

Definition at line 55 of file Cell.cxx.

◆ getType()

ChannelType_t Cell::getType ( ) const

Definition at line 174 of file Cell.cxx.

◆ PrintStream()

void Cell::PrintStream ( std::ostream &  stream) const

Definition at line 235 of file Cell.cxx.

◆ setAbsId()

void Cell::setAbsId ( short  absId)

Definition at line 33 of file Cell.cxx.

◆ setEnergy()

void Cell::setEnergy ( float  energy)

Definition at line 131 of file Cell.cxx.

◆ setHighGain()

void Cell::setHighGain ( )

Definition at line 206 of file Cell.cxx.

◆ setLong()

void Cell::setLong ( ULong_t  l)

Definition at line 229 of file Cell.cxx.

◆ setLowGain()

void Cell::setLowGain ( )

Definition at line 191 of file Cell.cxx.

◆ setPacked()

void o2::phos::Cell::setPacked ( uint16_t  id,
uint16_t  t,
uint16_t  en,
uint16_t  status 
)
inline

Definition at line 109 of file Cell.h.

◆ setPackedCellStatus()

void o2::phos::Cell::setPackedCellStatus ( uint8_t  v)
inline

Definition at line 107 of file Cell.h.

◆ setPackedEnergy()

void o2::phos::Cell::setPackedEnergy ( uint16_t  v)
inline

Definition at line 104 of file Cell.h.

◆ setPackedID()

void o2::phos::Cell::setPackedID ( uint16_t  v)
inline

Definition at line 98 of file Cell.h.

◆ setPackedTime()

void o2::phos::Cell::setPackedTime ( uint16_t  v)
inline

Definition at line 101 of file Cell.h.

◆ setTime()

void Cell::setTime ( float  time)

Definition at line 62 of file Cell.cxx.

◆ setType()

void Cell::setType ( ChannelType_t  ctype)

Definition at line 159 of file Cell.cxx.


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