/// Default constructor
//
- fClusterInfo = new AliMUONClusterInfo();
- fESDInterface = new AliMUONESDInterface();
-
}
//______________________________________________________________
/// constructor
//
- fClusterInfo = new AliMUONClusterInfo();
- fESDInterface = new AliMUONESDInterface();
fOCDBPath = ocdbpath;
if ( (my_calib_option >= ((Int_t)NOGAIN)) && (my_calib_option <= ((Int_t)INJECTIONGAIN)) )
fCalibChoice = (Calibration_t)my_calib_option;
{
//
/// Initialization
+ /// Initialize the cluster info and the ESD interface
/// Set the magnetic field, the mapping and the reconstruction parameters
//
AliDebug( 1, "" );
+ // initialize the cluster info and the ESD interface
+
+ fClusterInfo = new AliMUONClusterInfo();
+ fESDInterface = new AliMUONESDInterface();
+
gRandom->SetSeed(0);
// set mag field
AliCDBManager* man = AliCDBManager::Instance();
man->SetDefaultStorage( fOCDBPath );
man->SetSpecificStorage( "MUON/Calib/MappingData", fOCDBPath );
- man->SetSpecificStorage( "MUON/Calib/Mapping", fOCDBPath );
- man->SetSpecificStorage( "MUON/Calib/DDLStore", fOCDBPath );
- man->Print();
+ man->SetSpecificStorage( "MUON/Calib/MappingRunData", fOCDBPath ); // for the manu serial numbers
man->SetRun(0);
+ man->Print();
if ( ! AliMpCDB::LoadDDLStore() ) {
AliFatal( "Could not access mapping from OCDB !" );
exit(-1);
ped->ValueAsFloatFast(manuChannel,1) ); // sigma
padInfo.SetGain( gain->ValueAsFloatFast(manuChannel,0), // a0
gain->ValueAsFloatFast(manuChannel,1), // a1
- gain->ValueAsFloatFast(manuChannel,2), // threshold
- gain->ValueAsFloatFast(manuChannel,3) ); // fit quality
+ (Int_t)gain->ValueAsFloatFast(manuChannel,2), // threshold
+ (Int_t)gain->ValueAsFloatFast(manuChannel,3) ); // fit quality
fClusterInfo->AddPad( padInfo );
}
#include "AliAnalysisTaskSE.h"
#include "TTree.h"
+#include "TString.h"
class AliMUONChamberCalibrationTask : public AliAnalysisTaskSE
{
/// Not implemented
AliMUONChamberCalibrationTask& operator = (const AliMUONChamberCalibrationTask& right);
- char* fOCDBPath; //!< default path to the condition database
+ 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
+ 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