]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDcalibDB.h
Avoiding warnings
[u/mrichter/AliRoot.git] / TRD / AliTRDcalibDB.h
index 399eca017daa0e0c5bee2b2f3568a29d37b7fb70..d8f2d6702ed3b392c410b3766ef17551d463a8f0 100644 (file)
 #include "TObject.h"
 #endif
 
-#ifndef ALITRDRECOPARAM_H
-#include "AliTRDrecoParam.h"
+#ifndef ALITRDPIDUTIL_H
+#include "AliTRDpidUtil.h"
 #endif
 
 class AliCDBEntry;
 
+class AliTRDrecoParam;
 class AliTRDCalPID;
 class AliTRDCalMonitoring;
 class AliTRDCalROC;
 class AliTRDCalDet;
 class AliTRDCalSingleChamberStatus;
-
 class AliTRDcalibDB : public TObject {
 
  public:
@@ -64,10 +64,10 @@ class AliTRDcalibDB : public TObject {
   AliTRDCalROC                       *GetPRFROC(Int_t det);
   Float_t                             GetPRFWidth(Int_t det, Int_t col, Int_t row);
 
-  Float_t*                            GetSampledPRF() { return fPRFsmp; };
-  Int_t                               GetPRFbin()     { return fPRFbin; };
-  Float_t                             GetPRFlo()      { return fPRFlo;  };
-  Float_t                             GetPRFhi()      { return fPRFhi;  };
+  Float_t*                            GetSampledPRF() const { return fPRFsmp; };
+  Int_t                               GetPRFbin() const     { return fPRFbin; };
+  Float_t                             GetPRFlo() const      { return fPRFlo;  };
+  Float_t                             GetPRFhi() const      { return fPRFhi;  };
 
   Int_t                               GetNumberOfTimeBins();
 
@@ -86,13 +86,12 @@ class AliTRDcalibDB : public TObject {
   Bool_t                              IsChamberMasked(Int_t det);
 
   const AliTRDCalMonitoring          *GetMonitoringObject();
-  const AliTRDCalPID                 *GetPIDObject(AliTRDrecoParam::AliTRDpidMethod method);
+  const AliTRDCalPID                 *GetPIDObject(AliTRDpidUtil::ETRDPIDMethod m);
 
   // Related functions, these depend on calibration data
-  static Float_t                      GetOmegaTau(Float_t vdrift, Float_t bz);
          Int_t                        PadResponse(Double_t signal, Double_t dist
                                                 , Int_t layer, Double_t *pad) const;
-  
+
  protected:
 
   // For caching see also implentation of GetCachedCDBObject in the .cxx file