From f2deabf0690b129144d66fae5c405a419208359c Mon Sep 17 00:00:00 2001 From: ivana Date: Fri, 3 Jul 2009 16:11:39 +0000 Subject: [PATCH] - Adding comments in newly added classes (in calign) - Updated loadlibs.C - Corrected libMUONcalign.pkg (Andry) - Moving AliMUONAlignment class from libMUONrec in libMUONcalign (Ivana) --- MUON/AliMUONChamberCalibrationTask.cxx | 11 +++++++---- MUON/AliMUONChamberCalibrationTask.h | 25 +++++++++++++------------ MUON/MUONcalignLinkDef.h | 1 + MUON/MUONrecLinkDef.h | 1 - MUON/libMUONcalign.pkg | 3 ++- MUON/libMUONrec.pkg | 1 - MUON/loadlibs.C | 5 ++++- 7 files changed, 27 insertions(+), 20 deletions(-) diff --git a/MUON/AliMUONChamberCalibrationTask.cxx b/MUON/AliMUONChamberCalibrationTask.cxx index 7bc6237e8f7..6c6a5d477c6 100644 --- a/MUON/AliMUONChamberCalibrationTask.cxx +++ b/MUON/AliMUONChamberCalibrationTask.cxx @@ -240,17 +240,16 @@ void AliMUONChamberCalibrationTask::ConnectInputData( Option_t* /*option*/ ) AliFatal( "Could not get input ESD event !!! "); - } else { + } + } else { AliError( "Could not get input ESD handler !!!" ); // If no input event handler we need to get the tree once // from input slot 0 for the chain tree = dynamic_cast (GetInputData(0)); if ( tree ) tree->GetReadEntry(); - else AliError( "Could not read tree from input slot 0 !!!" ); + else AliFatal( "Could not read tree from input slot 0 !!!" ); } - } - } //______________________________________________________________ @@ -405,5 +404,9 @@ UInt_t AliMUONChamberCalibrationTask::BuildClusterMap( AliMUONTrack &track ) //______________________________________________________________ void AliMUONChamberCalibrationTask::Terminate( Option_t* /*option*/ ) { + // + /// Called once per task on the client machine at the end of the analysis. + // + AliDebug( 1, "" ); } diff --git a/MUON/AliMUONChamberCalibrationTask.h b/MUON/AliMUONChamberCalibrationTask.h index 0081c063127..998842f30a0 100644 --- a/MUON/AliMUONChamberCalibrationTask.h +++ b/MUON/AliMUONChamberCalibrationTask.h @@ -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; @@ -32,7 +32,8 @@ class AliMUONChamberCalibrationTask : public AliAnalysisTaskSE public: - enum Calibration_t { NOGAIN, GAINCONSTANTCAPA, GAIN, INJECTIONGAIN }; + // enumarate the list of the available modes for the calibration + enum Calibration_t { NOGAIN, GAINCONSTANTCAPA, GAIN, INJECTIONGAIN }; typedef Calibration_t Calibration_t; // Constructors @@ -58,18 +59,18 @@ class AliMUONChamberCalibrationTask : public AliAnalysisTaskSE 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; + 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; //!< 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; //Load("libRAWDatabase"); gSystem->Load("libRAWDatarec"); gSystem->Load("libCDB"); - gSystem->Load("libSTEER"); + gSystem->Load("libSTEER"); + gSystem->Load("libANALYSIS"); + gSystem->Load("libANALYSISalice"); gSystem->Load("libPhysics"); gSystem->Load("libMUONcore"); @@ -60,6 +62,7 @@ void loadlibs () gSystem->Load("libMUONsim"); gSystem->Load("libMUONevaluation"); + gSystem->Load("libMUONcalign"); gSystem->Load("libMUONgraphics"); } -- 2.43.0