/// \class AliMUONVQADataMakerRec
/// \brief Interface for a MUON QADataMakerRec
///
-/// author Laurent Aphecetche
+// Author Laurent Aphecetche
#ifndef ROOT_TObject
# include "TObject.h"
AliMUONVQADataMakerRec(AliQADataMakerRec* master);
virtual ~AliMUONVQADataMakerRec();
+ /// Initialization for handling Digits
virtual void InitDigits() = 0;
+ /// Initialization for handling ESD
virtual void InitESDs() = 0;
+ /// Initialization for handling Raws
virtual void InitRaws() = 0;
+ /// Initialization for handling RecPoints
virtual void InitRecPoints() = 0;
+ /// Produces QA data for Raws
virtual void MakeRaws(AliRawReader* rawReader) = 0;
+ /// Produces QA data for Digits
virtual void MakeDigits(TTree* dig) = 0;
+ /// Produces QA data for RecPoints
virtual void MakeRecPoints(TTree* recpo) = 0;
+ /// Produces QA data for ESD
virtual void MakeESDs(AliESDEvent* esd) = 0;
+ /// Wrap up things at each cycle for Raws
virtual void EndOfDetectorCycleRaws(Int_t specie, TObjArray** list) = 0;
+ /// Wrap up things at each cycle for RecPoints
virtual void EndOfDetectorCycleRecPoints(Int_t specie, TObjArray** list) = 0;
+ /// Wrap up things at each cycle for ESD
virtual void EndOfDetectorCycleESDs(Int_t specie, TObjArray** list) = 0;
+ /// Wrap up things at each cycle for Digits
virtual void EndOfDetectorCycleDigits(Int_t specie, TObjArray** list) = 0;
+ /// Reset anything that must be reset for Raws
+ virtual void ResetDetectorRaws(TObjArray* list) { ResetDetector(list); }
+ /// Reset anything that must be reset for RecPoints
+ virtual void ResetDetectorRecPoints(TObjArray* list) { ResetDetector(list); }
+ /// Reset anything that must be reset for ESD
+ virtual void ResetDetectorESDs(TObjArray* list) { ResetDetector(list); }
+ /// Reset anything that must be reset for Digits
+ virtual void ResetDetectorDigits(TObjArray* list) { ResetDetector(list); }
+
protected:
+ void ResetDetector(TObjArray* list);
+
Int_t RunNumber() const;
AliRecoParam::EventSpecie_t CurrentEventSpecie() const;
Int_t Add2RawsList(TH1 * hist, const Int_t index, const Bool_t expert = kFALSE, const Bool_t image = kFALSE, const Bool_t saveForCorr = kFALSE);
private:
+ /// Not implemented
AliMUONVQADataMakerRec(const AliMUONVQADataMakerRec& rhs);
+ /// Not implemented
AliMUONVQADataMakerRec& operator=(const AliMUONVQADataMakerRec& rhs);
AliQADataMakerRec* fMaster; ///< master to get access to its methods