]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONVQADataMakerRec.h
Adding HPTDC parameters that are to be used in MC (hits->digits). The preprocessor...
[u/mrichter/AliRoot.git] / MUON / AliMUONVQADataMakerRec.h
index fdd65f792296227b547e460f720af90015b2173d..9ec0b3b3a5ab2f388a6b1d8c2c1fd27a45a80486 100644 (file)
@@ -10,7 +10,7 @@
 /// \class AliMUONVQADataMakerRec
 /// \brief Interface for a MUON QADataMakerRec
 /// 
-/// author Laurent Aphecetche
+//  Author Laurent Aphecetche
 
 #ifndef ROOT_TObject
 #  include "TObject.h"
@@ -34,23 +34,46 @@ public:
   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;
@@ -68,7 +91,9 @@ protected:
   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