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

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

#include <Digitizer.h>

Inherits TObject.

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 setROFRecordIR (const o2::InteractionRecord &ir)
 
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 50 of file Digitizer.h.

Member Function Documentation

◆ fillOutputContainer()

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

Flush the output container.

chip.addNoise(...); // to be implemented

Charge threshold not implemented yet if (digit.getCharge() < mChargeThreshold) { continue; // skip digits below threshold }

Definition at line 179 of file Digitizer.cxx.

◆ getChargeThreshold()

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

Definition at line 84 of file Digitizer.h.

◆ getEfficiency()

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

Definition at line 86 of file Digitizer.h.

◆ getTimeResolution()

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

Definition at line 85 of file Digitizer.h.

◆ init()

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

Initialize the digitizer.

Noise map to be implemented if (mNoiseMap) { mChips[i].setNoiseMap(mNoiseMap); }

Dead channel map to be implemented if (mDeadChanMap) { mChips[i].disable(mDeadChanMap->isFullChipMasked(i)); mChips[i].setDeadChanMap(mDeadChanMap); }

Definition at line 35 of file Digitizer.cxx.

◆ isContinuous()

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

Definition at line 69 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 62 of file Digitizer.cxx.

◆ setChargeThreshold()

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

Definition at line 78 of file Digitizer.h.

◆ setContinuous()

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

Set continuous readout mode.

Definition at line 68 of file Digitizer.h.

◆ setDigits()

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

Definition at line 53 of file Digitizer.h.

◆ setEfficiency()

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

Definition at line 80 of file Digitizer.h.

◆ setEnergyToCharge()

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

Definition at line 81 of file Digitizer.h.

◆ setEventTime()

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

Set the event time.

Definition at line 64 of file Digitizer.h.

◆ setGeometry()

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

Definition at line 75 of file Digitizer.h.

◆ setMCLabels()

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

Definition at line 54 of file Digitizer.h.

◆ setROFRecordIR()

void o2::iotof::Digitizer::setROFRecordIR ( const o2::InteractionRecord ir)
inline

Definition at line 65 of file Digitizer.h.

◆ setROFRecords()

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

Definition at line 55 of file Digitizer.h.

◆ setTimeResolution()

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

Definition at line 79 of file Digitizer.h.


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