HighLAND
CorrectionBase.cxx
1 #include "CorrectionBase.hxx"
2 
3 ClassImp(CorrectionBase)
4 
5 
6 //***********************************************************
8 //***********************************************************
9  _name = "";
10  _enabled = true;
11  _appliedInInput = false;
12  _index = -1;
13 
14 }
15 
16 //***********************************************************
17 CorrectionBase::CorrectionBase(const CorrectionBase& corr):TObject(corr) {
18 //***********************************************************
19  _name = corr.Name();
20  _enabled = corr.IsEnabled();
22  _index = corr.GetIndex();
23 }
bool _appliedInInput
Is the correction already applied in the input file ?
Int_t _index
The index of the correction.
const std::string & Name() const
Return the name of this correction.
All corrections should be registered with the CorrectionManager.
Int_t GetIndex() const
Return the index of this correction.
bool IsEnabled() const
Is the correction enabled.
std::string _name
The name of this correction.
bool _enabled
Is the correction enabled?
bool IsAppliedInInput() const
Is the correction already applied in the input file ?