PandaRoot
BSEmcFwEndcapCosmicWaveformGenPar.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 #ifndef BSEMCFWENDCAPCOSMICWAVEFORMGENPAR_HH
14 #define BSEMCFWENDCAPCOSMICWAVEFORMGENPAR_HH
15 
16 #include <string>
17 
18 #include "Rtypes.h"
19 #include "RtypesCore.h"
20 #include "TArrayD.h"
21 
22 #include "FairParGenericSet.h"
23 #include "FairParamList.h"
24 
25 class FairParamList;
26 class TBuffer;
27 class TClass;
28 class TMemberInspector;
29 
36 class BSEmcFwEndcapCosmicWaveformGenPar : public FairParGenericSet {
37 
38  public:
39  static const std::string fgParameterName;
40  BSEmcFwEndcapCosmicWaveformGenPar(const char *t_name = "BSEmcFwEndcapCosmicWaveformGenPar", const char *t_title = "Emc forward endcap digi parameters",
41  const char *t_context = "TestDefaultContext");
43 
44  Int_t GetNBits() { return fNBits; };
45  Double_t GetPulseRisetime() { return fPulseRisetime; };
46  Double_t GetPulseAmplitudeConverstion() { return fPulseAmplitudeConversion; };
47  Double_t GetPulseFastDecaytime() { return fPulseFastDecaytime; };
48 
49  Double_t GetEnergyRangeHigh() { return fEnergyRangeHigh; };
50  Double_t GetEnergyRangeLow() { return fEnergyRangeLow; };
51  Double_t GetNoiseWidthHigh() { return fNoiseWidthHigh; };
52  Double_t GetNoiseWidthLow() { return fNoiseWidthLow; };
53 
54  Double_t GetWfCutOffEnergy() { return fWfCutOffEnergy; };
55  Double_t GetTimeBeforeHit() { return fTimeBeforeHit; };
56  Double_t GetTimeAfterHit() { return fTimeAfterHit; };
57  Double_t GetSampleRate() { return fSampleRate; };
58 
59  Double_t GetBaselineMeanLow() { return fBaselineMeanLow; };
60  Double_t GetBaselineMeanHigh() { return fBaselineMeanHigh; };
61  Double_t GetBaselineSigmaLow() { return fBaselineSigmaLow; };
62  Double_t GetBaselineSigmaHigh() { return fBaselineSigmaHigh; };
63 
64  virtual void putParams(FairParamList *t_list) /*override*/;
65  virtual Bool_t getParams(FairParamList *t_list) /*override*/;
66 
67  private:
68  // Empty method, WHY is this Called in constructor(FIXME)
69  virtual void clear(void) /*override*/ {};
70 
71  Int_t fNBits{0};
72 
73  Double_t fPulseRisetime{0};
74  Double_t fPulseAmplitudeConversion{0};
75  Double_t fPulseFastDecaytime{0};
76 
77  Double_t fEnergyRangeHigh{0};
78  Double_t fEnergyRangeLow{0};
79  Double_t fNoiseWidthHigh{0};
80  Double_t fNoiseWidthLow{0};
81 
82  Double_t fTimeBeforeHit{0};
83  Double_t fTimeAfterHit{0};
84  Double_t fWfCutOffEnergy{0};
85  Double_t fSampleRate{0};
86 
87  Double_t fBaselineMeanLow{0};
88  Double_t fBaselineMeanHigh{0};
89  Double_t fBaselineSigmaLow{0};
90  Double_t fBaselineSigmaHigh{0};
91 
93 };
94 
95 #endif /*BSEMCFWENDCAPCOSMICWAVEFORMGENPAR_HH*/
parameter set for the FWEndcap variant of waveform simulation
virtual Bool_t getParams(FairParamList *t_list)
virtual void putParams(FairParamList *t_list)
BSEmcFwEndcapCosmicWaveformGenPar(const char *t_name="BSEmcFwEndcapCosmicWaveformGenPar", const char *t_title="Emc forward endcap digi parameters", const char *t_context="TestDefaultContext")