7#include <FairParGenericSet.h>
8#include <FairParamList.h>
14 : FairParGenericSet(name, title, context)
16 , fTimeResolution(-1.)
17 , fEnergyResolution(-1.)
43 if (!l) {
return kFALSE; }
45 LOG(debug2) <<
"Get the FSD digitization parameters.";
48 if (!l->fill(
"NumUnits", &
fNumUnits))
return kFALSE;
55 if (!l->fill(
"DeadTime", &
fDeadTime))
return kFALSE;
ClassImp(CbmFsdDigiPar) CbmFsdDigiPar
Bool_t getParams(FairParamList *)
CbmFsdDigiPar(const char *name="CbmFsdDigiPar", const char *title="Digitization parameters for the FSD detector", const char *context="Needed parameters to adjust FsdDigitizer according to the geometry and read-out propetries")
Double_t GetTimeResolution(Int_t iUnitId) const
Double_t GetEnergyResolution(Int_t iUnitId) const
Double_t GetDeadTime(Int_t iUnitId) const
void putParams(FairParamList *)
TArrayD fEnergyResolution