]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDcalibDB.h
first steps to set the covariance matrix from the errors calculated in conformal...
[u/mrichter/AliRoot.git] / TRD / AliTRDcalibDB.h
index 7993d9b5d654a58c307457b1f932953ed2d203fc..399eca017daa0e0c5bee2b2f3568a29d37b7fb70 100644 (file)
 
 /* $Id$ */
 
+#ifndef ROOT_TObject
 #include "TObject.h"
+#endif
+
+#ifndef ALITRDRECOPARAM_H
+#include "AliTRDrecoParam.h"
+#endif
 
 class AliCDBEntry;
 
@@ -36,6 +42,10 @@ class AliTRDcalibDB : public TObject {
   void                                SetRun(Long64_t run);
   Long64_t                            GetRun() const { return fRun; }
 
+  Float_t                             GetNoise(Int_t det, Int_t col, Int_t row);
+        AliTRDCalROC                 *GetNoiseROC(Int_t det);
+  const AliTRDCalDet                 *GetNoiseDet();
+
   Float_t                             GetVdrift(Int_t det, Int_t col, Int_t row);
   Float_t                             GetVdriftAverage(Int_t det);
         AliTRDCalROC                 *GetVdriftROC(Int_t det);
@@ -48,10 +58,10 @@ class AliTRDcalibDB : public TObject {
 
   Float_t                             GetGainFactor(Int_t det, Int_t col, Int_t row);
   Float_t                             GetGainFactorAverage(Int_t det);
-        AliTRDCalROC                 *GetGainFactorROC(Int_t det);
+  AliTRDCalROC                       *GetGainFactorROC(Int_t det);
   const AliTRDCalDet                 *GetGainFactorDet();
 
-        AliTRDCalROC                 *GetPRFROC(Int_t det);
+  AliTRDCalROC                       *GetPRFROC(Int_t det);
   Float_t                             GetPRFWidth(Int_t det, Int_t col, Int_t row);
 
   Float_t*                            GetSampledPRF() { return fPRFsmp; };
@@ -62,7 +72,8 @@ class AliTRDcalibDB : public TObject {
   Int_t                               GetNumberOfTimeBins();
 
   Char_t                              GetPadStatus(Int_t det, Int_t col, Int_t row);
-        AliTRDCalSingleChamberStatus *GetPadStatusROC(Int_t det);
+  AliTRDCalSingleChamberStatus       *GetPadStatusROC(Int_t det);
+  AliTRDrecoParam*                    GetRecoParam(Int_t *eventtype);
 
   Char_t                              GetChamberStatus(Int_t det);
 
@@ -75,7 +86,7 @@ class AliTRDcalibDB : public TObject {
   Bool_t                              IsChamberMasked(Int_t det);
 
   const AliTRDCalMonitoring          *GetMonitoringObject();
-  const AliTRDCalPID                 *GetPIDObject(const Int_t method);
+  const AliTRDCalPID                 *GetPIDObject(AliTRDrecoParam::AliTRDpidMethod method);
 
   // Related functions, these depend on calibration data
   static Float_t                      GetOmegaTau(Float_t vdrift, Float_t bz);
@@ -85,13 +96,15 @@ class AliTRDcalibDB : public TObject {
  protected:
 
   // For caching see also implentation of GetCachedCDBObject in the .cxx file
-  enum { kCDBCacheSize = 16 };   // Number of cached objects
+  enum { kCDBCacheSize = 19 };   // Number of cached objects
   enum { kIDVdriftPad = 0
        , kIDVdriftChamber
        , kIDT0Pad
        , kIDT0Chamber
        , kIDGainFactorPad
        , kIDGainFactorChamber
+       , kIDNoiseChamber
+       , kIDNoisePad
        , kIDPRFWidth
        , kIDFEE
        , kIDChamberPos
@@ -99,6 +112,7 @@ class AliTRDcalibDB : public TObject {
        , kIDSuperModulePos
        , kIDPIDNN
        , kIDPIDLQ
+       , kIDRecoParam
        , kIDMonitoringData
        , kIDChamberStatus
        , kIDPadStatus };         // IDs of cached objects
@@ -133,7 +147,7 @@ class AliTRDcalibDB : public TObject {
   AliTRDcalibDB &operator=(const AliTRDcalibDB &c); 
   virtual ~AliTRDcalibDB();
 
-  ClassDef(AliTRDcalibDB,3)                         //  Provides central access to the CDB
+  ClassDef(AliTRDcalibDB, 4)                         //  Provides central access to the CDB
 
 };