![]() |
Project
|
EMCAL FEE digitizer. More...
#include <Digitizer.h>
Inherits TObject.
Public Member Functions | |
Digitizer ()=default | |
~Digitizer () override=default | |
Digitizer (const Digitizer &)=delete | |
Digitizer & | operator= (const Digitizer &)=delete |
void | init () |
void | clear () |
void | flush () |
clear DigitsVectorStream | |
void | finish () |
This is for the readout window that was interrupted by the end of the run. | |
void | process (const std::vector< LabeledDigit > &labeledDigit) |
Steer conversion of hits to digits. | |
void | setEventTime (o2::InteractionTimeRecord record, bool trigger) |
double | getTriggerTime () const |
double | getEventTime () const |
bool | isLive (double t) const |
bool | isLive () const |
void | setDebugStreaming (bool doStreaming) |
bool | preTriggerCollision () const |
void | fillOutputContainer (std::vector< Digit > &digits, o2::dataformats::MCTruthContainer< o2::emcal::MCLabel > &labels) |
bool | doSmearEnergy () const |
double | smearEnergy (double energy) |
double | smearTime (double time, double energy) |
bool | doSimulateTimeResponse () const |
void | sampleSDigit (const Digit &sdigit) |
const std::vector< o2::emcal::Digit > & | getDigits () const |
const std::vector< o2::emcal::TriggerRecord > & | getTriggerRecords () const |
const o2::dataformats::MCTruthContainer< o2::emcal::MCLabel > & | getMCLabels () const |
Static Public Member Functions | |
static double | rawResponseFunction (double *x, double *par) |
raw pointers used here to allow interface with TF1 | |
static constexpr int | getTOFSamplingBins () |
EMCAL FEE digitizer.
Definition at line 50 of file Digitizer.h.
|
default |
|
overridedefault |
|
delete |
void Digitizer::clear | ( | ) |
Definition at line 113 of file Digitizer.cxx.
|
inline |
Definition at line 86 of file Digitizer.h.
|
inline |
Definition at line 83 of file Digitizer.h.
void o2::emcal::Digitizer::fillOutputContainer | ( | std::vector< Digit > & | digits, |
o2::dataformats::MCTruthContainer< o2::emcal::MCLabel > & | labels | ||
) |
|
inline |
This is for the readout window that was interrupted by the end of the run.
Definition at line 65 of file Digitizer.h.
|
inline |
clear DigitsVectorStream
Definition at line 62 of file Digitizer.h.
|
inline |
Definition at line 93 of file Digitizer.h.
|
inline |
Definition at line 72 of file Digitizer.h.
|
inline |
Definition at line 95 of file Digitizer.h.
|
inlinestaticconstexpr |
Definition at line 97 of file Digitizer.h.
|
inline |
Definition at line 94 of file Digitizer.h.
|
inline |
Definition at line 71 of file Digitizer.h.
void Digitizer::init | ( | ) |
Definition at line 40 of file Digitizer.cxx.
|
inline |
Definition at line 74 of file Digitizer.h.
|
inline |
Definition at line 73 of file Digitizer.h.
|
inline |
Definition at line 79 of file Digitizer.h.
void Digitizer::process | ( | const std::vector< LabeledDigit > & | labeledDigit | ) |
Steer conversion of hits to digits.
Definition at line 119 of file Digitizer.cxx.
|
static |
raw pointers used here to allow interface with TF1
Definition at line 93 of file Digitizer.cxx.
Definition at line 157 of file Digitizer.cxx.
|
inline |
Definition at line 76 of file Digitizer.h.
void Digitizer::setEventTime | ( | o2::InteractionTimeRecord | record, |
bool | trigger | ||
) |
Definition at line 247 of file Digitizer.cxx.
double Digitizer::smearEnergy | ( | double | energy | ) |
Definition at line 234 of file Digitizer.cxx.
double Digitizer::smearTime | ( | double | time, |
double | energy | ||
) |
Definition at line 241 of file Digitizer.cxx.