Project
Loading...
Searching...
No Matches
o2::ecal::Digit Class Reference

#include <Digit.h>

Inherits o2::dataformats::TimeStamp< double >.

Public Member Functions

 Digit ()=default
 
 Digit (int tower, double amplitudeGeV, double time)
 
 ~Digit ()=default
 
void setTower (int tower)
 
void setAmplitude (double amplitude)
 
void setEnergy (double energy)
 
void setLabel (int label)
 
int getTower () const
 
double getAmplitude () const
 
double getEnergy () const
 
int getLabel () const
 
- Public Member Functions inherited from o2::dataformats::TimeStamp< double >
 GPUhdDefault () TimeStamp()=default
 
 GPUhdDefault () ~TimeStamp()=default
 
 GPUdi () TimeStamp(double time)
 
 GPUdi () void setTimeStamp(double t)
 
 GPUdi () bool operator
 
 GPUhdi () double getTimeStamp() const
 
 ClassDefNV (TimeStamp, 1)
 

Detailed Description

Definition at line 27 of file Digit.h.

Constructor & Destructor Documentation

◆ Digit() [1/2]

o2::ecal::Digit::Digit ( )
default

◆ Digit() [2/2]

Digit::Digit ( int  tower,
double  amplitudeGeV,
double  time 
)

Definition at line 21 of file Digit.cxx.

◆ ~Digit()

o2::ecal::Digit::~Digit ( )
default

Member Function Documentation

◆ getAmplitude()

double o2::ecal::Digit::getAmplitude ( ) const
inline

Definition at line 42 of file Digit.h.

◆ getEnergy()

double o2::ecal::Digit::getEnergy ( ) const
inline

Definition at line 43 of file Digit.h.

◆ getLabel()

int o2::ecal::Digit::getLabel ( ) const
inline

Definition at line 44 of file Digit.h.

◆ getTower()

int o2::ecal::Digit::getTower ( ) const
inline

Definition at line 41 of file Digit.h.

◆ setAmplitude()

void o2::ecal::Digit::setAmplitude ( double  amplitude)
inline

Definition at line 36 of file Digit.h.

◆ setEnergy()

void o2::ecal::Digit::setEnergy ( double  energy)
inline

Definition at line 37 of file Digit.h.

◆ setLabel()

void o2::ecal::Digit::setLabel ( int  label)
inline

Definition at line 38 of file Digit.h.

◆ setTower()

void o2::ecal::Digit::setTower ( int  tower)
inline

Definition at line 35 of file Digit.h.


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