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

#include <Digitizer.h>

Classes

struct  BCCache
 
struct  CFDOutput
 
struct  GoodInteractionTimeRecord
 

Public Member Functions

 Digitizer (Int_t mode=0)
 
 ~Digitizer ()=default
 
void process (const std::vector< o2::ft0::HitType > *hits, std::vector< o2::ft0::Digit > &digitsBC, std::vector< o2::ft0::ChannelData > &digitsCh, std::vector< o2::ft0::DetTrigInput > &digitsTrig, o2::dataformats::MCTruthContainer< o2::ft0::MCLabel > &label)
 
void flush (std::vector< o2::ft0::Digit > &digitsBC, std::vector< o2::ft0::ChannelData > &digitsCh, std::vector< o2::ft0::DetTrigInput > &digitsTrig, o2::dataformats::MCTruthContainer< o2::ft0::MCLabel > &label)
 
void flush_all (std::vector< o2::ft0::Digit > &digitsBC, std::vector< o2::ft0::ChannelData > &digitsCh, std::vector< o2::ft0::DetTrigInput > &digitsTrig, o2::dataformats::MCTruthContainer< o2::ft0::MCLabel > &label)
 
void initParameters ()
 
void printParameters () const
 
void setEventID (Int_t id)
 
void setSrcID (Int_t id)
 
const o2::InteractionRecordgetInteractionRecord () const
 
o2::InteractionRecordgetInteractionRecord (o2::InteractionRecord &src)
 
void setInteractionRecord (const o2::InteractionTimeRecord &src)
 
uint32_t getOrbit () const
 
uint16_t getBC () const
 
int getEvent () const
 
double measure_amplitude (const std::vector< float > &times) const
 
void init ()
 
void finish ()
 
void SetChannelOffset (o2::ft0::FT0ChannelTimeCalibrationObject const *caliboffsets)
 
void setDeadChannelMap (o2::fit::DeadChannelMap const *deadChannelMap)
 
double getTimeOffsetWrtBC () const
 
CFDOutput get_time (const std::vector< float > &times, float deadTime)
 
void setContinuous (bool v=true)
 
bool isContinuous () const
 

Protected Member Functions

float signalForm (float x) const
 
template<typename VcType >
VcType signalFormVc (VcType x) const
 

Detailed Description

Definition at line 38 of file Digitizer.h.

Constructor & Destructor Documentation

◆ Digitizer()

o2::ft0::Digitizer::Digitizer ( Int_t  mode = 0)
inline

Definition at line 46 of file Digitizer.h.

◆ ~Digitizer()

o2::ft0::Digitizer::~Digitizer ( )
default

Member Function Documentation

◆ finish()

void Digitizer::finish ( )

Definition at line 425 of file Digitizer.cxx.

◆ flush()

void Digitizer::flush ( std::vector< o2::ft0::Digit > &  digitsBC,
std::vector< o2::ft0::ChannelData > &  digitsCh,
std::vector< o2::ft0::DetTrigInput > &  digitsTrig,
o2::dataformats::MCTruthContainer< o2::ft0::MCLabel > &  label 
)

Definition at line 358 of file Digitizer.cxx.

◆ flush_all()

void Digitizer::flush_all ( std::vector< o2::ft0::Digit > &  digitsBC,
std::vector< o2::ft0::ChannelData > &  digitsCh,
std::vector< o2::ft0::DetTrigInput > &  digitsTrig,
o2::dataformats::MCTruthContainer< o2::ft0::MCLabel > &  label 
)

Definition at line 374 of file Digitizer.cxx.

◆ get_time()

Digitizer::CFDOutput Digitizer::get_time ( const std::vector< float > &  times,
float  deadTime 
)

Definition at line 69 of file Digitizer.cxx.

◆ getBC()

uint16_t o2::ft0::Digitizer::getBC ( ) const
inline

Definition at line 69 of file Digitizer.h.

◆ getEvent()

int o2::ft0::Digitizer::getEvent ( ) const
inline

Definition at line 70 of file Digitizer.h.

◆ getInteractionRecord() [1/2]

const o2::InteractionRecord & o2::ft0::Digitizer::getInteractionRecord ( ) const
inline

Definition at line 65 of file Digitizer.h.

◆ getInteractionRecord() [2/2]

o2::InteractionRecord & o2::ft0::Digitizer::getInteractionRecord ( o2::InteractionRecord src)
inline

Definition at line 66 of file Digitizer.h.

◆ getOrbit()

uint32_t o2::ft0::Digitizer::getOrbit ( ) const
inline

Definition at line 68 of file Digitizer.h.

◆ getTimeOffsetWrtBC()

double o2::ft0::Digitizer::getTimeOffsetWrtBC ( ) const
inline

Definition at line 78 of file Digitizer.h.

◆ init()

void Digitizer::init ( )

Definition at line 418 of file Digitizer.cxx.

◆ initParameters()

void Digitizer::initParameters ( )

Definition at line 389 of file Digitizer.cxx.

◆ isContinuous()

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

Definition at line 87 of file Digitizer.h.

◆ measure_amplitude()

double Digitizer::measure_amplitude ( const std::vector< float > &  times) const

Definition at line 167 of file Digitizer.cxx.

◆ printParameters()

void Digitizer::printParameters ( ) const

Definition at line 431 of file Digitizer.cxx.

◆ process()

void Digitizer::process ( const std::vector< o2::ft0::HitType > *  hits,
std::vector< o2::ft0::Digit > &  digitsBC,
std::vector< o2::ft0::ChannelData > &  digitsCh,
std::vector< o2::ft0::DetTrigInput > &  digitsTrig,
o2::dataformats::MCTruthContainer< o2::ft0::MCLabel > &  label 
)

Definition at line 190 of file Digitizer.cxx.

◆ SetChannelOffset()

void o2::ft0::Digitizer::SetChannelOffset ( o2::ft0::FT0ChannelTimeCalibrationObject const *  caliboffsets)
inline

Definition at line 75 of file Digitizer.h.

◆ setContinuous()

void o2::ft0::Digitizer::setContinuous ( bool  v = true)
inline

Definition at line 86 of file Digitizer.h.

◆ setDeadChannelMap()

void o2::ft0::Digitizer::setDeadChannelMap ( o2::fit::DeadChannelMap const *  deadChannelMap)
inline

Definition at line 77 of file Digitizer.h.

◆ setEventID()

void o2::ft0::Digitizer::setEventID ( Int_t  id)
inline

Definition at line 63 of file Digitizer.h.

◆ setInteractionRecord()

void o2::ft0::Digitizer::setInteractionRecord ( const o2::InteractionTimeRecord src)
inline

Definition at line 67 of file Digitizer.h.

◆ setSrcID()

void o2::ft0::Digitizer::setSrcID ( Int_t  id)
inline

Definition at line 64 of file Digitizer.h.

◆ signalForm()

float o2::ft0::Digitizer::signalForm ( float  x) const
inlineprotected

Definition at line 106 of file Digitizer.h.

◆ signalFormVc()

template<typename VcType >
VcType o2::ft0::Digitizer::signalFormVc ( VcType  x) const
inlineprotected

Definition at line 121 of file Digitizer.h.


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