Go to the documentation of this file.
7 #define CBMSTSPARSIM_H 1
10 #include <RtypesCore.h>
12 #include <FairParGenericSet.h>
30 const char* title =
"STS parameters",
31 const char* context =
"Default");
70 virtual Bool_t
getParams(FairParamList* parList);
95 virtual void putParams(FairParamList* parList);
137 Bool_t useLorentzShift,
139 Bool_t useCrossTalk) {
ClassDef(CbmStsParSim, 1)
Bool_t fCrossTalk
Apply cross-talk.
Bool_t EventMode() const
Check whether event-by-event mode is applied.
Bool_t fNoise
Generate inter-event noise.
CbmStsELoss fELossModel
Energy loss model.
virtual ~CbmStsParSim()
Destructor.
Bool_t fEventMode
Event-by-event mode.
std::string ToString() const
String output.
CbmStsELoss ELossModel() const
Energy loss model.
virtual Bool_t getParams(FairParamList *parList)
Reading parameters from ASCII. Abstract in base class.
void SetEventMode(Bool_t choice=kTRUE)
Set event-by-event simulation mode.
CbmStsELoss
Energy loss model used in simulation.
Bool_t OnlyPrimaries() const
Process only primary tracks.
Bool_t Noise() const
Check whether inter-event noise is generated.
virtual void clear()
Reset all parameters.
CbmStsParSim(const char *name="CbmStsParSim", const char *title="STS parameters", const char *context="Default")
Constructor.
Bool_t fDiffusion
Apply diffusion.
void SetProcesses(CbmStsELoss eLossModel, Bool_t useLorentzShift, Bool_t useDiffusion, Bool_t useCrossTalk)
Bool_t CrossTalk() const
Check whether cross-talk is applied.
Bool_t fLorentzShift
Apply Lorentz shift.
Bool_t LorentzShift() const
Check whether Lorentz shift is applied.
virtual void putParams(FairParamList *parList)
Writing parameters to ASCII. Abstract in base class.
Settings for STS simulation (digitizer)
void SetGenerateNoise(Bool_t choice=kTRUE)
Activate or de-activate inter-event noise.
Bool_t fOnlyPrimaries
Process sonly primary tracks.
Bool_t Diffusion() const
Check whether diffusion is applied.
void SetOnlyPrimaries(Bool_t choice=kTRUE)
Process only primary tracks.