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

#include <Digitizer.h>

Inherits TObject.

Public Member Functions

 Digitizer ()=default
 
 ~Digitizer () override=default
 
 Digitizer (const Digitizer &)=delete
 
Digitizeroperator= (const Digitizer &)=delete
 
void init ()
 
void finish ()
 
void processHits (const std::vector< Hit > *mHits, const std::vector< Digit > &digitsBg, std::vector< Digit > &digitsOut, o2::dataformats::MCTruthContainer< MCLabel > &mLabels, int source, int entry, double dt)
 Steer conversion of hits to digits.
 
void processMC (bool mc)
 
void setRunStartTime (long t)
 
long runStartTime () const
 

Protected Member Functions

float nonLinearity (float e)
 
float uncalibrate (float e, int absId)
 
float uncalibrateT (float t, int absId)
 
float timeResolution (float time, float e)
 
float simulateNoiseEnergy (int absId)
 
float simulateNoiseTime ()
 

Detailed Description

Definition at line 27 of file Digitizer.h.

Constructor & Destructor Documentation

◆ Digitizer() [1/2]

o2::phos::Digitizer::Digitizer ( )
default

◆ ~Digitizer()

o2::phos::Digitizer::~Digitizer ( )
overridedefault

◆ Digitizer() [2/2]

o2::phos::Digitizer::Digitizer ( const Digitizer )
delete

Member Function Documentation

◆ finish()

void Digitizer::finish ( )

Definition at line 33 of file Digitizer.cxx.

◆ init()

void Digitizer::init ( )

Definition at line 29 of file Digitizer.cxx.

◆ nonLinearity()

float Digitizer::nonLinearity ( float  e)
protected

Definition at line 303 of file Digitizer.cxx.

◆ operator=()

Digitizer & o2::phos::Digitizer::operator= ( const Digitizer )
delete

◆ processHits()

void Digitizer::processHits ( const std::vector< Hit > *  mHits,
const std::vector< Digit > &  digitsBg,
std::vector< Digit > &  digitsOut,
o2::dataformats::MCTruthContainer< MCLabel > &  mLabels,
int  source,
int  entry,
double  dt 
)

Steer conversion of hits to digits.

Definition at line 36 of file Digitizer.cxx.

◆ processMC()

void o2::phos::Digitizer::processMC ( bool  mc)
inline

Definition at line 42 of file Digitizer.h.

◆ runStartTime()

long o2::phos::Digitizer::runStartTime ( ) const
inline

Definition at line 45 of file Digitizer.h.

◆ setRunStartTime()

void o2::phos::Digitizer::setRunStartTime ( long  t)
inline

Definition at line 44 of file Digitizer.h.

◆ simulateNoiseEnergy()

float Digitizer::simulateNoiseEnergy ( int  absId)
protected

Definition at line 340 of file Digitizer.cxx.

◆ simulateNoiseTime()

float Digitizer::simulateNoiseTime ( )
protected

Definition at line 345 of file Digitizer.cxx.

◆ timeResolution()

float Digitizer::timeResolution ( float  time,
float  e 
)
protected

Definition at line 329 of file Digitizer.cxx.

◆ uncalibrate()

float Digitizer::uncalibrate ( float  e,
int  absId 
)
protected

Definition at line 311 of file Digitizer.cxx.

◆ uncalibrateT()

float Digitizer::uncalibrateT ( float  t,
int  absId 
)
protected

Definition at line 322 of file Digitizer.cxx.


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