CbmRoot
Loading...
Searching...
No Matches
CbmTrdDigiRec Class Reference

Extend the TRD(2D) digi class to incorporate FEE calibration. More...

#include <CbmTrdDigiRec.h>

Inheritance diagram for CbmTrdDigiRec:
[legend]
Collaboration diagram for CbmTrdDigiRec:
[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

 CbmTrdDigiRec ()
 Default constructor.
 
 CbmTrdDigiRec (const CbmTrdDigi &d, Double_t *g=NULL, Double_t *t=NULL)
 Wrap CbmTrdDigi constructor.
 
virtual ~CbmTrdDigiRec ()
 
Double_t GetTiltCharge (Bool_t &on) const
 Return calibrated tilt signal.
 
Double_t GetTiltTime () const
 Return calibrated tilt time [ns].
 
Double_t GetRectCharge (Bool_t &on) const
 Return calibrated rect signal.
 
Double_t GetRectTime () const
 Return calibrated rect time [ns].
 
Double_t GetCharge (Int_t typ, Bool_t &on) const
 Return calibrated signal.
 
Double_t GetTime (Int_t typ) const
 Return calibrated time.
 
Bool_t HasRectOvf () const
 
Bool_t HasTiltOvf () const
 
void Init (Double_t g[2], Double_t 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 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

 CbmTrdDigiRec (const CbmTrdDigi &dt, const CbmTrdDigi &dr, Double_t *g=NULL, Double_t *t=NULL)
 Constructor and merger.
 
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

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

Private Attributes

UChar_t fStatus
 
Double_t fG [2]
 
Double_t fT [3]
 

Static Private Attributes

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 CbmTrdModuleRec2D
 

Detailed Description

Extend the TRD(2D) digi class to incorporate FEE calibration.

Author
Alexandru Bercucic aberc.nosp@m.uci@.nosp@m.niham.nosp@m..nip.nosp@m.ne.ro
Since
01.10.2021
Date
01.10.2021

The digi class contains the information as it is produced by the FEE (ASIC/GETS) The variation from channel to channel is captured by running the pulser on anode wires using various signal values, frequencies, etc. The calibrated baselines, gains, jitter, etc. are transported via the parameter files and are applied to the data within the digRec class which is in the end used to calculate the TRD hit parameters.

Definition at line 23 of file CbmTrdDigiRec.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

◆ CbmTrdDigiRec() [1/3]

CbmTrdDigiRec::CbmTrdDigiRec ( )

Default constructor.

◆ CbmTrdDigiRec() [2/3]

CbmTrdDigiRec::CbmTrdDigiRec ( const CbmTrdDigi & d,
Double_t * g = NULL,
Double_t * t = NULL )

Wrap CbmTrdDigi constructor.

Definition at line 22 of file CbmTrdDigiRec.cxx.

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

◆ ~CbmTrdDigiRec()

virtual CbmTrdDigiRec::~CbmTrdDigiRec ( )
inlinevirtual

Definition at line 31 of file CbmTrdDigiRec.h.

◆ CbmTrdDigiRec() [3/3]

CbmTrdDigiRec::CbmTrdDigiRec ( const CbmTrdDigi & dt,
const CbmTrdDigi & dr,
Double_t * g = NULL,
Double_t * t = NULL )
protected

Constructor and merger.

Constructor and RAW digi merger

Definition at line 44 of file CbmTrdDigiRec.cxx.

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

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().

◆ ClassDef()

CbmTrdDigiRec::ClassDef ( CbmTrdDigiRec ,
1  )
private

◆ ClassDefNV()

CbmTrdDigi::ClassDefNV ( CbmTrdDigi ,
4  )
privateinherited

◆ Clk()

◆ GetAddress()

int32_t CbmTrdDigi::GetAddress ( ) const
inlineinherited

◆ GetAddressChannel()

◆ GetAddressModule()

◆ 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]

◆ GetCharge() [2/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.

◆ GetCharge() [3/3]

Double_t CbmTrdDigiRec::GetCharge ( Int_t typ,
Bool_t & on ) const

Return calibrated signal.

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

Definition at line 75 of file CbmTrdDigiRec.cxx.

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

◆ 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_t CbmTrdDigiRec::GetRectCharge ( Bool_t & on) const
inline

Return calibrated rect signal.

Parameters
[out]onflag signal exists

Definition at line 40 of file CbmTrdDigiRec.h.

References CbmTrdDigi::GetCharge().

◆ GetRectTime()

Double_t CbmTrdDigiRec::GetRectTime ( ) const
inline

Return calibrated rect time [ns].

Definition at line 42 of file CbmTrdDigiRec.h.

References CbmTrdDigi::GetTime().

◆ 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_t CbmTrdDigiRec::GetTiltCharge ( Bool_t & on) const
inline

Return calibrated tilt signal.

Parameters
[out]onflag signal exists

Definition at line 35 of file CbmTrdDigiRec.h.

References CbmTrdDigi::GetCharge().

Referenced by CbmTrdModuleRec2D::ProjectDigis().

◆ GetTiltTime()

Double_t CbmTrdDigiRec::GetTiltTime ( ) const
inline

Return calibrated tilt time [ns].

Definition at line 37 of file CbmTrdDigiRec.h.

References CbmTrdDigi::GetTime().

◆ GetTime() [1/2]

◆ GetTime() [2/2]

Double_t CbmTrdDigiRec::GetTime ( Int_t typ) const

Return calibrated time.

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

Definition at line 100 of file CbmTrdDigiRec.cxx.

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

◆ 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_t CbmTrdDigiRec::HasRectOvf ( ) const
inline

Definition at line 52 of file CbmTrdDigiRec.h.

References fStatus, and TESTBIT.

◆ HasTiltOvf()

Bool_t CbmTrdDigiRec::HasTiltOvf ( ) const
inline

Definition at line 53 of file CbmTrdDigiRec.h.

References fStatus, and TESTBIT.

◆ Init()

void CbmTrdDigiRec::Init ( Double_t g[2],
Double_t t[3] )

Init FEE gain and time walk corrections.

Definition at line 115 of file CbmTrdDigiRec.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

◆ CbmTrdModuleRec2D

friend class CbmTrdModuleRec2D
friend

Definition at line 24 of file CbmTrdDigiRec.h.

Member Data Documentation

◆ fCharge

◆ fG

Double_t CbmTrdDigiRec::fG[2]
private

Definition at line 63 of file CbmTrdDigiRec.h.

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

◆ 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().

◆ 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

UChar_t CbmTrdDigiRec::fStatus
private

Definition at line 62 of file CbmTrdDigiRec.h.

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

◆ fT

Double_t CbmTrdDigiRec::fT[3]
private

Definition at line 64 of file CbmTrdDigiRec.h.

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

◆ fTime

uint64_t CbmTrdDigi::fTime = 0
protectedinherited

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