GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
Loading...
Searching...
No Matches
TCFDCal.h
Go to the documentation of this file.
1#ifndef TCFDCAL_H
2#define TCFDCAL_H
3
4/** \addtogroup Calibration
5 * @{
6 */
7
8#include "TCal.h"
9
10class TCFDCal : public TCal {
11public:
12 TCFDCal() = default;
13 TCFDCal(const char* name, const char* title) : TCal(name, title) {};
14 TCFDCal(const TCFDCal&) = default;
15 TCFDCal(TCFDCal&&) noexcept = default;
16 TCFDCal& operator=(const TCFDCal&) = default;
17 TCFDCal& operator=(TCFDCal&&) noexcept = default;
18 ~TCFDCal() = default;
19
20 // pure virtual functions
21 Bool_t IsGroupable() const override { return false; }
22
23 void WriteToChannel() const override;
24 virtual void ReadFromChannel();
25 std::vector<Double_t> GetParameters() const override;
26 Double_t GetParameter(size_t parameter) const override;
27
28 void AddParameter(Double_t param);
29 void SetParameters(std::vector<Double_t> paramvec);
30 void SetParameter(Int_t idx, Double_t param);
31
32 void Print(Option_t* opt = "") const override;
33 void Clear(Option_t* opt = "") override;
34
35private:
36 std::vector<Double_t> fParameters;
37
38 /// \cond CLASSIMP
39 ClassDefOverride(TCFDCal, 1) // NOLINT(readability-else-after-return)
40 /// \endcond
41};
42/*! @} */
43#endif
virtual void ReadFromChannel()
Definition TCFDCal.cxx:40
std::vector< Double_t > GetParameters() const override
Definition TCFDCal.cxx:62
Double_t GetParameter(size_t parameter) const override
Definition TCFDCal.cxx:71
void Print(Option_t *opt="") const override
Definition TCFDCal.cxx:49
TCFDCal(TCFDCal &&) noexcept=default
void AddParameter(Double_t param)
Definition TCFDCal.cxx:26
TCFDCal()=default
void WriteToChannel() const override
Definition TCFDCal.cxx:11
void Clear(Option_t *opt="") override
Definition TCFDCal.cxx:5
void SetParameter(Int_t idx, Double_t param)
Definition TCFDCal.cxx:36
TCFDCal(const TCFDCal &)=default
std::vector< Double_t > fParameters
Definition TCFDCal.h:36
void SetParameters(std::vector< Double_t > paramvec)
Definition TCFDCal.cxx:31
TCFDCal(const char *name, const char *title)
Definition TCFDCal.h:13
Bool_t IsGroupable() const override
Definition TCFDCal.h:21
Definition TCal.h:44