1 #ifndef CorrectionBase_h 2 #define CorrectionBase_h 5 #include "CoreDataClasses.hxx" bool _appliedInInput
Is the correction already applied in the input file ?
Int_t _index
The index of the correction.
void Enable()
Enable the correction.
void SetName(const std::string &name)
Set the name of this correction.
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.
All corrections should be registered with the CorrectionManager.
void Disable()
Disable the correction.
void SetIndex(Int_t index)
Set the index of this correction.
void SetAppliedInInput(bool ap)
Set the correction as applied in the input file.
Int_t GetIndex() const
Return the index of this correction.
bool IsEnabled() const
Is the correction enabled.
virtual void Apply(AnaSpillC &spill)
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 ?
virtual ~CorrectionBase()
Everyone should have a destructor.