]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONChamberCalibrationTask.h
- update track cuts
[u/mrichter/AliRoot.git] / MUON / AliMUONChamberCalibrationTask.h
index 0081c063127c99dc48ad4bb063e8e5622c4a1bc2..641fc30b3c56a315cf1e10e155ccfe8b5529c869 100644 (file)
@@ -9,7 +9,7 @@
 /// \ingroup calign
 /// \class  AliMUONChamberCalibrationTask
 /// \brief  Definition of the task to extract cluster information 
-///  from MCH tracks after applying the calibration on aligned ESD
+///  from MCH tracks after applying the calibration on an aligned ESD
 /// \author Andry Rakotozafindrabe CEA/IRFU/SPhN
 
 class AliMUONRecoParam;
@@ -26,14 +26,20 @@ class AliESDEvent;
 
 #include "AliAnalysisTaskSE.h"
 #include "TTree.h" 
+#include "TString.h" 
 
 class AliMUONChamberCalibrationTask : public AliAnalysisTaskSE
 {
 
  public:
 
-  enum Calibration_t { NOGAIN, GAINCONSTANTCAPA, GAIN, INJECTIONGAIN };
-  typedef Calibration_t Calibration_t;
+  /// enumerate the list of the available modes for the calibration
+  enum Calibration_t { 
+    kNOGAIN, 
+    kGAINCONSTANTCAPA, 
+    kGAIN, 
+    kINJECTIONGAIN 
+  }; 
 
   // Constructors
   AliMUONChamberCalibrationTask();
@@ -52,24 +58,29 @@ class AliMUONChamberCalibrationTask : public AliAnalysisTaskSE
   virtual void Terminate( Option_t* option = "" ); 
 
   // Getters
-  TTree* OutputTree() { return fClusterInfoTree; }
+  /// Return TTree filled with the cluster information
+  TTree* OutputTree() const { return fClusterInfoTree; }
 
   UInt_t BuildClusterMap( AliMUONTrack &track );
 
  private:
-
-  char* fOCDBPath; //!< default path to the condition database
-  Calibration_t fCalibChoice; //!< calibration option
-  TTree* fClusterInfoTree; //!< TTree filled with the cluster information
-  AliMUONRecoParam* fMuonRecoParam; //!< reconstruction parameters for track refitting
-  AliMUONClusterInfo* fClusterInfo; //!< the cluster info used to fill the output TTree
-  AliMUONCalibrationData* fCalibData; 
-  AliMUONESDInterface* fESDInterface;
-  AliMUONVDigitStore* fDigitStore;
+  /// Not implemented
+  AliMUONChamberCalibrationTask(const AliMUONChamberCalibrationTask& right);
+  /// Not implemented
+  AliMUONChamberCalibrationTask&  operator = (const AliMUONChamberCalibrationTask& right);
+
+  TString fOCDBPath;                    //!< default path to the condition database
+  Calibration_t fCalibChoice;           //!< calibration option
+  TTree* fClusterInfoTree;              //!< TTree filled with the cluster information
+  AliMUONRecoParam* fMuonRecoParam;     //!< reconstruction parameters for track refitting
+  AliMUONClusterInfo* fClusterInfo;     //!< cluster info used to fill the output TTree
+  AliMUONCalibrationData* fCalibData;   //!< needed to access to the calibration data for each pad within each cluster
+  AliMUONESDInterface* fESDInterface;   //!< interface to easily access to the ESD content
+  AliMUONVDigitStore* fDigitStore;      //!< pointer to the digit stored for the current input ESD event 
   AliESDInputHandler* fESDInputHandler; //!< ESD input handler
-  AliESDEvent* fESDInputEvent; //!< pointer to the current input ESD event
+  AliESDEvent* fESDInputEvent;          //!< pointer to the current input ESD event
 
-  ClassDef( AliMUONChamberCalibrationTask, 1 ) //Task to extract cluster information after applying calibration
+  ClassDef( AliMUONChamberCalibrationTask, 1 ) // Task to extract cluster information after applying calibration
 
 };