5#ifndef CBMTRDMODULESIM2D_H
6#define CBMTRDMODULESIM2D_H
87 Bool_t
ScanPadPlane(Double_t* point, Double_t dx, Double_t E, Double_t tdrift);
98 void AddDigi(Int_t address, Double_t* charge, Double_t time);
Bookkeeping of time-slice content.
Simulation module implementation for TRD-2D physics and FEE.
Bool_t ScanPadPlane(Double_t *point, Double_t dx, Double_t E, Double_t tdrift)
Build digits for the triangular pad geometry.
void SetQA(CbmTrdCheckUtil *qa=NULL)
Bool_t MakeRaw()
Steering routine for converting MC point to raw format.
void SetAsicPar(CbmTrdParModAsic *p=NULL)
Int_t FlushBuffer(ULong64_t time=0)
Flush local buffer of digits which can no longer interact with current event.
CbmTimeSlice * fTimeSlice
link to CBM time slice
@ kLab
default simulate 55Fe, if set X-rays, see X-rays spectrum generator
@ kMeasurement
default simulate setup interactions, if set simulate laboratory measurement, see kLab
@ kFEE
FEE simulator. Default FASP otherwise SPADIC.
Bool_t MakeDigi(CbmTrdPoint *p, Double_t time, Bool_t TR)
Steer building of digits for triangular pad geometry.
CbmTrdModuleSim2D(const CbmTrdModuleSim2D &ref)
UChar_t fConfig
bit map for configuration. See class documentation
void SetMessageConverter(CbmTrdRawToDigiR *conv=NULL)
CbmTrdFASP * fFASP
FASP simulator.
virtual ~CbmTrdModuleSim2D()
CbmTrdModuleSim2D(Int_t mod, Int_t ly, Int_t rot, Bool_t FASP=kTRUE)
ULong64_t fTimeOld
time [ns] of the last event processed (check CbmDaq)
void SetFasp(Bool_t set=kTRUE)
Set the FEE type operating on the chamber.
CbmTrdTrianglePRF * fTriangleBinning
Integration of PRF on triangular pad-plane geometry.
Bool_t IsLabMeasurement() const
const CbmTrdModuleSim2D & operator=(const CbmTrdModuleSim2D &ref)
void AddDigi(Int_t address, Double_t *charge, Double_t time)
Adding triangular digits to time slice buffer.
void DumpBuffer() const
Print current buffer content.
void SetFeCalib(Bool_t set=kTRUE)
void SetLabMeasurement(Bool_t set=kTRUE)
Abstract class for module wise digitization and raw format producing.
Describe TRD module ASIC settings (electronic gain, delays, etc)
Utility for converting energy to signal over the triangular pad geometry (Bucharest prototype)