PandaRoot
BSEmcCalibrationPar.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 BSEMCCALIBRATIONPAR_HH
14 #define BSEMCCALIBRATIONPAR_HH
15 #include <string>
16 
17 #include "Rtypes.h"
18 #include "RtypesCore.h"
19 
20 #include "FairParGenericSet.h"
21 #include "FairParamList.h"
22 
23 class FairParamList;
24 class TBuffer;
25 class TClass;
26 class TMemberInspector;
27 
37 class BSEmcCalibrationPar : public FairParGenericSet {
38  public:
39  static const std::string fgParameterName;
40  BSEmcCalibrationPar(const char *t_name = "EmcCalibrationPar", const char *t_title = "Calibration Values for emc detector", const char *t_context = "TestDefaultContext");
41  virtual ~BSEmcCalibrationPar(void);
42 
43  void clear(void) /*override*/ {}
44  void putParams(FairParamList * /*unused*/) /*override*/;
45  Bool_t getParams(FairParamList * /*unused*/) /*override*/;
46 
47  Double_t GetHighGain() const { return fHighGain; }
48  Double_t GetLowGain() const { return fLowGain; }
49  Double_t GetDefaultGain() const { return fDefault; }
50 
51  private:
52  Double_t fLowGain{1};
53  Double_t fHighGain{1};
54  Double_t fDefault{1};
55  ClassDef(BSEmcCalibrationPar, 1)
56 };
57 
58 #endif /*BSEMCCALIBRATIONPAR_HH*/
virtual ~BSEmcCalibrationPar(void)
Double_t GetLowGain() const
BSEmcCalibrationPar(const char *t_name="EmcCalibrationPar", const char *t_title="Calibration Values for emc detector", const char *t_context="TestDefaultContext")
Very basic start for CalibrationPar (each Detector gets its own)
Double_t GetDefaultGain() const
void putParams(FairParamList *)
static const std::string fgParameterName
Double_t GetHighGain() const
Bool_t getParams(FairParamList *)