/* $Id$ */
+/* History of cvs commits:
+ *
+ * $Log$
+ * Revision 1.43 2005/05/28 14:19:04 schutz
+ * Compilation warnings fixed by T.P.
+ *
+ */
+
//_________________________________________________________________________
// Implementation version 1 of the clusterization algorithm
// Performs clusterization (collects neighbouring active cells) and
class AliPHOSDigit ;
class AliPHOSDigitizer ;
class AliPHOSGeometry ;
-class AliPHOSCalibrationDB ;
+class AliPHOSCalibData ;
class AliPHOSClusterizerv1 : public AliPHOSClusterizer {
virtual Int_t AreNeighbours(AliPHOSDigit * d1, AliPHOSDigit * d2)const ;
// Checks if digits are in neighbour cells
- virtual Float_t Calibrate(Int_t amp, Int_t absId)const ; // Tranforms Amp to energy
+ virtual Float_t Calibrate(Int_t amp, Int_t absId) ; // Tranforms Amp to energy
virtual void GetNumberOfClustersFound(int * numb )const{ numb[0] = fNumberOfEmcClusters ;
numb[1] = fNumberOfCpvClusters ; }
virtual void Exec(Option_t *option); // Does the job
- void Print()const ;
+ void Print(const Option_t * = "")const ;
void SetEmcMinE(Float_t e){fEmcMinE = e ;}
void SetCpvMinE(Float_t e){fCpvMinE = e ;}
virtual void SetCpvLogWeight(Float_t w) { fW0CPV = w ; }
virtual void SetUnfolding(Bool_t toUnfold = kTRUE ) { fToUnfold = toUnfold ;}
//Switch to "on flyght" mode, without writing to TreeR and file
- void SetWriting(const Bool_t toWrite = kFALSE){fWrite = toWrite;}
+ void SetWriting(Bool_t toWrite = kFALSE){fWrite = toWrite;}
static Double_t ShowerShape(Double_t r) ; // Shape of EM shower used in unfolding;
//class member function (not object member function)
static void UnfoldingChiSquare(Int_t & nPar, Double_t * Grad, Double_t & fret, Double_t * x, Int_t iflag) ;
Int_t fNumberOfCpvClusters ; // number of CPV clusters found
//Calibration parameters
- AliPHOSCalibrationDB * fCalibrationDB ; //! Calibration database if aval
+ AliPHOSCalibData * fCalibData ; //! Calibration database if aval
Float_t fADCchanelEmc ; // width of one ADC channel in GeV
Float_t fADCpedestalEmc ; //
Float_t fADCchanelCpv ; // width of one ADC channel in CPV 'popugais'