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

Definition of FASP channel calibration container. More...

#include <CbmTrdParFasp.h>

Inheritance diagram for CbmTrdParFaspChannel:
[legend]
Collaboration diagram for CbmTrdParFaspChannel:
[legend]

Public Types

enum  CbmTrdParFaspChannelDef { kPair = 0 , kMask = 1 }
 

Public Member Functions

 CbmTrdParFaspChannel (Int_t pup=300, Int_t ft=14, Int_t thr=600, Int_t smin=2586, Float_t dtPar=4.181e-6)
 Parametrization of a FASP channel based on CADENCE simulations from 12.01.2018 and parabolic parametrization of dt(signal).
 
Int_t GetFlatTop () const
 
Int_t GetMinDelaySignal () const
 
Float_t GetMinDelayParam () const
 
Int_t GetPileUpTime () const
 
Int_t GetThreshold () const
 
Bool_t HasPairingR () const
 Query pad pairing type.
 
Bool_t HasPairingT () const
 
bool IsMasked () const
 
void Print (Option_t *opt="") const
 
void SetPairing (Bool_t rect)
 Specify pad pairing type.
 
void SetMask (Bool_t set)
 Mask channel for processing.
 

Static Public Attributes

static constexpr double fgkSgmCh = 10
 generic width of a pulser signal for FASP channels
 

Protected Attributes

UShort_t fPileUpTime
 Signal formation time in ns.
 
UChar_t fFlatTop
 Length of Flat-Top in clocks.
 
UChar_t fConfig
 configuration bit map
 
UShort_t fThreshold
 Threshold in ADC units.
 
UShort_t fMinDelaySignal
 Signal in ADC for minimum delay i.e. fPileUpTime.
 
Float_t fMinDelayParam
 Factor of parabolic dependence dt=fdt*(s-s0)^2 to calculate trigger.
 

Friends

class CbmTrdParFasp
 

Detailed Description

Definition of FASP channel calibration container.

Definition at line 30 of file CbmTrdParFasp.h.

Member Enumeration Documentation

◆ CbmTrdParFaspChannelDef

Enumerator
kPair 
kMask 

Definition at line 36 of file CbmTrdParFasp.h.

Constructor & Destructor Documentation

◆ CbmTrdParFaspChannel()

CbmTrdParFaspChannel::CbmTrdParFaspChannel ( Int_t pup = 300,
Int_t ft = 14,
Int_t thr = 600,
Int_t smin = 2586,
Float_t dtPar = 4.181e-6 )

Parametrization of a FASP channel based on CADENCE simulations from 12.01.2018 and parabolic parametrization of dt(signal).

Definition at line 149 of file CbmTrdParFasp.cxx.

Member Function Documentation

◆ GetFlatTop()

Int_t CbmTrdParFaspChannel::GetFlatTop ( ) const
inline

Definition at line 47 of file CbmTrdParFasp.h.

References fFlatTop.

◆ GetMinDelayParam()

Float_t CbmTrdParFaspChannel::GetMinDelayParam ( ) const
inline

Definition at line 49 of file CbmTrdParFasp.h.

References fMinDelayParam.

◆ GetMinDelaySignal()

Int_t CbmTrdParFaspChannel::GetMinDelaySignal ( ) const
inline

Definition at line 48 of file CbmTrdParFasp.h.

References fMinDelaySignal.

Referenced by CbmTrdParSetAsic::putParams().

◆ GetPileUpTime()

Int_t CbmTrdParFaspChannel::GetPileUpTime ( ) const
inline

Definition at line 50 of file CbmTrdParFasp.h.

References fPileUpTime.

Referenced by CbmTrdParSetAsic::putParams().

◆ GetThreshold()

Int_t CbmTrdParFaspChannel::GetThreshold ( ) const
inline

Definition at line 51 of file CbmTrdParFasp.h.

References fThreshold.

Referenced by CbmTrdParSetAsic::putParams().

◆ HasPairingR()

Bool_t CbmTrdParFaspChannel::HasPairingR ( ) const
inline

Query pad pairing type.

Definition at line 54 of file CbmTrdParFasp.h.

References fConfig, kPair, and TESTBIT.

Referenced by CbmTaskTrdUnpackParWrite::Init(), CbmTrdUnpackFaspMonitor::MapMaskedChannels(), Print(), and CbmTrdUnpackFaspAlgo::pushDigis().

◆ HasPairingT()

Bool_t CbmTrdParFaspChannel::HasPairingT ( ) const
inline

Definition at line 55 of file CbmTrdParFasp.h.

References fConfig, kPair, and TESTBIT.

Referenced by CbmTrdUnpackFaspAlgo::pushDigis(), and CbmTrdParSetAsic::putParams().

◆ IsMasked()

◆ Print()

void CbmTrdParFaspChannel::Print ( Option_t * opt = "") const

◆ SetMask()

void CbmTrdParFaspChannel::SetMask ( Bool_t set)
inline

Mask channel for processing.

Definition at line 64 of file CbmTrdParFasp.h.

References CLRBIT, fConfig, kMask, and SETBIT.

Referenced by CbmTrdParFasp::SetChannelMask().

◆ SetPairing()

void CbmTrdParFaspChannel::SetPairing ( Bool_t rect)
inline

Specify pad pairing type.

Parameters
[in]rectif rect=kTRUE rectangular pairing; tilt otherwise

Definition at line 62 of file CbmTrdParFasp.h.

References CLRBIT, fConfig, kPair, and SETBIT.

Referenced by CbmTrdParFasp::LoadParams(), CbmTrdParFasp::LoadParams(), and CbmTrdParFasp::SetCalibParameters().

Friends And Related Symbol Documentation

◆ CbmTrdParFasp

friend class CbmTrdParFasp
friend

Definition at line 31 of file CbmTrdParFasp.h.

Member Data Documentation

◆ fConfig

UChar_t CbmTrdParFaspChannel::fConfig
protected

configuration bit map

Definition at line 69 of file CbmTrdParFasp.h.

Referenced by HasPairingR(), HasPairingT(), IsMasked(), SetMask(), and SetPairing().

◆ fFlatTop

UChar_t CbmTrdParFaspChannel::fFlatTop
protected

Length of Flat-Top in clocks.

Definition at line 68 of file CbmTrdParFasp.h.

Referenced by GetFlatTop(), Print(), and CbmTrdParFasp::SetCalibParameters().

◆ fgkSgmCh

double CbmTrdParFaspChannel::fgkSgmCh = 10
staticconstexpr

generic width of a pulser signal for FASP channels

Definition at line 34 of file CbmTrdParFasp.h.

Referenced by CbmTrdModuleSim2D::FlushBuffer().

◆ fMinDelayParam

Float_t CbmTrdParFaspChannel::fMinDelayParam
protected

Factor of parabolic dependence dt=fdt*(s-s0)^2 to calculate trigger.

Definition at line 76 of file CbmTrdParFasp.h.

Referenced by GetMinDelayParam(), and CbmTrdParFasp::SetCalibParameters().

◆ fMinDelaySignal

UShort_t CbmTrdParFaspChannel::fMinDelaySignal
protected

Signal in ADC for minimum delay i.e. fPileUpTime.

Definition at line 75 of file CbmTrdParFasp.h.

Referenced by GetMinDelaySignal(), CbmTrdParFasp::LoadParams(), Print(), and CbmTrdParFasp::SetCalibParameters().

◆ fPileUpTime

UShort_t CbmTrdParFaspChannel::fPileUpTime
protected

Signal formation time in ns.

Definition at line 67 of file CbmTrdParFasp.h.

Referenced by GetPileUpTime(), CbmTrdParFasp::LoadParams(), Print(), and CbmTrdParFasp::SetCalibParameters().

◆ fThreshold

UShort_t CbmTrdParFaspChannel::fThreshold
protected

Threshold in ADC units.

Definition at line 72 of file CbmTrdParFasp.h.

Referenced by GetThreshold(), CbmTrdParFasp::LoadParams(), Print(), and CbmTrdParFasp::SetCalibParameters().


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