PandaRoot
BSEmcFwEndcapBlindDeconvPar.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 BSEMCFWENDCAPBLINDDECONVPAR_HH
14 #define BSEMCFWENDCAPBLINDDECONVPAR_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 BSEmcFwEndcapBlindDeconvPar : public FairParGenericSet {
37 
38  public:
39  static const std::string fgParameterName;
40  BSEmcFwEndcapBlindDeconvPar(const char *t_name = "BSEmcFwEndcapBlindDeconvPar", const char *t_title = "Emc forward endcap digi parameters",
41  const char *t_context = "TestDefaultContext");
43 
44  const Text_t *GetDeconvolutionFilename() const { return fDeconvolutionFilename; };
45  Double_t GetPeakFinderThreshold() const { return fPeakFinderThreshold; };
46  Double_t GetPeakFinderLowerLimit() const { return fPeakFinderLowerLimit; };
47  Double_t GetPeakFinderUpperLimit() const { return fPeakFinderUpperLimit; };
48 
49  Double_t GetPileUpDetectionYScale() const { return fPileUpDetectionYScale; };
50  Double_t GetPileUpDetectionXOffset() const { return fPileUpDetectionXOffset; };
51  Double_t GetPileUpDetectionYOffset() const { return fPileUpDetectionYOffset; };
52  Int_t GetBaselineSampleNumber() const { return fBaselineSampleNumber; };
53 
54  virtual void putParams(FairParamList *t_list) /*override*/;
55  virtual Bool_t getParams(FairParamList *t_list) /*override*/;
56 
57  private:
58  // Empty method, WHY is this Called in constructor(FIXME)
59  virtual void clear(void) /*override*/ {};
60 
61  Text_t fDeconvolutionFilename[100]{0};
62 
63  Double_t fPeakFinderThreshold{0};
64  Double_t fPeakFinderLowerLimit{0};
65  Double_t fPeakFinderUpperLimit{0};
66 
67  Double_t fPileUpDetectionYScale{0};
68  Double_t fPileUpDetectionXOffset{0};
69  Double_t fPileUpDetectionYOffset{0};
70 
71  Int_t fBaselineSampleNumber{0};
72 
73  ClassDef(BSEmcFwEndcapBlindDeconvPar, 3);
74 };
75 
76 #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)