HighLAND
|
Public Member Functions | |
void | Apply (AnaSpillC &spill) |
![]() | |
CorrectionBase (const CorrectionBase &corr) | |
Copy constructor. | |
virtual | ~CorrectionBase () |
Everyone should have a destructor. | |
virtual const char * | GetName () const |
Return the name of this correction. This overrides the TObject::GetName() interface. | |
const std::string & | Name () const |
Return the name of this correction. | |
void | SetName (const std::string &name) |
Set the name of this correction. | |
void | Enable () |
Enable the correction. | |
void | Disable () |
Disable the correction. | |
bool | IsEnabled () const |
Is the correction enabled. | |
void | SetAppliedInInput (bool ap) |
Set the correction as applied in the input file. | |
bool | IsAppliedInInput () const |
Is the correction already applied in the input file ? | |
Int_t | GetIndex () const |
Return the index of this correction. | |
void | SetIndex (Int_t index) |
Set the index of this correction. | |
ClassDef (CorrectionBase, 2) | |
Protected Attributes | |
UInt_t | _nRunPeriods |
Float_t | _correction [NMAXRUNPERIODS] |
![]() | |
std::string | _name |
The name of this correction. | |
bool | _enabled |
Is the correction enabled? | |
bool | _appliedInInput |
Is the correction already applied in the input file ? | |
Int_t | _index |
The index of the correction. | |
Definition at line 8 of file tutorialCorrection.hxx.
|
virtual |
This is the function that applies the correction to the input data. This MUST be overridden in the derived class.
Reimplemented from CorrectionBase.
Definition at line 54 of file tutorialCorrection.cxx.