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