PandaRoot
BSEmcFwEndcapBlindDeconvPar.h
Go to the documentation of this file.
1 #ifndef BSEMCFWENDCAPBLINDDECONVPAR_HH
2 #define BSEMCFWENDCAPBLINDDECONVPAR_HH
3 
4 #include <string>
5 
6 #include "Rtypes.h"
7 #include "RtypesCore.h"
8 #include "TArrayD.h"
9 
10 #include "FairParGenericSet.h"
11 #include "FairParamList.h"
12 
13 class FairParamList;
14 class TBuffer;
15 class TClass;
16 class TMemberInspector;
17 
24 class BSEmcFwEndcapBlindDeconvPar : public FairParGenericSet {
25 
26  public:
27  static const std::string fgParameterName;
28  BSEmcFwEndcapBlindDeconvPar(const char *t_name = "BSEmcFwEndcapBlindDeconvPar", const char *t_title = "Emc forward endcap digi parameters",
29  const char *t_context = "TestDefaultContext");
31 
32  const Text_t *GetDeconvolutionFilename() const { return fDeconvolutionFilename; };
33  Double_t GetPeakFinderThreshold() const { return fPeakFinderThreshold; };
34  Double_t GetPeakFinderLowerLimit() const { return fPeakFinderLowerLimit; };
35  Double_t GetPeakFinderUpperLimit() const { return fPeakFinderUpperLimit; };
36 
37  Double_t GetPileUpDetectionYScale() const { return fPileUpDetectionYScale; };
38  Double_t GetPileUpDetectionXOffset() const { return fPileUpDetectionXOffset; };
39  Double_t GetPileUpDetectionYOffset() const { return fPileUpDetectionYOffset; };
40  Int_t GetBaselineSampleNumber() const { return fBaselineSampleNumber; };
41 
42  virtual void putParams(FairParamList *t_list) /*override*/;
43  virtual Bool_t getParams(FairParamList *t_list) /*override*/;
44 
45  private:
46  // Empty method, WHY is this Called in constructor(FIXME)
47  virtual void clear(void) /*override*/ {};
48 
49  Text_t fDeconvolutionFilename[100]{0};
50 
51  Double_t fPeakFinderThreshold{0};
52  Double_t fPeakFinderLowerLimit{0};
53  Double_t fPeakFinderUpperLimit{0};
54 
55  Double_t fPileUpDetectionYScale{0};
56  Double_t fPileUpDetectionXOffset{0};
57  Double_t fPileUpDetectionYOffset{0};
58 
59  Int_t fBaselineSampleNumber{0};
60 
61  ClassDef(BSEmcFwEndcapBlindDeconvPar, 3);
62 };
63 
64 #endif /*BSEMCFWENDCAPBLINDDECONVPAR_HH*/
parameter set for the FwEndcap Blind deconvolution approach
const Text_t * GetDeconvolutionFilename() const
virtual void putParams(FairParamList *t_list)
BSEmcFwEndcapBlindDeconvPar(const char *t_name="BSEmcFwEndcapBlindDeconvPar", const char *t_title="Emc forward endcap digi parameters", const char *t_context="TestDefaultContext")
static const std::string fgParameterName
virtual Bool_t getParams(FairParamList *t_list)