CbmRoot
Loading...
Searching...
No Matches
cbm::algo::trd::DigiRec Class Reference

#include <DigiRec.h>

Inheritance diagram for cbm::algo::trd::DigiRec:
[legend]
Collaboration diagram for cbm::algo::trd::DigiRec:
[legend]

Public Types

enum class  eCbmTrdAsicType : size_t { kSPADIC = 0 , kFASP , kNTypes }
 
enum class  eTriggerType : int32_t {
  kBeginTriggerTypes = 0 , kSelf = kBeginTriggerTypes , kNeighbor , kMulti ,
  kTrg2 , kNTrg
}
 
enum  CbmTrdDigiDef { kFlag1 = 0 , kFlag2 , kFlag3 , kNflags }
 

Public Member Functions

 DigiRec ()
 Default constructor.
 
 DigiRec (const CbmTrdDigi &d, double *g=NULL, double *t=NULL)
 Wrap CbmTrdDigi constructor.
 
 DigiRec (const CbmTrdDigi &dt, const CbmTrdDigi &dr, double *g=NULL, double *t=NULL)
 Constructor and merger.
 
virtual ~DigiRec ()
 
double GetTiltCharge (bool &on) const
 Return calibrated tilt signal.
 
double GetTiltTime () const
 Return calibrated tilt time [ns].
 
double GetRectCharge (bool &on) const
 Return calibrated rect signal.
 
double GetRectTime () const
 Return calibrated rect time [ns].
 
double GetCharge (int typ, bool &on) const
 Return calibrated signal.
 
double GetTime (int typ) const
 Return calibrated time.
 
bool HasRectOvf () const
 
bool HasTiltOvf () const
 
void Init (double g[2], double t[3])
 Init FEE gain and time walk corrections.
 
void AddCharge (CbmTrdDigi *sd, double f)
 Charge addition in case of pile-up (FASP simulation only)
 
void AddCharge (double c, double f=1)
 Charge addition in case of pile-up (SPADIC simulation only)
 
int32_t GetAddress () const
 Address getter for module in the format defined by CbmTrdDigi (format of CbmTrdAddress can be accessed via CbmTrdParModDigi)
 
int32_t GetAddressChannel () const
 Getter read-out id.
 
int32_t GetAddressModule () const
 Getter module address in the experiment.
 
double GetCharge () const
 Common purpose charge getter.
 
double GetCharge (double &tilt, int32_t &dt) const
 Charge getter for FASP.
 
double GetChargeError () const
 Charge error parametrisation. SPADIC specific see GetErrorClass()
 
int32_t GetErrorClass () const
 Channel status. SPADIC specific see LUT.
 
double GetTime () const
 Getter for physical time [ns]. Accounts for clock representation of each ASIC. In SPADIC case physical time is already stored in fTime.
 
uint64_t GetTimeDAQ () const
 Getter for global DAQ time [clk]. Differs for each ASIC. In FASP case DAQ time is already stored in fTime.
 
int32_t GetTriggerType () const
 Channel trigger type. SPADIC specific see CbmTrdTriggerType.
 
eCbmTrdAsicType GetType () const
 Channel FEE SPADIC/FASP according to CbmTrdAsicType.
 
bool IsFASP () const
 Shortcut to check if FASP digi.
 
bool IsMasked () const
 Query digi mask (FASP only)
 
bool IsPileUp () const
 Query digi pile-up (FASP only)
 
bool IsFlagged (const int32_t iflag) const
 Query flag status (generic)
 
int32_t Layer () const
 
int32_t Module () const
 
void SetAddress (const int32_t a)
 Module address setter for digi.
 
void SetAddressModule (const int32_t a)
 Alias for SetAddress()
 
void SetAsic (eCbmTrdAsicType ty=eCbmTrdAsicType::kSPADIC)
 
void SetCharge (float c)
 Charge setter for SPADIC ASIC.
 
void SetCharge (float cT, float cR, int32_t dt=0)
 Charge setter for FASP ASIC.
 
void SetFlag (const int32_t iflag, bool set=true)
 Generic flag status setter.
 
void SetMasked (bool set=true)
 Set digi mask (FASP only)
 
void SetPileUp (bool set=true)
 Set digi pile-up (FASP only)
 
void SetTime (double t)
 Set global digi time (ns)
 
void SetTimeDAQ (uint64_t t)
 Set global digi time (clk)
 
void SetTimeOffset (int8_t t)
 Set time offset of rectangular to tilt pads for FASP (clk)
 
void SetTriggerType (const eTriggerType triggerType)
 Set digi trigger type.
 
void SetTriggerType (const int32_t triggerValue)
 Set digi trigger type.
 
void SetErrorClass (const int32_t n)
 Set digi error class (SPADIC only)
 
std::string ToString () const
 String representation of a TRD digi. Account for digi type and specific information.
 
void SetStopType (int32_t)
 
int32_t GetStopType ()
 
void SetPulseShape (float[45])
 
double GetChargeTR () const
 
void SetInfoType (int32_t)
 
int32_t GetNrSamples ()
 
float * GetSamples ()
 

Static Public Member Functions

static float GetBaselineCorr ()
 
static float Clk (eCbmTrdAsicType ty)
 DAQ clock accessor for each ASIC.
 
static ECbmModuleId GetSystem ()
 
static const char * GetClassName ()
 Class name (static)
 
static const char * GetBranchName ()
 Get the desired name of the branch for this obj in the cbm output tree (static)
 
static std::pair< eTriggerType, bool > GetTriggerPair (const int32_t triggerValue)
 Get the trigger combination, i.e. St or Nt and is multihit or not (true/false)
 

Protected Member Functions

void SetChannel (const int32_t a)
 
void SetLayer (const int32_t a)
 
void SetModule (const int32_t a)
 

Protected Attributes

uint32_t fInfo = 0
 
uint32_t fCharge = 0
 
uint64_t fTime = 0
 

Static Protected Attributes

static const double fgClk [static_cast< size_t >(eCbmTrdAsicType::kNTypes)+1] = {62.5, 12.5, 0.0}
 clock length in ns for acquisition
 
static const float fgPrecission [static_cast< size_t >(eCbmTrdAsicType::kNTypes)+1] = {1.e3, 1., 0.0}
 Nr. of digits stored for ASIC.
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int)
 
 ClassDefNV (CbmTrdDigi, 4)
 

Private Attributes

unsigned char fStatus
 
double fG [2]
 
double fT [3]
 

Static Private Attributes

static float fgBaseline = 0.25
 FASP baseline [V].
 
static float fgOutGain = 2.025
 FASP -> ADC gain [V/4095 ADC].
 
static const int32_t fgkRoOffset = 0
 
static const int32_t fgkModOffset = 12
 
static const int32_t fgkLyOffset = 19
 
static const int32_t fgkErrOffset = 23
 
static const int32_t fgkFlgOffset = 26
 
static const int32_t fgkTrgOffset = 29
 
static const int32_t fgkTypOffset = 31
 

Friends

class Cluster2D
 
class HitFinder2D
 

Detailed Description

Definition at line 25 of file DigiRec.h.

Member Enumeration Documentation

◆ CbmTrdDigiDef

enum CbmTrdDigi::CbmTrdDigiDef
inherited
Enumerator
kFlag1 
kFlag2 
kFlag3 
kNflags 

Definition at line 37 of file CbmTrdDigi.h.

◆ eCbmTrdAsicType

enum class CbmTrdDigi::eCbmTrdAsicType : size_t
stronginherited
Enumerator
kSPADIC 
kFASP 
kNTypes 

Definition at line 22 of file CbmTrdDigi.h.

◆ eTriggerType

enum class CbmTrdDigi::eTriggerType : int32_t
stronginherited
Enumerator
kBeginTriggerTypes 
kSelf 
kNeighbor 
kMulti 
kTrg2 
kNTrg 

Definition at line 28 of file CbmTrdDigi.h.

Constructor & Destructor Documentation

◆ DigiRec() [1/3]

DigiRec::DigiRec ( )

Default constructor.

Definition at line 17 of file DigiRec.cxx.

References fG, and fT.

◆ DigiRec() [2/3]

DigiRec::DigiRec ( const CbmTrdDigi & d,
double * g = NULL,
double * t = NULL )

Wrap CbmTrdDigi constructor.

Definition at line 25 of file DigiRec.cxx.

References fG, fStatus, fT, CbmTrdDigi::GetCharge(), and SETBIT.

◆ DigiRec() [3/3]

DigiRec::DigiRec ( const CbmTrdDigi & dt,
const CbmTrdDigi & dr,
double * g = NULL,
double * t = NULL )

Constructor and merger.

Constructor and RAW digi merger

Definition at line 47 of file DigiRec.cxx.

References fG, fStatus, fT, CbmTrdDigi::GetCharge(), CbmTrdDigi::GetTimeDAQ(), CbmTrdDigi::GetTriggerType(), SETBIT, CbmTrdDigi::SetCharge(), and CbmTrdDigi::SetTriggerType().

◆ ~DigiRec()

virtual cbm::algo::trd::DigiRec::~DigiRec ( )
inlinevirtual

Definition at line 37 of file DigiRec.h.

Member Function Documentation

◆ AddCharge() [1/2]

void CbmTrdDigi::AddCharge ( CbmTrdDigi * sd,
double f )
inherited

Charge addition in case of pile-up (FASP simulation only)

Parameters
[in]sdprevious digi absorbed by current
[in]fscaling factor

Definition at line 95 of file CbmTrdDigi.cxx.

References CbmTrdDigi::fCharge, CbmTrdDigi::fgPrecission, CbmTrdDigi::GetType(), and CbmTrdDigi::kFASP.

◆ AddCharge() [2/2]

void CbmTrdDigi::AddCharge ( double c,
double f = 1 )
inherited

Charge addition in case of pile-up (SPADIC simulation only)

Parameters
[in]cextra charge to be added
[in]fscaling factor

Definition at line 123 of file CbmTrdDigi.cxx.

References CbmTrdDigi::GetCharge(), CbmTrdDigi::GetType(), CbmTrdDigi::kSPADIC, and CbmTrdDigi::SetCharge().

◆ ClassDefNV()

CbmTrdDigi::ClassDefNV ( CbmTrdDigi ,
4  )
privateinherited

◆ Clk()

◆ GetAddress()

int32_t CbmTrdDigi::GetAddress ( ) const
inlineinherited

◆ GetAddressChannel()

◆ GetAddressModule()

◆ GetBaselineCorr()

static float cbm::algo::trd::DigiRec::GetBaselineCorr ( )
inlinestatic

Definition at line 63 of file DigiRec.h.

References fgBaseline, and fgOutGain.

Referenced by GetCharge().

◆ GetBranchName()

static const char * CbmTrdDigi::GetBranchName ( )
inlinestaticinherited

Get the desired name of the branch for this obj in the cbm output tree (static)

Returns
TrdDigi

Definition at line 149 of file CbmTrdDigi.h.

Referenced by CbmDeviceDigiEventSink::InitTask().

◆ GetCharge() [1/3]

double cbm::algo::trd::DigiRec::GetCharge ( int typ,
bool & on ) const

Return calibrated signal.

Parameters
[in]typtilt [0], rect [1]
[out]onflag signal exists

Definition at line 76 of file DigiRec.cxx.

References fG, GetBaselineCorr(), and CbmTrdDigi::GetCharge().

◆ GetCharge() [2/3]

◆ GetCharge() [3/3]

double CbmTrdDigi::GetCharge ( double & tilt,
int32_t & dt ) const
inherited

Charge getter for FASP.

Parameters
[out]tilton returns contain the charge measured on tilted pads
[out]dton returns contain the time difference wrt tilted pads [ASIC clocks]
Returns
charge measured on rectangular coupled pads

Retrieve signal information for FASP. Memory allocation of 32 bits: tttt.tttt TTTT.TTTT TTTT.RRRR RRRR.RRRR t : time difference of rectangular to tilt pads T : tilt pads signal R : Rectangular pads signal

Definition at line 161 of file CbmTrdDigi.cxx.

References CbmTrdDigi::fCharge, CbmTrdDigi::fgPrecission, CbmTrdDigi::GetType(), and CbmTrdDigi::kFASP.

◆ GetChargeError()

double CbmTrdDigi::GetChargeError ( ) const
inherited

Charge error parametrisation. SPADIC specific see GetErrorClass()

Definition at line 181 of file CbmTrdDigi.cxx.

◆ GetChargeTR()

double CbmTrdDigi::GetChargeTR ( ) const
inlineinherited

Definition at line 245 of file CbmTrdDigi.h.

◆ GetClassName()

static const char * CbmTrdDigi::GetClassName ( )
inlinestaticinherited

Class name (static)

Returns
CbmTrdDigi

Definition at line 144 of file CbmTrdDigi.h.

Referenced by TEST().

◆ GetErrorClass()

int32_t CbmTrdDigi::GetErrorClass ( ) const
inlineinherited

Channel status. SPADIC specific see LUT.

Definition at line 133 of file CbmTrdDigi.h.

References CbmTrdDigi::fgkErrOffset, and CbmTrdDigi::fInfo.

Referenced by CbmTrdModuleRecR::MakeHit(), and CbmTrdDigi::ToString().

◆ GetNrSamples()

int32_t CbmTrdDigi::GetNrSamples ( )
inlineinherited

Definition at line 247 of file CbmTrdDigi.h.

◆ GetRectCharge()

double cbm::algo::trd::DigiRec::GetRectCharge ( bool & on) const
inline

Return calibrated rect signal.

Parameters
[out]onflag signal exists

Definition at line 46 of file DigiRec.h.

References CbmTrdDigi::GetCharge().

Referenced by cbm::algo::trd::HitFinder2D::ProjectDigis(), and cbm::algo::trd::HitMerger2D::ProjectDigis().

◆ GetRectTime()

double cbm::algo::trd::DigiRec::GetRectTime ( ) const
inline

Return calibrated rect time [ns].

Definition at line 48 of file DigiRec.h.

References CbmTrdDigi::GetTime().

Referenced by cbm::algo::trd::HitFinder2D::ProjectDigis(), and cbm::algo::trd::HitMerger2D::ProjectDigis().

◆ GetSamples()

float * CbmTrdDigi::GetSamples ( )
inlineinherited

Definition at line 248 of file CbmTrdDigi.h.

◆ GetStopType()

int32_t CbmTrdDigi::GetStopType ( )
inlineinherited

Definition at line 242 of file CbmTrdDigi.h.

◆ GetSystem()

static ECbmModuleId CbmTrdDigi::GetSystem ( )
inlinestaticinherited

System ID (static)

Returns
System identifier (ECbmModuleId)

Definition at line 138 of file CbmTrdDigi.h.

References kTrd.

Referenced by compareTrdDigiDataMembers(), and compareTrdDigiDataMembers().

◆ GetTiltCharge()

double cbm::algo::trd::DigiRec::GetTiltCharge ( bool & on) const
inline

Return calibrated tilt signal.

Parameters
[out]onflag signal exists

Definition at line 41 of file DigiRec.h.

References CbmTrdDigi::GetCharge().

Referenced by cbm::algo::trd::HitFinder2D::ProjectDigis(), and cbm::algo::trd::HitMerger2D::ProjectDigis().

◆ GetTiltTime()

double cbm::algo::trd::DigiRec::GetTiltTime ( ) const
inline

Return calibrated tilt time [ns].

Definition at line 43 of file DigiRec.h.

References CbmTrdDigi::GetTime().

Referenced by cbm::algo::trd::HitFinder2D::ProjectDigis(), and cbm::algo::trd::HitMerger2D::ProjectDigis().

◆ GetTime() [1/2]

double DigiRec::GetTime ( int typ) const

Return calibrated time.

Parameters
[in]typtilt [0], rect [1]

Definition at line 101 of file DigiRec.cxx.

References fT, CbmTrdDigi::GetCharge(), and CbmTrdDigi::GetTimeDAQ().

◆ GetTime() [2/2]

◆ GetTimeDAQ()

◆ GetTriggerPair()

std::pair< CbmTrdDigi::eTriggerType, bool > CbmTrdDigi::GetTriggerPair ( const int32_t triggerValue)
staticinherited

Get the trigger combination, i.e. St or Nt and is multihit or not (true/false)

Parameters
[in]int32_ttrigger value of a digi as stored in fInfo
Returns
std::pair<eTriggerType, bool> <St or Nt, multihit or not>

Definition at line 184 of file CbmTrdDigi.cxx.

Referenced by CbmTrdUnpackMonitor::fillHisto().

◆ GetTriggerType()

◆ GetType()

◆ HasRectOvf()

bool cbm::algo::trd::DigiRec::HasRectOvf ( ) const
inline

◆ HasTiltOvf()

bool cbm::algo::trd::DigiRec::HasTiltOvf ( ) const
inline

◆ Init()

void DigiRec::Init ( double g[2],
double t[3] )

Init FEE gain and time walk corrections.

Definition at line 116 of file DigiRec.cxx.

References fG, and fT.

◆ IsFASP()

bool CbmTrdDigi::IsFASP ( ) const
inlineinherited

Shortcut to check if FASP digi.

Definition at line 179 of file CbmTrdDigi.h.

References CbmTrdDigi::GetType(), and CbmTrdDigi::kFASP.

Referenced by cbm::algo::trd::Hitfind::RunModuleParallelMerge(), and cbm::algo::trd::Hitfind::RunRowParallel().

◆ IsFlagged()

bool CbmTrdDigi::IsFlagged ( const int32_t iflag) const
inherited

◆ IsMasked()

bool CbmTrdDigi::IsMasked ( ) const
inlineinherited

Query digi mask (FASP only)

Definition at line 182 of file CbmTrdDigi.h.

References CbmTrdDigi::GetType(), CbmTrdDigi::IsFlagged(), CbmTrdDigi::kFASP, and CbmTrdDigi::kFlag3.

Referenced by CbmTrdModuleSim2D::FlushBuffer(), and CbmTrdDigi::ToString().

◆ IsPileUp()

bool CbmTrdDigi::IsPileUp ( ) const
inlineinherited

Query digi pile-up (FASP only)

Definition at line 184 of file CbmTrdDigi.h.

References CbmTrdDigi::GetType(), CbmTrdDigi::IsFlagged(), CbmTrdDigi::kFASP, and CbmTrdDigi::kFlag2.

Referenced by CbmTrdDigi::ToString().

◆ Layer()

int32_t CbmTrdDigi::Layer ( ) const
inlineinherited

Definition at line 187 of file CbmTrdDigi.h.

References CbmTrdDigi::fgkLyOffset, and CbmTrdDigi::fInfo.

Referenced by CbmTrdDigi::GetAddressModule(), and CbmTrdDigi::ToString().

◆ Module()

int32_t CbmTrdDigi::Module ( ) const
inlineinherited

Definition at line 188 of file CbmTrdDigi.h.

References CbmTrdDigi::fgkModOffset, and CbmTrdDigi::fInfo.

Referenced by CbmTrdDigi::GetAddressModule(), and CbmTrdDigi::ToString().

◆ serialize()

template<class Archive >
void CbmTrdDigi::serialize ( Archive & ar,
const unsigned int  )
inlineprivateinherited

Definition at line 297 of file CbmTrdDigi.h.

References CbmTrdDigi::fCharge, CbmTrdDigi::fInfo, and CbmTrdDigi::fTime.

◆ SetAddress()

void CbmTrdDigi::SetAddress ( const int32_t a)
inherited

Module address setter for digi.

Parameters
[in]amodule address as it is defined in CbmTrdAddress

Definition at line 203 of file CbmTrdDigi.cxx.

References CbmTrdAddress::GetLayerId(), CbmTrdAddress::GetModuleId(), CbmTrdDigi::SetLayer(), and CbmTrdDigi::SetModule().

Referenced by CbmTrdDigi::CbmTrdDigi(), and CbmTrdDigi::SetAddressModule().

◆ SetAddressModule()

void CbmTrdDigi::SetAddressModule ( const int32_t a)
inlineinherited

Alias for SetAddress()

Definition at line 195 of file CbmTrdDigi.h.

References CbmTrdDigi::SetAddress().

◆ SetAsic()

void CbmTrdDigi::SetAsic ( eCbmTrdAsicType ty = eCbmTrdAsicType::kSPADIC)
inherited

◆ SetChannel()

void CbmTrdDigi::SetChannel ( const int32_t a)
inlineprotectedinherited

Definition at line 251 of file CbmTrdDigi.h.

References CbmTrdDigi::fgkRoOffset, and CbmTrdDigi::fInfo.

Referenced by CbmTrdDigi::CbmTrdDigi(), and CbmTrdDigi::CbmTrdDigi().

◆ SetCharge() [1/2]

◆ SetCharge() [2/2]

void CbmTrdDigi::SetCharge ( float cT,
float cR,
int32_t dt = 0 )
inherited

Charge setter for FASP ASIC.

Parameters
[in]cTcharge on tilt paired
[in]cRcharge on rectangular paired
[in]dttime difference between T and R channel

Load signal information for FASP. Memory allocation of 32 bits: tttt.tttt TTTT.TTTT TTTT.RRRR RRRR.RRRR t : time difference of rectangular to tilt pads (8 bits) T : tilt pads signal (12 bits) R : Rectangular pads signal (12 bits)

Definition at line 218 of file CbmTrdDigi.cxx.

References CbmTrdDigi::fCharge, CbmTrdDigi::fgPrecission, and CbmTrdDigi::kFASP.

◆ SetErrorClass()

void CbmTrdDigi::SetErrorClass ( const int32_t n)
inlineinherited

Set digi error class (SPADIC only)

Definition at line 231 of file CbmTrdDigi.h.

References CbmTrdDigi::fgkErrOffset, and CbmTrdDigi::fInfo.

Referenced by CbmTrdModuleSimR::AddDigi(), CbmTrdDigi::CbmTrdDigi(), and CbmTrdModuleSimR::ProcessPulseBuffer().

◆ SetFlag()

void CbmTrdDigi::SetFlag ( const int32_t iflag,
bool set = true )
inherited

◆ SetInfoType()

void CbmTrdDigi::SetInfoType ( int32_t )
inlineinherited

Definition at line 246 of file CbmTrdDigi.h.

◆ SetLayer()

void CbmTrdDigi::SetLayer ( const int32_t a)
inlineprotectedinherited

Definition at line 256 of file CbmTrdDigi.h.

References CbmTrdDigi::fgkLyOffset, and CbmTrdDigi::fInfo.

Referenced by CbmTrdDigi::SetAddress().

◆ SetMasked()

void CbmTrdDigi::SetMasked ( bool set = true)
inlineinherited

Set digi mask (FASP only)

Definition at line 211 of file CbmTrdDigi.h.

References CbmTrdDigi::GetType(), CbmTrdDigi::kFASP, CbmTrdDigi::kFlag3, and CbmTrdDigi::SetFlag().

◆ SetModule()

void CbmTrdDigi::SetModule ( const int32_t a)
inlineprotectedinherited

Definition at line 261 of file CbmTrdDigi.h.

References CbmTrdDigi::fgkModOffset, and CbmTrdDigi::fInfo.

Referenced by CbmTrdDigi::SetAddress().

◆ SetPileUp()

void CbmTrdDigi::SetPileUp ( bool set = true)
inlineinherited

Set digi pile-up (FASP only)

Definition at line 216 of file CbmTrdDigi.h.

References CbmTrdDigi::GetType(), CbmTrdDigi::kFASP, CbmTrdDigi::kFlag2, and CbmTrdDigi::SetFlag().

◆ SetPulseShape()

void CbmTrdDigi::SetPulseShape ( float [45])
inlineinherited

Definition at line 243 of file CbmTrdDigi.h.

◆ SetStopType()

void CbmTrdDigi::SetStopType ( int32_t )
inlineinherited

Definition at line 241 of file CbmTrdDigi.h.

◆ SetTime()

void CbmTrdDigi::SetTime ( double t)
inherited

◆ SetTimeDAQ()

void CbmTrdDigi::SetTimeDAQ ( uint64_t t)
inlineinherited

Set global digi time (clk)

Definition at line 223 of file CbmTrdDigi.h.

References CbmTrdDigi::fTime.

◆ SetTimeOffset()

void CbmTrdDigi::SetTimeOffset ( int8_t t)
inherited

Set time offset of rectangular to tilt pads for FASP (clk)

Definition at line 271 of file CbmTrdDigi.cxx.

References CbmTrdDigi::fCharge, CbmTrdDigi::GetType(), and CbmTrdDigi::kFASP.

◆ SetTriggerType() [1/2]

◆ SetTriggerType() [2/2]

void CbmTrdDigi::SetTriggerType ( const int32_t triggerValue)
inherited

Set digi trigger type.

Definition at line 288 of file CbmTrdDigi.cxx.

References CbmTrdDigi::fgkTrgOffset, CbmTrdDigi::fInfo, CbmTrdDigi::kBeginTriggerTypes, and CbmTrdDigi::kNTrg.

◆ ToString()

Friends And Related Symbol Documentation

◆ Cluster2D

friend class Cluster2D
friend

Definition at line 26 of file DigiRec.h.

◆ HitFinder2D

friend class HitFinder2D
friend

Definition at line 27 of file DigiRec.h.

Member Data Documentation

◆ fCharge

◆ fG

double cbm::algo::trd::DigiRec::fG[2]
private

Definition at line 67 of file DigiRec.h.

Referenced by DigiRec(), DigiRec(), DigiRec(), GetCharge(), and Init().

◆ fgBaseline

float DigiRec::fgBaseline = 0.25
staticprivate

FASP baseline [V].

Definition at line 70 of file DigiRec.h.

Referenced by GetBaselineCorr().

◆ fgClk

const double CbmTrdDigi::fgClk = {62.5, 12.5, 0.0}
staticprotectedinherited

clock length in ns for acquisition

fInfo defition ATTf.ffnn nLLL.LMMM MMMM.pppp pppp.pppp A - Asic type according to CbmTrdAsicType T - trigger type according to CbmTrdTriggerType f - flags according to CbmTrdDigiDef n - error class L - layer id in the TRD setup M - module id in the layer p - pad address within the module

Definition at line 41 of file CbmTrdDigi.h.

Referenced by CbmTrdDigi::Clk(), CbmTrdDigi::GetTime(), and CbmTrdDigi::GetTimeDAQ().

◆ fgkErrOffset

const int32_t CbmTrdDigi::fgkErrOffset = 23
staticprivateinherited

Definition at line 289 of file CbmTrdDigi.h.

Referenced by CbmTrdDigi::GetErrorClass(), and CbmTrdDigi::SetErrorClass().

◆ fgkFlgOffset

const int32_t CbmTrdDigi::fgkFlgOffset = 26
staticprivateinherited

Definition at line 290 of file CbmTrdDigi.h.

Referenced by CbmTrdDigi::IsFlagged(), and CbmTrdDigi::SetFlag().

◆ fgkLyOffset

const int32_t CbmTrdDigi::fgkLyOffset = 19
staticprivateinherited

Definition at line 288 of file CbmTrdDigi.h.

Referenced by CbmTrdDigi::Layer(), and CbmTrdDigi::SetLayer().

◆ fgkModOffset

const int32_t CbmTrdDigi::fgkModOffset = 12
staticprivateinherited

Definition at line 287 of file CbmTrdDigi.h.

Referenced by CbmTrdDigi::Module(), and CbmTrdDigi::SetModule().

◆ fgkRoOffset

const int32_t CbmTrdDigi::fgkRoOffset = 0
staticprivateinherited

◆ fgkTrgOffset

const int32_t CbmTrdDigi::fgkTrgOffset = 29
staticprivateinherited

◆ fgkTypOffset

const int32_t CbmTrdDigi::fgkTypOffset = 31
staticprivateinherited

Definition at line 292 of file CbmTrdDigi.h.

Referenced by CbmTrdDigi::GetType(), and CbmTrdDigi::SetAsic().

◆ fgOutGain

float DigiRec::fgOutGain = 2.025
staticprivate

FASP -> ADC gain [V/4095 ADC].

Definition at line 71 of file DigiRec.h.

Referenced by GetBaselineCorr().

◆ fgPrecission

const float CbmTrdDigi::fgPrecission = {1.e3, 1., 0.0}
staticprotectedinherited

Nr. of digits stored for ASIC.

Definition at line 42 of file CbmTrdDigi.h.

Referenced by CbmTrdDigi::AddCharge(), CbmTrdDigi::GetCharge(), CbmTrdDigi::GetCharge(), CbmTrdDigi::SetCharge(), and CbmTrdDigi::SetCharge().

◆ fInfo

◆ fStatus

unsigned char cbm::algo::trd::DigiRec::fStatus
private

Definition at line 66 of file DigiRec.h.

Referenced by DigiRec(), DigiRec(), HasRectOvf(), and HasTiltOvf().

◆ fT

double cbm::algo::trd::DigiRec::fT[3]
private

Definition at line 68 of file DigiRec.h.

Referenced by DigiRec(), DigiRec(), DigiRec(), GetTime(), and Init().

◆ fTime

uint64_t CbmTrdDigi::fTime = 0
protectedinherited

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