PandaRoot
BSEmcErrorCalculationPar.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 BSEMCERRORCALCULATIONPAR_HH
14 #define BSEMCERRORCALCULATIONPAR_HH
15 #include <string>
16 
17 #include "Rtypes.h"
18 #include "RtypesCore.h"
19 #include "TObject.h"
20 
21 #include "FairParGenericSet.h"
22 
23 class FairParamList;
24 class TBuffer;
25 class TClass;
26 class TMemberInspector;
27 
44 class BSEmcErrorCalculationPar : public FairParGenericSet {
45  public:
46  static std::string fgParameterName;
47  BSEmcErrorCalculationPar(const char *t_name = "EmcErrorCalculationPar", const char *t_title = "Emc Geometry Version Flag", const char *t_context = "TestDefaultContext");
48  virtual ~BSEmcErrorCalculationPar();
49  void clear() /*override*/;
50 
51  Double_t GetScaleFactor() const { return fScaleFactor; }
52  Double_t GetMinEnergyCutOff() const { return fMinEnergyCutOff; }
53  Double_t GetMaxEnergyCutOff() const { return fMaxEnergyCutOff; }
54  Double_t GetDetectorPosition() const { return fDetectorPosition; }
55 
56  Double_t GetEnergyParA() const { return fEnergyParA; }
57  Double_t GetEnergyPower() const { return fEnergyPower; }
58  Double_t GetEnergyConst() const { return fEnergyConst; }
59  Double_t GetEnergyQuadr() const { return fEnergyQuadr; }
60  Double_t GetPosition1ParA() const { return fPosition1ParA; }
61  Double_t GetPosition1Power() const { return fPosition1Power; }
62  Double_t GetPosition1Const() const { return fPosition1Const; }
63  Double_t GetPosition2ParA() const { return fPosition2ParA; }
64  Double_t GetPosition2Power() const { return fPosition2Power; }
65  Double_t GetPosition2Const() const { return fPosition2Const; }
66 
67  void putParams(FairParamList * /*unused*/) /*override*/;
68  Bool_t getParams(FairParamList * /*unused*/) /*override*/;
69 
70  private:
71  Double_t fScaleFactor{-1};
72  Double_t fMinEnergyCutOff{-1};
73  Double_t fMaxEnergyCutOff{-1};
74  Double_t fDetectorPosition{-1};
75 
76  Double_t fEnergyParA{-1};
77  Double_t fEnergyPower{-1};
78  Double_t fEnergyConst{-1};
79  Double_t fEnergyQuadr{-1};
80  Double_t fPosition1ParA{-1};
81  Double_t fPosition1Power{-1};
82  Double_t fPosition1Const{-1};
83  Double_t fPosition2ParA{-1};
84  Double_t fPosition2Power{-1};
85  Double_t fPosition2Const{-1};
86 
87  ClassDef(BSEmcErrorCalculationPar, 2)
88 };
89 
90 #endif /*BSEMCERRORCALCULATIONPAR_HH*/
Bool_t getParams(FairParamList *)
BSEmcErrorCalculationPar(const char *t_name="EmcErrorCalculationPar", const char *t_title="Emc Geometry Version Flag", const char *t_context="TestDefaultContext")
Container class for EMC error matrix parameter class is inherited from FairParGenericSet.
void putParams(FairParamList *)
virtual ~BSEmcErrorCalculationPar()