]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCCalibTCF.h
Minor corrections to air-filled container volumes (M. Sitta)
[u/mrichter/AliRoot.git] / TPC / AliTPCCalibTCF.h
index c8795dc6fb8b92c19b9e2f36079c16b578568264..3b48c50ea87dce1257439e98a0369bda3d93a82a 100644 (file)
@@ -16,7 +16,9 @@
 
 class TObject;
 class TGraph;
+class AliRawReader;
 class AliTPCRawStream;
+class AliTPCRawStreamV3;
 class TNtuple;
 class TH1F;
 class TH2F;
@@ -33,13 +35,16 @@ public:
   AliTPCCalibTCF& operator = (const  AliTPCCalibTCF &source);
 
  
+  void ProcessRawFileV3(const char *nameRawFile, const char *nameFileOut);
+  void ProcessRawEventV3(AliRawReader *rawReader,AliTPCRawStreamV3 *rawStream, const char *nameFileOut);
+
   void ProcessRawFile(const char *nameRawFile, const char *nameFileOut, bool bUseHLTOUT=false);
   void ProcessRawEvent(AliTPCRawStream *rawStream, const char *nameFileOut);
 
   void MergeHistoPerSector(const char *nameFileIn);
 
   void AnalyzeRootFile(const char *nameFileIn, Int_t minNumPulse=1, Int_t histStart=1, Int_t histEnd=1000000);
-  Int_t AnalyzePulse(TH1F *hisIn, Double_t *coefZ, Double_t *coefP); 
+  Int_t AnalyzePulse(TH1F * const hisIn, Double_t *coefZ, Double_t *coefP); 
 
   void TestTCFonRootFile(const char *nameFileIn, const char *nameFileTCF, Int_t nPulseMin=0, Int_t plotFlag=0, Int_t lowKey=1, Int_t upKey=1000000);
   void TestTCFonRawFile(const char *nameRawFile, const char *nameFileOut, const char *nameFileTCF, Int_t nPulseMin=0, Int_t plotFlag=0, bool bUseHLTOUT=false);
@@ -69,15 +74,15 @@ private:
   Double_t fRatioIntLim;// ratio of signal-integral/pulse-integral limit
 
   Int_t FitPulse(TNtuple *dataTuple, Double_t *coefZ, Double_t *coefP);
-  static void FitFcn(Int_t &nPar, Double_t *grad, Double_t &f, Double_t *par, Int_t iflag);
+  static void FitFcn(Int_t &nPar, Double_t *grad, Double_t &f, Double_t * const par, Int_t iflag);
 
   Double_t* ExtractPZValues(Double_t *param);
   Int_t Equalization(TNtuple *dataTuple, Double_t *coefZ, Double_t *coefP);
 
-  Int_t FindCorTCFparam(TH1F *hisIn, const char *nameFileTCF, Double_t *coefZ, Double_t *coefP);
+  Int_t FindCorTCFparam(TH1F * const hisIn, const char *nameFileTCF, Double_t *coefZ, Double_t *coefP);
   Double_t *GetQualityOfTCF(TH1F *hisIn, Double_t *coefZ, Double_t *coefP,Int_t plotFlag=0); 
 
-  TNtuple *ApplyTCFilter(TH1F *hisIn, Double_t *coefZ, Double_t *coefP, Int_t plotFlag=0);
+  TNtuple *ApplyTCFilter(TH1F * const hisIn, Double_t * const coefZ, Double_t * const coefP, Int_t plotFlag=0);
 
   ClassDef(AliTPCCalibTCF,1);