]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDcalibDB.h
Further fix to make the alignment task work on grid
[u/mrichter/AliRoot.git] / TRD / AliTRDcalibDB.h
index 86c30c0f6807808d028de5c4f39f1ebaab982cf9..aa099611c4f7a5dca0321c8da5a0b3c1ccf30887 100644 (file)
@@ -27,6 +27,7 @@ class AliTRDCalMonitoring;
 class AliTRDCalROC;
 class AliTRDCalDet;
 class AliTRDCalSingleChamberStatus;
+class TString;
 class AliTRDcalibDB : public TObject {
 
  public:
@@ -64,12 +65,13 @@ 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();
+  Int_t                               GetNumberOfTimeBinsDCS();
+  void                                GetFilterType(TString &filterType);
 
   Char_t                              GetPadStatus(Int_t det, Int_t col, Int_t row);
   AliTRDCalSingleChamberStatus       *GetPadStatusROC(Int_t det);
@@ -89,14 +91,13 @@ class AliTRDcalibDB : public TObject {
   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
-  enum { kCDBCacheSize = 19 };   // Number of cached objects
+  enum { kCDBCacheSize = 20 };   // Number of cached objects
   enum { kIDVdriftPad = 0
        , kIDVdriftChamber
        , kIDT0Pad
@@ -115,7 +116,8 @@ class AliTRDcalibDB : public TObject {
        , kIDRecoParam
        , kIDMonitoringData
        , kIDChamberStatus
-       , kIDPadStatus };         // IDs of cached objects
+       , kIDPadStatus
+       , kIDDCS };         // IDs of cached objects
 
   const TObject *GetCachedCDBObject(Int_t id);