]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCCalibPedestal.h
Now the TPC preprocessor has been updated to read pedestal entries from the DAQ FXS...
[u/mrichter/AliRoot.git] / TPC / AliTPCCalibPedestal.h
index 4ab27cbc7f30f854d3c8c06c39ce2cfebdea5bf9..9ffc18569a489946acdd80372db0622a273c2ed7 100644 (file)
@@ -13,6 +13,7 @@ class TTreeSRedirector;
 class AliTPCROC;
 class AliTPCCalROC;
 class AliRawReader;
+class AliTPCRawStream;
 struct eventHeaderStruct;
 
 
@@ -37,7 +38,10 @@ public:
   AliTPCCalROC* GetCalRocRMS(Int_t sector, Bool_t force=kFALSE);        // get calibration object - sector
   const TObjArray* GetCalPadPedestal (){return &fCalRocArrayPedestal;}  // get calibration object
   const TObjArray* GetCalPadRMS(){return &fCalRocArrayRMS;}             // get calibration object
-  
+  void SetCalRocPedestal (AliTPCCalROC *roc, Int_t sector)
+                                     { fCalRocArrayPedestal.RemoveAt(sector);
+                                      fCalRocArrayPedestal.AddAt(roc,sector); }
+
   TH2F* GetHistoPedestal  (Int_t sector, Bool_t force=kFALSE);          // get refernce histogram
   void  DumpToFile(const Char_t *filename, const Char_t *dir="", const Bool_t append=kFALSE);
   //
@@ -55,23 +59,23 @@ public:
 private:
   Int_t fFirstTimeBin;              //  First Time bin needed for analysis
   Int_t fLastTimeBin;               //  Last Time bin needed for analysis
-  
+
   Int_t fAdcMin;                    //  min adc channel of pedestal value
   Int_t fAdcMax;                    //  max adc channel of pedestal value
-  
+
   AliTPCROC *fROC;                  //! ROC information
-  
+
   TObjArray fCalRocArrayPedestal;   //  Array of AliTPCCalROC class for Time0 calibration
   TObjArray fCalRocArrayRMS;        //  Array of AliTPCCalROC class for signal width calibration
-  
+
   TObjArray fHistoPedestalArray;    //  Calibration histograms for Pedestal distribution
-  
-  
-  
+
+
+
   TH2F* GetHisto(Int_t sector, TObjArray *arr,
                 Int_t nbinsY, Float_t ymin, Float_t ymax,
                 Char_t *type, Bool_t force);
-    
+
   AliTPCCalROC* GetCalRoc(Int_t sector, TObjArray* arr, Bool_t force);
 
 public: