CbmRoot
CbmTrdSPADIC Class Reference

#include <CbmTrdSPADIC.h>

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

Public Member Functions

 CbmTrdSPADIC ()
 
virtual ~CbmTrdSPADIC ()
 Destructor. More...
 
virtual InitStatus Init ()
 Inherited from FairTask. More...
 
virtual void SetParContainers ()
 
virtual void Exec (Option_t *option)
 
void SetTriggerThreshold (Double_t triggerthreshold)
 
void SetPulseShapeSim (Bool_t pulseShape)
 
void SetSelectionMask (Bool_t mask[45])
 
void SetBitResolution (Int_t bit)
 
void SetMaxRange (Double_t maxRange)
 

Private Member Functions

void CR_RC_Shaper (CbmTrdDigi *digi, TH1D *spadicPulse)
 
void ADC (TH1D *spadicPulse)
 
void ADC (CbmTrdDigi *digi)
 
void InitSpadicResponseFunction ()
 
 CbmTrdSPADIC (const CbmTrdSPADIC &)
 
CbmTrdSPADICoperator= (const CbmTrdSPADIC &)
 
 ClassDef (CbmTrdSPADIC, 2)
 

Private Attributes

TH1D * fSpadicResponse
 
Int_t fShaperOrder
 
Double_t fShapingTime
 
Int_t fPeakBin
 
Int_t fBitResolution
 
Double_t fmaxdEdx
 
Double_t fAdcBit
 
Bool_t fPulseShape
 
Bool_t fSelectionMask [fnBins]
 
TClonesArray * fDigis
 
CbmTrdParSetDigifDigiPar
 
CbmTrdParModDigifModuleInfo
 
CbmTrdGeoHandlerfGeoHandler
 
Double_t fMinimumChargeTH
 

Static Private Attributes

static const Int_t fnBins = 45
 

Detailed Description

Definition at line 22 of file CbmTrdSPADIC.h.

Constructor & Destructor Documentation

◆ CbmTrdSPADIC() [1/2]

CbmTrdSPADIC::CbmTrdSPADIC ( )

Default constructor.

Definition at line 27 of file CbmTrdSPADIC.cxx.

◆ ~CbmTrdSPADIC()

CbmTrdSPADIC::~CbmTrdSPADIC ( )
virtual

Destructor.

Definition at line 43 of file CbmTrdSPADIC.cxx.

References fDigis.

◆ CbmTrdSPADIC() [2/2]

CbmTrdSPADIC::CbmTrdSPADIC ( const CbmTrdSPADIC )
private

Member Function Documentation

◆ ADC() [1/2]

void CbmTrdSPADIC::ADC ( CbmTrdDigi digi)
private

Definition at line 128 of file CbmTrdSPADIC.cxx.

References fAdcBit, fmaxdEdx, CbmTrdDigi::GetCharge(), and CbmTrdDigi::SetCharge().

◆ ADC() [2/2]

void CbmTrdSPADIC::ADC ( TH1D *  spadicPulse)
private

Definition at line 117 of file CbmTrdSPADIC.cxx.

References fAdcBit, fmaxdEdx, and fSelectionMask.

Referenced by CR_RC_Shaper(), and Exec().

◆ ClassDef()

CbmTrdSPADIC::ClassDef ( CbmTrdSPADIC  ,
 
)
private

◆ CR_RC_Shaper()

void CbmTrdSPADIC::CR_RC_Shaper ( CbmTrdDigi digi,
TH1D *  spadicPulse 
)
private

Definition at line 135 of file CbmTrdSPADIC.cxx.

References ADC(), exp(), fnBins, fPeakBin, fSpadicResponse, CbmTrdDigi::GetCharge(), i, x, and y.

Referenced by Exec().

◆ Exec()

◆ Init()

InitStatus CbmTrdSPADIC::Init ( )
virtual

Inherited from FairTask.

Definition at line 53 of file CbmTrdSPADIC.cxx.

References fDigis, fGeoHandler, CbmTrdGeoHandler::Init(), and InitSpadicResponseFunction().

◆ InitSpadicResponseFunction()

void CbmTrdSPADIC::InitSpadicResponseFunction ( )
private

Definition at line 89 of file CbmTrdSPADIC.cxx.

References exp(), fnBins, fShaperOrder, fShapingTime, and fSpadicResponse.

Referenced by Init().

◆ operator=()

CbmTrdSPADIC& CbmTrdSPADIC::operator= ( const CbmTrdSPADIC )
private

◆ SetBitResolution()

void CbmTrdSPADIC::SetBitResolution ( Int_t  bit)

Definition at line 69 of file CbmTrdSPADIC.cxx.

References fBitResolution.

◆ SetMaxRange()

void CbmTrdSPADIC::SetMaxRange ( Double_t  maxRange)

Definition at line 71 of file CbmTrdSPADIC.cxx.

References fAdcBit, fBitResolution, and fmaxdEdx.

◆ SetParContainers()

void CbmTrdSPADIC::SetParContainers ( )
virtual

\breif Inherited from FairTask.

Definition at line 47 of file CbmTrdSPADIC.cxx.

References fDigiPar.

◆ SetPulseShapeSim()

void CbmTrdSPADIC::SetPulseShapeSim ( Bool_t  pulseShape)

Definition at line 76 of file CbmTrdSPADIC.cxx.

References fPulseShape.

◆ SetSelectionMask()

void CbmTrdSPADIC::SetSelectionMask ( Bool_t  mask[45])

Definition at line 111 of file CbmTrdSPADIC.cxx.

References fnBins, and fSelectionMask.

◆ SetTriggerThreshold()

void CbmTrdSPADIC::SetTriggerThreshold ( Double_t  triggerthreshold)

Definition at line 80 of file CbmTrdSPADIC.cxx.

References fMinimumChargeTH.

Member Data Documentation

◆ fAdcBit

Double_t CbmTrdSPADIC::fAdcBit
private

Definition at line 69 of file CbmTrdSPADIC.h.

Referenced by ADC(), Exec(), and SetMaxRange().

◆ fBitResolution

Int_t CbmTrdSPADIC::fBitResolution
private

Definition at line 66 of file CbmTrdSPADIC.h.

Referenced by Exec(), SetBitResolution(), and SetMaxRange().

◆ fDigiPar

CbmTrdParSetDigi* CbmTrdSPADIC::fDigiPar
private

Input array of CbmTrdDigi

Definition at line 77 of file CbmTrdSPADIC.h.

Referenced by Exec(), and SetParContainers().

◆ fDigis

TClonesArray* CbmTrdSPADIC::fDigis
private

Definition at line 75 of file CbmTrdSPADIC.h.

Referenced by Exec(), Init(), and ~CbmTrdSPADIC().

◆ fGeoHandler

CbmTrdGeoHandler* CbmTrdSPADIC::fGeoHandler
private

Definition at line 80 of file CbmTrdSPADIC.h.

Referenced by Init().

◆ fmaxdEdx

Double_t CbmTrdSPADIC::fmaxdEdx
private

Definition at line 68 of file CbmTrdSPADIC.h.

Referenced by ADC(), Exec(), and SetMaxRange().

◆ fMinimumChargeTH

Double_t CbmTrdSPADIC::fMinimumChargeTH
private

Definition at line 82 of file CbmTrdSPADIC.h.

Referenced by Exec(), and SetTriggerThreshold().

◆ fModuleInfo

CbmTrdParModDigi* CbmTrdSPADIC::fModuleInfo
private

Definition at line 78 of file CbmTrdSPADIC.h.

Referenced by Exec().

◆ fnBins

const Int_t CbmTrdSPADIC::fnBins = 45
staticprivate

Definition at line 67 of file CbmTrdSPADIC.h.

Referenced by CR_RC_Shaper(), Exec(), InitSpadicResponseFunction(), and SetSelectionMask().

◆ fPeakBin

Int_t CbmTrdSPADIC::fPeakBin
private

Definition at line 65 of file CbmTrdSPADIC.h.

Referenced by CR_RC_Shaper().

◆ fPulseShape

Bool_t CbmTrdSPADIC::fPulseShape
private

Definition at line 70 of file CbmTrdSPADIC.h.

Referenced by Exec(), and SetPulseShapeSim().

◆ fSelectionMask

Bool_t CbmTrdSPADIC::fSelectionMask[fnBins]
private

Definition at line 71 of file CbmTrdSPADIC.h.

Referenced by ADC(), Exec(), and SetSelectionMask().

◆ fShaperOrder

Int_t CbmTrdSPADIC::fShaperOrder
private

Definition at line 63 of file CbmTrdSPADIC.h.

Referenced by Exec(), and InitSpadicResponseFunction().

◆ fShapingTime

Double_t CbmTrdSPADIC::fShapingTime
private

Definition at line 64 of file CbmTrdSPADIC.h.

Referenced by Exec(), and InitSpadicResponseFunction().

◆ fSpadicResponse

TH1D* CbmTrdSPADIC::fSpadicResponse
private

Definition at line 62 of file CbmTrdSPADIC.h.

Referenced by CR_RC_Shaper(), and InitSpadicResponseFunction().


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