CbmRoot
CbmTrdFASP Class Reference

FASP channel simulator. More...

#include <CbmTrdFASP.h>

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

Public Member Functions

 CbmTrdFASP (UInt_t uslice=1000)
 Constructor of FASP simulator. More...
 
virtual ~CbmTrdFASP ()
 
virtual void Clear (Option_t *opt="")
 Finalize currently stored data. More...
 
virtual void Draw (Option_t *opt="")
 Graphical representation of FASP analog/digital response to currently stored data. More...
 
virtual ULong64_t GetEndTime () const
 
virtual ULong64_t GetStartTime () const
 
virtual Bool_t Go (ULong64_t time)
 Check if there is enough time elapsed from fStartTime to run simulator. More...
 
virtual void Init (Int_t col, CbmTrdParFaspChannel *par)
 [Re]Start processing of one channel More...
 
virtual void PhysToRaw (std::vector< std::pair< CbmTrdDigi *, CbmMatch * >> *digi, Int_t col=0, Int_t row=0)
 Convert physics information in digi to the raw format. More...
 
virtual void Print (Option_t *opt="") const
 Print-out FASP analog/digital response to currently stored data. More...
 
void SetCol (Int_t col)
 Set column for the current channel. More...
 
void SetProcTime (ULong64_t t=0)
 Set limit in time for processing digis. More...
 
void SetStartTime (ULong64_t t)
 Set buffer time offset [ns]. More...
 

Static Public Member Functions

static Float_t GetBaselineCorr ()
 Return the baseline value in ADC ch. More...
 
static void SetLGminLength (Int_t nclk)
 Set linear-gate minimum length. More...
 
static void SetNeighbourTrigger (Bool_t nb=kTRUE)
 Set FASP trigger mode. More...
 
static void SetNeighbourThr (Float_t thr=0.1)
 Set threshold for the neighbour channel. CADENCE value. More...
 
static void SetShaperThr (Float_t thr=0.2)
 Set threshold for the current channel. CADENCE value. More...
 

Protected Member Functions

void GetShaperSignal (Double_t charge)
 Retrive linear interpolation of CADENCE for signal. More...
 
Double_t MakeOut (Int_t t)
 Make convolution of shaper1 superposition and theoretic shaping model (see fgkShaperPar) More...
 
Int_t ProcessShaper (Char_t typ='T')
 Calculate output FASP signal and CS timming for the signal array stored in fShaper. More...
 
void ScanDigi (std::vector< std::pair< CbmTrdDigi *, CbmMatch * >> *digi, Int_t col, Int_t row)
 Read digi array for single channel processing. More...
 
void ScanDigiNE (std::vector< std::pair< CbmTrdDigi *, CbmMatch * >> *digi, Int_t col, Int_t row)
 Read digi array for neighbour trigger processing. More...
 
void WriteDigi ()
 Write processed digi to output array. More...
 

Protected Attributes

ULong64_t fStartTime
 time offset [ns] for the current simulation More...
 
UInt_t fProcTime
 time window [ns] for actual digi processing (excluded fgkBufferKeep) More...
 
Int_t fCol
 current column More...
 
Int_t fRow
 current row More...
 
Int_t fAsicId
 identifier of FASP in module More...
 
Int_t fNphys [2]
 number of physical digi in the current [0] and next [1] shaper More...
 
Int_t fNraw
 number of raw digi for the tilt channel More...
 
std::vector< std::pair< CbmTrdDigi *, CbmMatch * > > * fDigi
 link to digi vector to be transformed More...
 
std::vector< bool > fHitThPrev
 previous channel hit threshold More...
 
std::vector< Float_t > fShaper
 current channel shaper analog More...
 
std::vector< Float_t > fShaperNext
 next channel shaper analog More...
 
std::vector< std::tuple< UInt_t, UInt_t, UInt_t, Bool_t > > fDigiProc
 proccessed info <hit_time[ns], CS_time[ns], OUT[ADC], trigger> More...
 
Float_t fSignal [FASP_WINDOW]
 temporary array to store shaper analog signal for current charge interpolation More...
 
CbmTrdParFaspChannelfPar
 current FASP channel parametrization More...
 
Int_t fTimeLG
 Linear gate time length [5*ns]. More...
 
Int_t fTimeFT
 Chip Select time legth [5*ns]. More...
 
Int_t fTimeDY
 Time decay from FT [5*ns]. More...
 
Float_t fFT
 Flat Top value [V]. More...
 
Int_t fGraphId
 current graph to be filled if draw support is compiled More...
 
std::vector< Float_t > fOut
 analog output for the current channel More...
 
std::vector< std::pair< Int_t, Int_t > > fGraphMap
 map of ASIC id and output FASP signals More...
 
TGraph * fGraph [NGRAPH]
 graph representations of analog FASP response More...
 
TGraph * fGraphShp [NGRAPH]
 graph representations of FASP shaper More...
 
TGraph * fGraphPhys [NGRAPH]
 graph representations of physics digi More...
 
TLine * fGthr
 graph representation of various thresholds More...
 
TCanvas * fMonitor
 monitor canvas when drawing More...
 

Static Protected Attributes

static const Int_t fgkNDB = 53
 DB shaper size. More...
 
static const Float_t fgkCharge [fgkNDB]
 DB input charge discretization. More...
 
static const Float_t fgkShaper [fgkNDB][FASP_WINDOW]
 DB shaper signals for each input charge discretization. More...
 
static const Float_t fgkShaperPar [4] = {0.068, 26.1, 2.61, 50}
 shaper parameters More...
 
static const Float_t fgkShaperLUT [SHAPER_LUT]
 shaper LUT More...
 
static const Float_t fgkDecayLUT [SHAPER_LUT]
 forced discharged of FASP LUT More...
 
static const Int_t fgkNclkFT = 14
 length of flat top in FASP clocks More...
 
static Int_t fgNclkLG = 31
 length of linear-gate command in FASP clocks More...
 
static Bool_t fgNeighbour = kTRUE
 Neighbour enable flag. More...
 
static Float_t fgNeighbourThr = 0.04
 neighbour threshold [V] for fgNeighbour=kTRUE More...
 
static Float_t fgShaperThr = 0.05
 shaper threshold [V] More...
 
static Float_t fgBaseline = 0.25
 FASP baseline [V]. More...
 
static Float_t fgOutGain = 2.025
 FASP -> ADC gain [V/4095 ADC]. More...
 
static const Int_t fgkBufferKeep = 400
 length of buffer time in 5ns which is kept between cycles More...
 

Detailed Description

FASP channel simulator.

Definition at line 24 of file CbmTrdFASP.h.

Constructor & Destructor Documentation

◆ CbmTrdFASP()

CbmTrdFASP::CbmTrdFASP ( UInt_t  uslice = 1000)

Constructor of FASP simulator.

Parameters
[in]uslicelength of microslice [ns]

Build the FASP simulator for a microslice of 5*uslice [ns]

Definition at line 40 of file CbmTrdFASP.cxx.

References DRAW, fgkBufferKeep, fGraph, fGraphPhys, fGraphShp, fHitThPrev, fNphys, fOut, fShaper, fShaperNext, memset(), NGRAPH, and SetProcTime().

◆ ~CbmTrdFASP()

CbmTrdFASP::~CbmTrdFASP ( )
virtual

Definition at line 84 of file CbmTrdFASP.cxx.

References DRAW, fGraph, fGraphPhys, fGraphShp, fMonitor, NGRAPH, and VERBOSE.

Member Function Documentation

◆ Clear()

void CbmTrdFASP::Clear ( Option_t *  opt = "")
virtual

Finalize currently stored data.

Definition at line 97 of file CbmTrdFASP.cxx.

References Draw(), fHitThPrev, fNphys, ProcessShaper(), and WriteDigi().

Referenced by CbmTrdModuleSimT::FlushBuffer(), and ScanDigiNE().

◆ Draw()

void CbmTrdFASP::Draw ( Option_t *  opt = "")
virtual

Graphical representation of FASP analog/digital response to currently stored data.

Definition at line 109 of file CbmTrdFASP.cxx.

References buffer, DRAW, fgNeighbourThr, fGraph, fGraphId, fGraphMap, fGraphPhys, fGraphShp, fgShaperThr, fGthr, first, fMonitor, fOut, and NGRAPH.

Referenced by Clear().

◆ GetBaselineCorr()

static Float_t CbmTrdFASP::GetBaselineCorr ( )
inlinestatic

Return the baseline value in ADC ch.

Definition at line 38 of file CbmTrdFASP.h.

References fgBaseline, and fgOutGain.

Referenced by CbmTrdModuleRecT::LoadDigis().

◆ GetEndTime()

virtual ULong64_t CbmTrdFASP::GetEndTime ( ) const
inlinevirtual

Definition at line 35 of file CbmTrdFASP.h.

References fProcTime, and fStartTime.

Referenced by CbmTrdModuleSimT::FlushBuffer().

◆ GetShaperSignal()

void CbmTrdFASP::GetShaperSignal ( Double_t  charge)
protected

Retrive linear interpolation of CADENCE for signal.

Parameters
[in]chargecharge on channel

Retrive linear interpolation of CADENCE simulations around the input charge and store them in the fSignal array for further processing

Definition at line 228 of file CbmTrdFASP.cxx.

References FASP_WINDOW, fgkCharge, fgkNDB, fgkShaper, fSignal, and VERBOSE.

Referenced by ScanDigi(), and ScanDigiNE().

◆ GetStartTime()

virtual ULong64_t CbmTrdFASP::GetStartTime ( ) const
inlinevirtual

Definition at line 36 of file CbmTrdFASP.h.

References fStartTime.

Referenced by CbmTrdModuleSimT::FlushBuffer().

◆ Go()

Bool_t CbmTrdFASP::Go ( ULong64_t  time)
virtual

Check if there is enough time elapsed from fStartTime to run simulator.

Start FASP simulator if at least the fProcTime has elapsed from buffer start time. time - event time in ns

Definition at line 206 of file CbmTrdFASP.cxx.

References fProcTime, and fStartTime.

Referenced by CbmTrdModuleSimT::FlushBuffer().

◆ Init()

void CbmTrdFASP::Init ( Int_t  col,
CbmTrdParFaspChannel par 
)
virtual

[Re]Start processing of one channel

Parameters
[in]colcurrent column
[in]parFASP channel parametrization

Definition at line 268 of file CbmTrdFASP.cxx.

◆ MakeOut()

Double_t CbmTrdFASP::MakeOut ( Int_t  t)
protected

Make convolution of shaper1 superposition and theoretic shaping model (see fgkShaperPar)

Definition at line 271 of file CbmTrdFASP.cxx.

References fFT, fgkDecayLUT, fgkShaperLUT, fShaper, fTimeDY, fTimeFT, i, and SHAPER_LUT.

Referenced by ProcessShaper().

◆ PhysToRaw()

void CbmTrdFASP::PhysToRaw ( std::vector< std::pair< CbmTrdDigi *, CbmMatch * >> *  digi,
Int_t  col = 0,
Int_t  row = 0 
)
virtual

Convert physics information in digi to the raw format.

Parameters
[in]digilist of digits for the current channel
[in]colcolumn of current digis
[in]rowrow of current digis

Public interface for converting physical digi to raw digi. See ScanDigi and ScanDigiNE for the actual algorithms

Definition at line 296 of file CbmTrdFASP.cxx.

References fgNeighbour, ScanDigi(), and ScanDigiNE().

Referenced by CbmTrdModuleSimT::FlushBuffer().

◆ Print()

void CbmTrdFASP::Print ( Option_t *  opt = "") const
virtual

Print-out FASP analog/digital response to currently stored data.

Dump settings for the FASP simulator and optionally the content of the current buffers.

Definition at line 310 of file CbmTrdFASP.cxx.

References CbmTrdDigi::Clk(), fCol, fgkNclkFT, fgNclkLG, fgNeighbour, fgNeighbourThr, fgShaperThr, fShaper, fShaperNext, and CbmTrdDigi::kFASP.

◆ ProcessShaper()

Int_t CbmTrdFASP::ProcessShaper ( Char_t  typ = 'T')
protected

Calculate output FASP signal and CS timming for the signal array stored in fShaper.

Returns
no. of raw digi found

Simulate the logic block of the FASP ASIC and apply shapper forming time (see MakeOut()). Calculate the following logic signals:

  1. [ht] hit-threshold for current and next channels. The hit-threshold for the previous channel is already saved in the fHitThPrev.
  2. [lg_cmd] linear-gate command with a minimum configurable length (see SetLGminLength()). It also takes into account the usage of neighbour trigger (see SetNeighbourTrigger()).
  3. [pk_cmd] peak command
  4. reset logical signals

Optionally the analog input and output for the current channel are also saved if DRAW is defined.

Definition at line 341 of file CbmTrdFASP.cxx.

References CbmTrdDigi::Clk(), DRAW, fAsicId, fCol, fDigiProc, fFT, fgBaseline, fgkNclkFT, fgNclkLG, fgNeighbour, fgNeighbourThr, fgOutGain, fGraph, fGraphId, fGraphMap, fGraphShp, fgShaperThr, fHitThPrev, fNphys, fOut, fRow, fShaper, fShaperNext, fStartTime, fTimeDY, fTimeFT, fTimeLG, i, CbmTrdDigi::kFASP, MakeOut(), max(), memset(), NGRAPH, SHAPER_LUT, and VERBOSE.

Referenced by Clear(), ScanDigi(), and ScanDigiNE().

◆ ScanDigi()

void CbmTrdFASP::ScanDigi ( std::vector< std::pair< CbmTrdDigi *, CbmMatch * >> *  digi,
Int_t  col,
Int_t  row 
)
protected

Read digi array for single channel processing.

Transform point like time distribution of digis into the time dependent analog signal of the first FASP shaper

Definition at line 528 of file CbmTrdFASP.cxx.

References DRAW, fAsicId, FASP_WINDOW, fCol, fDigi, fGraphId, fGraphPhys, fNphys, fNraw, fOut, fRow, fShaper, fShaperNext, fSignal, fStartTime, CbmTrdDigi::GetCharge(), GetShaperSignal(), CbmTrdDigi::GetTimeDAQ(), memset(), ProcessShaper(), VERBOSE, and WriteDigi().

Referenced by PhysToRaw().

◆ ScanDigiNE()

void CbmTrdFASP::ScanDigiNE ( std::vector< std::pair< CbmTrdDigi *, CbmMatch * >> *  digi,
Int_t  col,
Int_t  row 
)
protected

Read digi array for neighbour trigger processing.

Transform point like time distribution of digis into the time dependent analog signal of the first FASP shaper and process output (see ProcessShaper())

Definition at line 612 of file CbmTrdFASP.cxx.

References Clear(), DRAW, fAsicId, FASP_WINDOW, fCol, fDigi, fGraphId, fGraphPhys, fNphys, fNraw, fOut, fRow, fShaper, fShaperNext, fSignal, fStartTime, CbmTrdDigi::GetCharge(), GetShaperSignal(), CbmTrdDigi::GetTimeDAQ(), memset(), ProcessShaper(), VERBOSE, and WriteDigi().

Referenced by PhysToRaw().

◆ SetCol()

void CbmTrdFASP::SetCol ( Int_t  col)
inline

Set column for the current channel.

Parameters
[in]colcolumn number in the current row. Default -1 for the first data

Definition at line 59 of file CbmTrdFASP.h.

References fCol.

◆ SetLGminLength()

static void CbmTrdFASP::SetLGminLength ( Int_t  nclk)
inlinestatic

Set linear-gate minimum length.

Parameters
[in]nclknumber of clock cycles at current clock frequency

Definition at line 63 of file CbmTrdFASP.h.

References fgNclkLG.

Referenced by CbmTrdModuleSimT::FlushBuffer().

◆ SetNeighbourThr()

static void CbmTrdFASP::SetNeighbourThr ( Float_t  thr = 0.1)
inlinestatic

Set threshold for the neighbour channel. CADENCE value.

Parameters
[in]thrThreshold value [V] - default 100 mV

Definition at line 71 of file CbmTrdFASP.h.

References fgNeighbourThr.

◆ SetNeighbourTrigger()

static void CbmTrdFASP::SetNeighbourTrigger ( Bool_t  nb = kTRUE)
inlinestatic

Set FASP trigger mode.

Parameters
[in]nbEnable trigger for neighbor channels [default = on]

Definition at line 67 of file CbmTrdFASP.h.

References fgNeighbour.

Referenced by CbmTrdModuleSimT::FlushBuffer().

◆ SetProcTime()

void CbmTrdFASP::SetProcTime ( ULong64_t  t = 0)

Set limit in time for processing digis.

Definition at line 798 of file CbmTrdFASP.cxx.

References fgkBufferKeep, fProcTime, fShaper, and fStartTime.

Referenced by CbmTrdFASP(), and CbmTrdModuleSimT::FlushBuffer().

◆ SetShaperThr()

static void CbmTrdFASP::SetShaperThr ( Float_t  thr = 0.2)
inlinestatic

Set threshold for the current channel. CADENCE value.

Parameters
[in]thrThreshold value [V] - default 200 mV

Definition at line 75 of file CbmTrdFASP.h.

References fgShaperThr.

◆ SetStartTime()

void CbmTrdFASP::SetStartTime ( ULong64_t  t)
inline

Set buffer time offset [ns].

Definition at line 79 of file CbmTrdFASP.h.

References fStartTime.

Referenced by CbmTrdModuleSimT::FlushBuffer().

◆ WriteDigi()

Member Data Documentation

◆ fAsicId

Int_t CbmTrdFASP::fAsicId
protected

identifier of FASP in module

Definition at line 108 of file CbmTrdFASP.h.

Referenced by ProcessShaper(), ScanDigi(), and ScanDigiNE().

◆ fCol

Int_t CbmTrdFASP::fCol
protected

current column

Definition at line 106 of file CbmTrdFASP.h.

Referenced by Print(), ProcessShaper(), ScanDigi(), ScanDigiNE(), and SetCol().

◆ fDigi

std::vector<std::pair<CbmTrdDigi*, CbmMatch*> >* CbmTrdFASP::fDigi
protected

link to digi vector to be transformed

Definition at line 113 of file CbmTrdFASP.h.

Referenced by ScanDigi(), ScanDigiNE(), and WriteDigi().

◆ fDigiProc

std::vector<std::tuple<UInt_t, UInt_t, UInt_t, Bool_t> > CbmTrdFASP::fDigiProc
protected

proccessed info <hit_time[ns], CS_time[ns], OUT[ADC], trigger>

Definition at line 120 of file CbmTrdFASP.h.

Referenced by ProcessShaper(), and WriteDigi().

◆ fFT

Float_t CbmTrdFASP::fFT
protected

Flat Top value [V].

Definition at line 129 of file CbmTrdFASP.h.

Referenced by MakeOut(), and ProcessShaper().

◆ fgBaseline

Float_t CbmTrdFASP::fgBaseline = 0.25
staticprotected

FASP baseline [V].

Definition at line 160 of file CbmTrdFASP.h.

Referenced by GetBaselineCorr(), and ProcessShaper().

◆ fgkBufferKeep

const Int_t CbmTrdFASP::fgkBufferKeep = 400
staticprotected

length of buffer time in 5ns which is kept between cycles

Definition at line 165 of file CbmTrdFASP.h.

Referenced by CbmTrdFASP(), and SetProcTime().

◆ fgkCharge

const Float_t CbmTrdFASP::fgkCharge
staticprotected
Initial value:
= {
6, 12, 18, 24, 30, 36, 42, 48, 54, 60, 66, 72, 78, 84,
90, 96, 102, 108, 114, 120, 126, 132, 138, 144, 150, 156, 162, 168,
180, 195, 210, 225, 240, 255, 270, 285, 300, 315, 330, 345, 360, 375,
390, 405, 420, 435, 450, 465, 480, 495, 510, 525, 540}

DB input charge discretization.

Definition at line 144 of file CbmTrdFASP.h.

Referenced by GetShaperSignal().

◆ fgkDecayLUT

const Float_t CbmTrdFASP::fgkDecayLUT
staticprotected
Initial value:
= {
1.00e+00, 9.05e-01, 8.19e-01, 7.41e-01, 6.70e-01, 6.07e-01, 5.49e-01,
4.97e-01, 4.49e-01, 4.07e-01, 3.68e-01, 3.33e-01, 3.01e-01, 2.73e-01,
2.47e-01, 2.23e-01, 2.02e-01, 1.83e-01, 1.65e-01, 1.50e-01, 1.35e-01,
1.22e-01, 1.11e-01, 1.00e-01, 9.07e-02, 8.21e-02, 7.43e-02, 6.72e-02,
6.08e-02, 5.50e-02, 4.98e-02, 4.50e-02, 4.08e-02, 3.69e-02, 3.34e-02,
3.02e-02, 2.73e-02, 2.47e-02, 2.24e-02, 2.02e-02, 1.83e-02, 1.66e-02,
1.50e-02, 1.36e-02, 1.23e-02, 1.11e-02, 1.01e-02, 9.10e-03, 8.23e-03,
7.45e-03, 6.74e-03, 6.10e-03, 5.52e-03, 4.99e-03, 4.52e-03, 4.09e-03,
3.70e-03, 3.35e-03, 3.03e-03, 2.74e-03, 2.48e-03, 2.24e-03, 2.03e-03,
1.84e-03, 1.66e-03, 1.50e-03, 1.36e-03, 1.23e-03, 1.11e-03, 1.01e-03,
9.12e-04, 8.25e-04, 7.47e-04, 6.76e-04, 6.11e-04, 5.53e-04, 5.00e-04,
4.53e-04, 4.10e-04, 3.71e-04}

forced discharged of FASP LUT

Definition at line 151 of file CbmTrdFASP.h.

Referenced by MakeOut().

◆ fgkNclkFT

const Int_t CbmTrdFASP::fgkNclkFT = 14
staticprotected

length of flat top in FASP clocks

Definition at line 154 of file CbmTrdFASP.h.

Referenced by Print(), and ProcessShaper().

◆ fgkNDB

const Int_t CbmTrdFASP::fgkNDB = 53
staticprotected

DB shaper size.

Definition at line 143 of file CbmTrdFASP.h.

Referenced by GetShaperSignal().

◆ fgkShaper

const Float_t CbmTrdFASP::fgkShaper
staticprotected

DB shaper signals for each input charge discretization.

Definition at line 145 of file CbmTrdFASP.h.

Referenced by GetShaperSignal().

◆ fgkShaperLUT

const Float_t CbmTrdFASP::fgkShaperLUT
staticprotected
Initial value:
= {
7.52e-04, 3.79e-03, 9.02e-03, 1.58e-02, 2.33e-02, 3.10e-02, 3.83e-02,
4.48e-02, 5.03e-02, 5.46e-02, 5.78e-02, 5.99e-02, 6.10e-02, 6.11e-02,
6.04e-02, 5.90e-02, 5.71e-02, 5.47e-02, 5.20e-02, 4.91e-02, 4.60e-02,
4.29e-02, 3.98e-02, 3.67e-02, 3.37e-02, 3.09e-02, 2.81e-02, 2.55e-02,
2.31e-02, 2.08e-02, 1.87e-02, 1.68e-02, 1.50e-02, 1.34e-02, 1.20e-02,
1.06e-02, 9.42e-03, 8.34e-03, 7.37e-03, 6.50e-03, 5.72e-03, 5.03e-03,
4.42e-03, 3.87e-03, 3.39e-03, 2.97e-03, 2.59e-03, 2.26e-03, 1.97e-03,
1.71e-03, 1.49e-03, 1.29e-03, 1.12e-03, 9.73e-04, 8.43e-04, 7.30e-04,
6.31e-04, 5.45e-04, 4.71e-04, 4.06e-04, 3.50e-04, 3.01e-04, 2.60e-04,
2.23e-04, 1.92e-04, 1.65e-04, 1.42e-04, 1.22e-04, 1.04e-04, 8.94e-05,
7.66e-05, 6.56e-05, 5.61e-05, 4.80e-05, 4.11e-05, 3.51e-05, 3.00e-05,
2.56e-05, 2.19e-05, 1.86e-05}

shaper LUT

Definition at line 149 of file CbmTrdFASP.h.

Referenced by MakeOut().

◆ fgkShaperPar

const Float_t CbmTrdFASP::fgkShaperPar = {0.068, 26.1, 2.61, 50}
staticprotected

shaper parameters

Definition at line 148 of file CbmTrdFASP.h.

◆ fgNclkLG

Int_t CbmTrdFASP::fgNclkLG = 31
staticprotected

length of linear-gate command in FASP clocks

Definition at line 155 of file CbmTrdFASP.h.

Referenced by Print(), ProcessShaper(), and SetLGminLength().

◆ fgNeighbour

Bool_t CbmTrdFASP::fgNeighbour = kTRUE
staticprotected

Neighbour enable flag.

Definition at line 156 of file CbmTrdFASP.h.

Referenced by PhysToRaw(), Print(), ProcessShaper(), and SetNeighbourTrigger().

◆ fgNeighbourThr

Float_t CbmTrdFASP::fgNeighbourThr = 0.04
staticprotected

neighbour threshold [V] for fgNeighbour=kTRUE

Definition at line 158 of file CbmTrdFASP.h.

Referenced by Draw(), Print(), ProcessShaper(), and SetNeighbourThr().

◆ fgOutGain

Float_t CbmTrdFASP::fgOutGain = 2.025
staticprotected

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

Definition at line 161 of file CbmTrdFASP.h.

Referenced by GetBaselineCorr(), and ProcessShaper().

◆ fGraph

TGraph* CbmTrdFASP::fGraph[NGRAPH]
protected

graph representations of analog FASP response

Definition at line 136 of file CbmTrdFASP.h.

Referenced by CbmTrdFASP(), Draw(), ProcessShaper(), and ~CbmTrdFASP().

◆ fGraphId

Int_t CbmTrdFASP::fGraphId
protected

current graph to be filled if draw support is compiled

Definition at line 132 of file CbmTrdFASP.h.

Referenced by Draw(), ProcessShaper(), ScanDigi(), and ScanDigiNE().

◆ fGraphMap

std::vector<std::pair<Int_t, Int_t> > CbmTrdFASP::fGraphMap
protected

map of ASIC id and output FASP signals

Definition at line 135 of file CbmTrdFASP.h.

Referenced by Draw(), and ProcessShaper().

◆ fGraphPhys

TGraph* CbmTrdFASP::fGraphPhys[NGRAPH]
protected

graph representations of physics digi

Definition at line 138 of file CbmTrdFASP.h.

Referenced by CbmTrdFASP(), Draw(), ScanDigi(), ScanDigiNE(), and ~CbmTrdFASP().

◆ fGraphShp

TGraph* CbmTrdFASP::fGraphShp[NGRAPH]
protected

graph representations of FASP shaper

Definition at line 137 of file CbmTrdFASP.h.

Referenced by CbmTrdFASP(), Draw(), ProcessShaper(), and ~CbmTrdFASP().

◆ fgShaperThr

Float_t CbmTrdFASP::fgShaperThr = 0.05
staticprotected

shaper threshold [V]

Definition at line 159 of file CbmTrdFASP.h.

Referenced by Draw(), Print(), ProcessShaper(), and SetShaperThr().

◆ fGthr

TLine* CbmTrdFASP::fGthr
protected

graph representation of various thresholds

Definition at line 139 of file CbmTrdFASP.h.

Referenced by Draw().

◆ fHitThPrev

std::vector<bool> CbmTrdFASP::fHitThPrev
protected

previous channel hit threshold

Definition at line 116 of file CbmTrdFASP.h.

Referenced by CbmTrdFASP(), Clear(), and ProcessShaper().

◆ fMonitor

TCanvas* CbmTrdFASP::fMonitor
protected

monitor canvas when drawing

Definition at line 140 of file CbmTrdFASP.h.

Referenced by Draw(), and ~CbmTrdFASP().

◆ fNphys

Int_t CbmTrdFASP::fNphys[2]
protected

number of physical digi in the current [0] and next [1] shaper

Definition at line 109 of file CbmTrdFASP.h.

Referenced by CbmTrdFASP(), Clear(), ProcessShaper(), ScanDigi(), and ScanDigiNE().

◆ fNraw

Int_t CbmTrdFASP::fNraw
protected

number of raw digi for the tilt channel

Definition at line 111 of file CbmTrdFASP.h.

Referenced by ScanDigi(), ScanDigiNE(), and WriteDigi().

◆ fOut

std::vector<Float_t> CbmTrdFASP::fOut
protected

analog output for the current channel

Definition at line 133 of file CbmTrdFASP.h.

Referenced by CbmTrdFASP(), Draw(), ProcessShaper(), ScanDigi(), and ScanDigiNE().

◆ fPar

CbmTrdParFaspChannel* CbmTrdFASP::fPar
protected

current FASP channel parametrization

Definition at line 125 of file CbmTrdFASP.h.

◆ fProcTime

UInt_t CbmTrdFASP::fProcTime
protected

time window [ns] for actual digi processing (excluded fgkBufferKeep)

Definition at line 105 of file CbmTrdFASP.h.

Referenced by GetEndTime(), Go(), SetProcTime(), and WriteDigi().

◆ fRow

Int_t CbmTrdFASP::fRow
protected

current row

Definition at line 107 of file CbmTrdFASP.h.

Referenced by ProcessShaper(), ScanDigi(), and ScanDigiNE().

◆ fShaper

std::vector<Float_t> CbmTrdFASP::fShaper
protected

current channel shaper analog

Definition at line 117 of file CbmTrdFASP.h.

Referenced by CbmTrdFASP(), MakeOut(), Print(), ProcessShaper(), ScanDigi(), ScanDigiNE(), and SetProcTime().

◆ fShaperNext

std::vector<Float_t> CbmTrdFASP::fShaperNext
protected

next channel shaper analog

Definition at line 118 of file CbmTrdFASP.h.

Referenced by CbmTrdFASP(), Print(), ProcessShaper(), ScanDigi(), and ScanDigiNE().

◆ fSignal

Float_t CbmTrdFASP::fSignal[FASP_WINDOW]
protected

temporary array to store shaper analog signal for current charge interpolation

Definition at line 121 of file CbmTrdFASP.h.

Referenced by GetShaperSignal(), ScanDigi(), and ScanDigiNE().

◆ fStartTime

ULong64_t CbmTrdFASP::fStartTime
protected

time offset [ns] for the current simulation

Definition at line 103 of file CbmTrdFASP.h.

Referenced by GetEndTime(), GetStartTime(), Go(), ProcessShaper(), ScanDigi(), ScanDigiNE(), SetProcTime(), SetStartTime(), and WriteDigi().

◆ fTimeDY

Int_t CbmTrdFASP::fTimeDY
protected

Time decay from FT [5*ns].

Definition at line 128 of file CbmTrdFASP.h.

Referenced by MakeOut(), and ProcessShaper().

◆ fTimeFT

Int_t CbmTrdFASP::fTimeFT
protected

Chip Select time legth [5*ns].

Definition at line 127 of file CbmTrdFASP.h.

Referenced by MakeOut(), and ProcessShaper().

◆ fTimeLG

Int_t CbmTrdFASP::fTimeLG
protected

Linear gate time length [5*ns].

Definition at line 126 of file CbmTrdFASP.h.

Referenced by ProcessShaper().


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