CbmRoot
Loading...
Searching...
No Matches
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.
 
virtual ~CbmTrdFASP ()
 
virtual void Clear (Option_t *opt="")
 Finalize currently stored data.
 
virtual void Draw (Option_t *opt="")
 Graphical representation of FASP analog/digital response to currently stored data.
 
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.
 
virtual void InitChannel (int id, const CbmTrdParFaspChannel *par, int asicId=-1, int chId=-1)
 [Re]Initialize one of the two FASP channels
 
virtual void PhysToRaw (std::vector< std::pair< CbmTrdDigi *, CbmMatch * > > *digi)
 Convert physics information in digi to the raw format.
 
virtual void Print (Option_t *opt="") const
 Print-out FASP analog/digital response to currently stored data.
 
void SetProcTime (ULong64_t t=0)
 Set limit in time for processing digis.
 
void SetStartTime (ULong64_t t)
 Set buffer time offset [ns].
 

Static Public Member Functions

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

Protected Member Functions

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

Protected Attributes

ULong64_t fStartTime = 0
 time offset [ns] for the current simulation
 
UInt_t fProcTime = 0
 time window [ns] for actual digi processing (excluded fgkBufferKeep)
 
int fPad = -1
 current pad as defined by CbmTrdModuleAbstract::GetPadAddress()
 
Int_t fNphys [2]
 number of physical digi in the current [0] and next [1] shaper
 
Int_t fNraw = 0
 number of raw digi for the tilt channel
 
std::vector< std::pair< CbmTrdDigi *, CbmMatch * > > * fDigi = nullptr
 link to digi vector to be transformed
 
std::vector< bool > fHitThPrev = {0}
 previous channel hit threshold
 
std::vector< Float_t > fShaper = {0.}
 current channel shaper analog
 
std::vector< Float_t > fShaperNext = {0.}
 next channel shaper analog
 
std::vector< std::tuple< UInt_t, UInt_t, UInt_t, Bool_t > > fDigiProc
 proccessed info wrt fStartTime <hit_time[ns], CS_time[ns], OUT[ADC], trigger>
 
Float_t fSignal [FASP_WINDOW]
 temporary array to store shaper analog signal for current charge interpolation
 
const CbmTrdParFaspChannelfPar [2] = {nullptr}
 current FASP ASIC parametrization
 
Int_t fTimeLG = -1
 Linear gate time length [5*ns].
 
Int_t fTimeFT = -1
 Chip Select time legth [5*ns].
 
Int_t fTimeDY = -1
 Time decay from FT [5*ns].
 
Float_t fFT = 0.
 Flat Top value [V].
 
int fNgraph = 1
 No of graphs generated.
 
int fAsicId [2] = {-1, -1}
 identifier of FASP(s) in module
 
int fChId [2] = {-1, -1}
 FASP channels being processed.
 
std::vector< Float_t > fOut = {0.}
 analog output for the current channel
 
std::map< int, std::array< int, NFASPCH > > fGraphMap
 map of ASIC_id and (ch_id, output_id of FASP signals graphs) pairs
 
TGraph * fGraph [NGRAPH] = {nullptr}
 graph representations of analog FASP response
 
TGraph * fGraphShp [NGRAPH] = {nullptr}
 graph representations of FASP shaper
 
TGraph * fGraphPhys [NGRAPH] = {nullptr}
 graph representations of physics digi
 
TLine * fGthr = nullptr
 graph representation of various thresholds
 
TCanvas * fMonitor = nullptr
 monitor canvas when drawing
 

Static Protected Attributes

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

Detailed Description

FASP channel simulator.

Definition at line 30 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 46 of file CbmTrdFASP.cxx.

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

◆ ~CbmTrdFASP()

CbmTrdFASP::~CbmTrdFASP ( )
virtual

Definition at line 70 of file CbmTrdFASP.cxx.

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

Member Function Documentation

◆ AddGraph()

int CbmTrdFASP::AddGraph ( char typ = 'T')
protected

Definition at line 130 of file CbmTrdFASP.cxx.

References fAsicId, fChId, fGraph, fGraphPhys, fGraphShp, fNgraph, fOut, fPad, fStartTime, and NGRAPH.

Referenced by ScanDigi().

◆ Clear()

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

Finalize currently stored data.

Definition at line 84 of file CbmTrdFASP.cxx.

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

Referenced by CbmTrdModuleSim2D::FlushBuffer().

◆ Draw()

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

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

Definition at line 166 of file CbmTrdFASP.cxx.

References DRAW, fgNeighbourThr, fGraph, fGraphMap, fGraphPhys, fGraphShp, fgShaperThr, fGthr, fMonitor, fOut, and NFASPCH.

Referenced by Clear().

◆ GetBaselineCorr()

static Float_t CbmTrdFASP::GetBaselineCorr ( )
inlinestatic

Return the baseline value in ADC ch.

Definition at line 44 of file CbmTrdFASP.h.

References fgBaseline, and fgOutGain.

Referenced by CbmTrdDigiRec::GetCharge(), and CbmTrdModuleRec2D::LoadDigisRC().

◆ GetEndTime()

virtual ULong64_t CbmTrdFASP::GetEndTime ( ) const
inlinevirtual

Definition at line 41 of file CbmTrdFASP.h.

References fProcTime, and fStartTime.

Referenced by CbmTrdModuleSim2D::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 242 of file CbmTrdFASP.cxx.

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

Referenced by ScanDigi().

◆ GetStartTime()

virtual ULong64_t CbmTrdFASP::GetStartTime ( ) const
inlinevirtual

Definition at line 42 of file CbmTrdFASP.h.

References fStartTime.

Referenced by CbmTrdModuleSim2D::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 219 of file CbmTrdFASP.cxx.

References fProcTime, and fStartTime.

Referenced by CbmTrdModuleSim2D::FlushBuffer().

◆ InitChannel()

void CbmTrdFASP::InitChannel ( int id,
const CbmTrdParFaspChannel * par,
int asicId = -1,
int chId = -1 )
virtual

[Re]Initialize one of the two FASP channels

Parameters
[in]idFASP-CHANNEL identifier
[in]parFASP-CHANNEL parametrization
[in]asicIdFASP id on the module (as in the DAQ mapping) to be used on drawing
[in]chIdFASP-CHANNEL id on the module (as in the DAQ mapping) to be used on drawing

Definition at line 95 of file CbmTrdFASP.cxx.

References DRAW, fAsicId, fChId, fGraph, fGraphMap, fGraphPhys, fGraphShp, fPar, and NFASPCH.

Referenced by CbmTrdModuleSim2D::FlushBuffer().

◆ MakeOut()

Double_t CbmTrdFASP::MakeOut ( Int_t t)
protected

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

Definition at line 278 of file CbmTrdFASP.cxx.

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

Referenced by ProcessShaper().

◆ PhysToRaw()

void CbmTrdFASP::PhysToRaw ( std::vector< std::pair< CbmTrdDigi *, CbmMatch * > > * digi)
virtual

Convert physics information in digi to the raw format.

Parameters
[in]digilist of digits for the current pad

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

Definition at line 304 of file CbmTrdFASP.cxx.

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

Referenced by CbmTrdModuleSim2D::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 315 of file CbmTrdFASP.cxx.

References CbmTrdDigi::Clk(), fgkNclkFT, fgNclkLG, fgNeighbour, fgNeighbourThr, fgShaperThr, fPad, 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 339 of file CbmTrdFASP.cxx.

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

Referenced by Clear(), and ScanDigi().

◆ ScanDigi()

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

Read digi array for one pair T/R defined by the pad column.

Parameters
[in]digithe set of digi and their MC info if avilable

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

Definition at line 498 of file CbmTrdFASP.cxx.

References AddGraph(), DRAW, fAsicId, FASP_WINDOW, fChId, fDigi, fGraphMap, fGraphPhys, fNphys, fNraw, fPad, fShaper, fShaperNext, fSignal, fStartTime, CbmTrdDigi::GetAddressChannel(), CbmTrdDigi::GetCharge(), GetShaperSignal(), CbmTrdDigi::GetTime(), CbmTrdDigi::GetTimeDAQ(), ProcessShaper(), VERBOSE, and WriteDigi().

Referenced by PhysToRaw().

◆ ScanDigiNE()

void CbmTrdFASP::ScanDigiNE ( std::vector< std::pair< CbmTrdDigi *, CbmMatch * > > * digi)
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 576 of file CbmTrdFASP.cxx.

Referenced by PhysToRaw().

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

◆ SetProcTime()

void CbmTrdFASP::SetProcTime ( ULong64_t t = 0)

Set limit in time for processing digis.

Definition at line 741 of file CbmTrdFASP.cxx.

References fgkBufferKeep, fProcTime, fShaper, and fStartTime.

Referenced by CbmTrdFASP(), and CbmTrdModuleSim2D::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 CbmTrdModuleSim2D::FlushBuffer().

◆ WriteDigi()

Member Data Documentation

◆ fAsicId

int CbmTrdFASP::fAsicId[2] = {-1, -1}
protected

identifier of FASP(s) in module

Definition at line 127 of file CbmTrdFASP.h.

Referenced by AddGraph(), InitChannel(), ProcessShaper(), and ScanDigi().

◆ fChId

int CbmTrdFASP::fChId[2] = {-1, -1}
protected

FASP channels being processed.

Definition at line 128 of file CbmTrdFASP.h.

Referenced by AddGraph(), InitChannel(), ProcessShaper(), and ScanDigi().

◆ fDigi

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

link to digi vector to be transformed

Definition at line 107 of file CbmTrdFASP.h.

Referenced by ScanDigi(), and WriteDigi().

◆ fDigiProc

std::vector<std::tuple<UInt_t, UInt_t, UInt_t, Bool_t> > CbmTrdFASP::fDigiProc
protected
Initial value:
=
{}

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

Definition at line 113 of file CbmTrdFASP.h.

Referenced by ProcessShaper(), and WriteDigi().

◆ fFT

Float_t CbmTrdFASP::fFT = 0.
protected

Flat Top value [V].

Definition at line 123 of file CbmTrdFASP.h.

Referenced by MakeOut(), and ProcessShaper().

◆ fgBaseline

Float_t CbmTrdFASP::fgBaseline = 0.25
staticprotected

FASP baseline [V].

Definition at line 152 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 156 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 926 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 917 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 147 of file CbmTrdFASP.h.

Referenced by Print(), and ProcessShaper().

◆ fgkNDB

const Int_t CbmTrdFASP::fgkNDB = 53
staticprotected

DB shaper size.

Definition at line 139 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 930 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 908 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 907 of file CbmTrdFASP.h.

◆ fgNclkLG

Int_t CbmTrdFASP::fgNclkLG = 31
staticprotected

length of linear-gate command in FASP clocks

Definition at line 148 of file CbmTrdFASP.h.

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

◆ fgNeighbour

Bool_t CbmTrdFASP::fgNeighbour = kFALSE
staticprotected

Neighbour enable flag.

Definition at line 149 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 150 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 153 of file CbmTrdFASP.h.

Referenced by GetBaselineCorr(), and ProcessShaper().

◆ fGraph

TGraph* CbmTrdFASP::fGraph[NGRAPH] = {nullptr}
protected

graph representations of analog FASP response

Definition at line 132 of file CbmTrdFASP.h.

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

◆ fGraphMap

std::map<int, std::array<int, NFASPCH> > CbmTrdFASP::fGraphMap
protected

map of ASIC_id and (ch_id, output_id of FASP signals graphs) pairs

Definition at line 131 of file CbmTrdFASP.h.

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

◆ fGraphPhys

TGraph* CbmTrdFASP::fGraphPhys[NGRAPH] = {nullptr}
protected

graph representations of physics digi

Definition at line 134 of file CbmTrdFASP.h.

Referenced by AddGraph(), CbmTrdFASP(), Draw(), InitChannel(), ScanDigi(), and ~CbmTrdFASP().

◆ fGraphShp

TGraph* CbmTrdFASP::fGraphShp[NGRAPH] = {nullptr}
protected

graph representations of FASP shaper

Definition at line 133 of file CbmTrdFASP.h.

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

◆ fgShaperThr

Float_t CbmTrdFASP::fgShaperThr = 0.08
staticprotected

shaper threshold [V]

Definition at line 151 of file CbmTrdFASP.h.

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

◆ fGthr

TLine* CbmTrdFASP::fGthr = nullptr
protected

graph representation of various thresholds

Definition at line 135 of file CbmTrdFASP.h.

Referenced by Draw().

◆ fHitThPrev

std::vector<bool> CbmTrdFASP::fHitThPrev = {0}
protected

previous channel hit threshold

Definition at line 110 of file CbmTrdFASP.h.

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

◆ fMonitor

TCanvas* CbmTrdFASP::fMonitor = nullptr
protected

monitor canvas when drawing

Definition at line 136 of file CbmTrdFASP.h.

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

◆ fNgraph

int CbmTrdFASP::fNgraph = 1
protected

No of graphs generated.

Definition at line 126 of file CbmTrdFASP.h.

Referenced by AddGraph().

◆ fNphys

Int_t CbmTrdFASP::fNphys[2]
protected

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

Definition at line 105 of file CbmTrdFASP.h.

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

◆ fNraw

Int_t CbmTrdFASP::fNraw = 0
protected

number of raw digi for the tilt channel

Definition at line 106 of file CbmTrdFASP.h.

Referenced by ScanDigi(), and WriteDigi().

◆ fOut

std::vector<Float_t> CbmTrdFASP::fOut = {0.}
protected

analog output for the current channel

Definition at line 129 of file CbmTrdFASP.h.

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

◆ fPad

int CbmTrdFASP::fPad = -1
protected

current pad as defined by CbmTrdModuleAbstract::GetPadAddress()

Definition at line 104 of file CbmTrdFASP.h.

Referenced by AddGraph(), Print(), ProcessShaper(), and ScanDigi().

◆ fPar

const CbmTrdParFaspChannel* CbmTrdFASP::fPar[2] = {nullptr}
protected

current FASP ASIC parametrization

Definition at line 119 of file CbmTrdFASP.h.

Referenced by InitChannel().

◆ fProcTime

UInt_t CbmTrdFASP::fProcTime = 0
protected

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

Definition at line 103 of file CbmTrdFASP.h.

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

◆ fShaper

std::vector<Float_t> CbmTrdFASP::fShaper = {0.}
protected

current channel shaper analog

Definition at line 111 of file CbmTrdFASP.h.

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

◆ fShaperNext

std::vector<Float_t> CbmTrdFASP::fShaperNext = {0.}
protected

next channel shaper analog

Definition at line 112 of file CbmTrdFASP.h.

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

◆ fSignal

Float_t CbmTrdFASP::fSignal[FASP_WINDOW]
protected
Initial value:
= {
0.}

temporary array to store shaper analog signal for current charge interpolation

Definition at line 115 of file CbmTrdFASP.h.

Referenced by GetShaperSignal(), and ScanDigi().

◆ fStartTime

ULong64_t CbmTrdFASP::fStartTime = 0
protected

time offset [ns] for the current simulation

Definition at line 102 of file CbmTrdFASP.h.

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

◆ fTimeDY

Int_t CbmTrdFASP::fTimeDY = -1
protected

Time decay from FT [5*ns].

Definition at line 122 of file CbmTrdFASP.h.

Referenced by MakeOut(), and ProcessShaper().

◆ fTimeFT

Int_t CbmTrdFASP::fTimeFT = -1
protected

Chip Select time legth [5*ns].

Definition at line 121 of file CbmTrdFASP.h.

Referenced by MakeOut(), and ProcessShaper().

◆ fTimeLG

Int_t CbmTrdFASP::fTimeLG = -1
protected

Linear gate time length [5*ns].

Definition at line 120 of file CbmTrdFASP.h.

Referenced by ProcessShaper().


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