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

Digitizer for the ALICE3 Inner/Outer TOF detector. More...

#include <Digitizer.h>

Public Member Functions

void setDigits (std::vector< o2::iotof::Digit > *dig)
 
void setMCLabels (o2::dataformats::MCTruthContainer< o2::MCCompLabel > *mclb)
 
void setROFRecords (std::vector< o2::itsmft::ROFRecord > *rec)
 
void init ()
 Initialize the digitizer.
 
void process (const std::vector< o2::itsmft::Hit > *hits, int evID, int srcID)
 Steer conversion of hits to digits.
 
void setEventTime (const o2::InteractionTimeRecord &irt)
 Set the event time.
 
void setContinuous (bool v)
 Set continuous readout mode.
 
bool isContinuous () const
 
void fillOutputContainer ()
 Flush the output container.
 
void setGeometry (const o2::iotof::GeometryTGeo *gm)
 
void setChargeThreshold (float thr)
 
void setTimeResolution (float res)
 
void setEfficiency (float eff)
 
void setEnergyToCharge (float e2c)
 
float getChargeThreshold () const
 
float getTimeResolution () const
 
float getEfficiency () const
 

Detailed Description

Digitizer for the ALICE3 Inner/Outer TOF detector.

Converts MC hits into detector digits by:

  • Applying time smearing according to detector resolution
  • Converting energy loss to charge
  • Applying charge threshold
  • Managing readout frames (ROF)

Definition at line 43 of file Digitizer.h.

Member Function Documentation

◆ fillOutputContainer()

void o2::iotof::Digitizer::fillOutputContainer ( )

Flush the output container.

Definition at line 167 of file Digitizer.cxx.

◆ getChargeThreshold()

float o2::iotof::Digitizer::getChargeThreshold ( ) const
inline

Definition at line 76 of file Digitizer.h.

◆ getEfficiency()

float o2::iotof::Digitizer::getEfficiency ( ) const
inline

Definition at line 78 of file Digitizer.h.

◆ getTimeResolution()

float o2::iotof::Digitizer::getTimeResolution ( ) const
inline

Definition at line 77 of file Digitizer.h.

◆ init()

void o2::iotof::Digitizer::init ( )

Initialize the digitizer.

Definition at line 35 of file Digitizer.cxx.

◆ isContinuous()

bool o2::iotof::Digitizer::isContinuous ( ) const
inline

Definition at line 61 of file Digitizer.h.

◆ process()

void o2::iotof::Digitizer::process ( const std::vector< o2::itsmft::Hit > *  hits,
int  evID,
int  srcID 
)

Steer conversion of hits to digits.

Definition at line 46 of file Digitizer.cxx.

◆ setChargeThreshold()

void o2::iotof::Digitizer::setChargeThreshold ( float  thr)
inline

Definition at line 70 of file Digitizer.h.

◆ setContinuous()

void o2::iotof::Digitizer::setContinuous ( bool  v)
inline

Set continuous readout mode.

Definition at line 60 of file Digitizer.h.

◆ setDigits()

void o2::iotof::Digitizer::setDigits ( std::vector< o2::iotof::Digit > *  dig)
inline

Definition at line 46 of file Digitizer.h.

◆ setEfficiency()

void o2::iotof::Digitizer::setEfficiency ( float  eff)
inline

Definition at line 72 of file Digitizer.h.

◆ setEnergyToCharge()

void o2::iotof::Digitizer::setEnergyToCharge ( float  e2c)
inline

Definition at line 73 of file Digitizer.h.

◆ setEventTime()

void o2::iotof::Digitizer::setEventTime ( const o2::InteractionTimeRecord irt)
inline

Set the event time.

Definition at line 57 of file Digitizer.h.

◆ setGeometry()

void o2::iotof::Digitizer::setGeometry ( const o2::iotof::GeometryTGeo gm)
inline

Definition at line 67 of file Digitizer.h.

◆ setMCLabels()

void o2::iotof::Digitizer::setMCLabels ( o2::dataformats::MCTruthContainer< o2::MCCompLabel > *  mclb)
inline

Definition at line 47 of file Digitizer.h.

◆ setROFRecords()

void o2::iotof::Digitizer::setROFRecords ( std::vector< o2::itsmft::ROFRecord > *  rec)
inline

Definition at line 48 of file Digitizer.h.

◆ setTimeResolution()

void o2::iotof::Digitizer::setTimeResolution ( float  res)
inline

Definition at line 71 of file Digitizer.h.


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