Project
Loading...
Searching...
No Matches
o2::itsmft::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 setDigits (std::vector< o2::itsmft::Digit > *dig)
 
void setMCLabels (o2::dataformats::MCTruthContainer< o2::MCCompLabel > *mclb)
 
void setROFRecords (std::vector< o2::itsmft::ROFRecord > *rec)
 
o2::itsmft::DigiParamsgetParams ()
 
const o2::itsmft::DigiParamsgetParams () const
 
void setNoiseMap (const o2::itsmft::NoiseMap *mp)
 
void setDeadChannelsMap (const o2::itsmft::NoiseMap *mp)
 
void init ()
 
auto getChipResponse (int chipID)
 
void process (const std::vector< Hit > *hits, int evID, int srcID)
 Steer conversion of hits to digits.
 
void setEventTime (const o2::InteractionTimeRecord &irt)
 
double getEndTimeOfROFMax () const
 
void setContinuous (bool v)
 
bool isContinuous () const
 
void fillOutputContainer (uint32_t maxFrame=0xffffffff)
 
void setDigiParams (const o2::itsmft::DigiParams &par)
 
const o2::itsmft::DigiParamsgetDigitParams () const
 
void setGeometry (const o2::itsmft::GeometryTGeo *gm)
 
uint32_t getEventROFrameMin () const
 
uint32_t getEventROFrameMax () const
 
void resetEventROFrames ()
 

Detailed Description

Definition at line 46 of file Digitizer.h.

Constructor & Destructor Documentation

◆ Digitizer() [1/2]

o2::itsmft::Digitizer::Digitizer ( )
default

◆ ~Digitizer()

o2::itsmft::Digitizer::~Digitizer ( )
overridedefault

◆ Digitizer() [2/2]

o2::itsmft::Digitizer::Digitizer ( const Digitizer )
delete

Member Function Documentation

◆ fillOutputContainer()

void Digitizer::fillOutputContainer ( uint32_t  maxFrame = 0xffffffff)

using temporarly itsmft::ROFRecord

Definition at line 204 of file Digitizer.cxx.

◆ getChipResponse()

o2::trk::ChipSimResponse * Digitizer::getChipResponse ( int  chipID)

VD

ML/OT

Definition at line 111 of file Digitizer.cxx.

◆ getDigitParams()

const o2::itsmft::DigiParams & o2::itsmft::Digitizer::getDigitParams ( ) const
inline

Definition at line 82 of file Digitizer.h.

◆ getEndTimeOfROFMax()

double o2::itsmft::Digitizer::getEndTimeOfROFMax ( ) const
inline

< return the time corresponding to end of the last reserved ROFrame : mROFrameMax

Definition at line 71 of file Digitizer.h.

◆ getEventROFrameMax()

uint32_t o2::itsmft::Digitizer::getEventROFrameMax ( ) const
inline

Definition at line 88 of file Digitizer.h.

◆ getEventROFrameMin()

uint32_t o2::itsmft::Digitizer::getEventROFrameMin ( ) const
inline

Definition at line 87 of file Digitizer.h.

◆ getParams() [1/2]

o2::itsmft::DigiParams & o2::itsmft::Digitizer::getParams ( )
inline

Definition at line 59 of file Digitizer.h.

◆ getParams() [2/2]

const o2::itsmft::DigiParams & o2::itsmft::Digitizer::getParams ( ) const
inline

Definition at line 60 of file Digitizer.h.

◆ init()

void Digitizer::init ( )

temporary, to not make it crash

for the moment considering the same response

for the moment considering the same response

setting scale factors to adapt to the APTS response function (adjusting pitch and Y shift)

introducing this scaling factor because the silicon thickness for the moment is 1 mm -> rescale to 45 um which is the depth of the APTS response

introducing this scaling factor because the silicon thickness for the moment is 1 mm -> rescale to 45 um which is the depth of the APTS response

Definition at line 37 of file Digitizer.cxx.

◆ isContinuous()

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

Definition at line 78 of file Digitizer.h.

◆ operator=()

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

◆ process()

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

Steer conversion of hits to digits.

Definition at line 125 of file Digitizer.cxx.

◆ resetEventROFrames()

void o2::itsmft::Digitizer::resetEventROFrames ( )
inline

Definition at line 89 of file Digitizer.h.

◆ setContinuous()

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

Definition at line 77 of file Digitizer.h.

◆ setDeadChannelsMap()

void o2::itsmft::Digitizer::setDeadChannelsMap ( const o2::itsmft::NoiseMap mp)
inline

Definition at line 62 of file Digitizer.h.

◆ setDigiParams()

void o2::itsmft::Digitizer::setDigiParams ( const o2::itsmft::DigiParams par)
inline

Definition at line 81 of file Digitizer.h.

◆ setDigits()

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

Definition at line 56 of file Digitizer.h.

◆ setEventTime()

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

Definition at line 159 of file Digitizer.cxx.

◆ setGeometry()

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

Definition at line 85 of file Digitizer.h.

◆ setMCLabels()

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

Definition at line 57 of file Digitizer.h.

◆ setNoiseMap()

void o2::itsmft::Digitizer::setNoiseMap ( const o2::itsmft::NoiseMap mp)
inline

Definition at line 61 of file Digitizer.h.

◆ setROFRecords()

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

Definition at line 58 of file Digitizer.h.


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