5#ifndef CBMTRDMODULESIM_H
6#define CBMTRDMODULESIM_H
43 virtual void GetCounters(Int_t& nEl, Int_t& nLattice, Int_t& nOverThr)
const
78 virtual void SetGamma(Double_t gamma = 0.) = 0;
80 virtual void SetLinkId(Int_t input, Int_t event = -1, Int_t point = -1)
104 std::map<Int_t, std::pair<CbmTrdDigi*, CbmMatch*>>
106 std::map<Int_t, std::vector<std::pair<CbmTrdDigi*, CbmMatch*>>>
Abstract class for the TRD module It provides access to the basic properties of the chamber as follow...
Abstract class for module wise digitization and raw format producing.
std::shared_ptr< CbmTrdRadiator > fRadiator
Pointer to digitizer.
virtual void SetTimeSysOffset(int dt)
virtual Bool_t MakeDigi(CbmTrdPoint *p, Double_t time, Bool_t TR=kFALSE)=0
Steering routine for converting MC point to digits.
CbmTrdModuleSim()
Default constructor.
@ kNoise
switch noise digits generation
@ kTime
select Time based/Event by event simulations
@ kWeightDistance
use weighting distance for link generation
void SetDigitizer(CbmTrdDigitizer *digitizer)
std::map< Int_t, std::vector< std::pair< CbmTrdDigi *, CbmMatch * > > > fBuffer
Local digits buffer as function of time for each TRD channel in the module.
Int_t fInputId
MC input file number.
virtual void SetLinkId(Int_t input, Int_t event=-1, Int_t point=-1)
Int_t fPointId
MC point id being processed.
virtual Int_t GetEventId() const
std::map< Int_t, std::pair< CbmTrdDigi *, CbmMatch * > > fDigiMap
Temporary storage for complete digis for each CBM address.
virtual Bool_t MakeRaw()=0
Steering routine for converting MC point to raw format.
virtual void SetPositionMC(Double_t pos[3])
virtual void SetPointId(Int_t id)
CbmTrdModuleSim(const CbmTrdModuleSim &ref)
Int_t fEventId
MC event id being processed.
virtual void SetInputId(Int_t id)
virtual void SetEventId(Int_t id)
virtual void ResetCounters()
virtual Int_t GetPointId() const
const CbmTrdModuleSim & operator=(const CbmTrdModuleSim &ref)
virtual void SetGamma(Double_t gamma=0.)=0
virtual std::map< Int_t, std::pair< CbmTrdDigi *, CbmMatch * > > * GetDigiMap()
Int_t fTimeSysOffset
Time offset of TRD digis to align them with other detectors (Bmon, ToF)
virtual void SetMessageConverter(CbmTrdRawToDigiR *conv=NULL)=0
Double_t fXYZ[3]
MC position of the point in module coordinates.
CbmTrdDigitizer * fDigitizer
virtual Int_t GetInputId() const
virtual Int_t FlushBuffer(ULong64_t time=0)=0
Flush local digi buffer.
virtual void GetCounters(Int_t &nEl, Int_t &nLattice, Int_t &nOverThr) const
virtual ~CbmTrdModuleSim()
virtual void SetQA(CbmTrdCheckUtil *qa=NULL)=0
virtual void SetRadiator(std::shared_ptr< CbmTrdRadiator > radiator)
Set the Radiator.