]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCcalibTracks.h
fabs replacment
[u/mrichter/AliRoot.git] / TPC / AliTPCcalibTracks.h
index dc6e55a30dad449c2920e2f3980eb251cf7f9077..49d8e15d4e0fa2819052a2ddc81256be0627c7ed 100644 (file)
@@ -41,6 +41,7 @@ class AliTPCCalPad;
 class TChain;
 class TTree;
 class TMutex;
+class AliESDEvent;
 
 using namespace std;
 
@@ -53,11 +54,13 @@ public :
   
   virtual ~AliTPCcalibTracks();                // destructor
   
-  void            Process(AliTPCseed *track);  // to be called by the Selector
+  virtual void            Process(AliTPCseed *track);  // to be called by the Selector
+  void     Process(AliESDEvent *event) {AliTPCcalibBase::Process(event);};
+  void     Process(AliESDtrack *track, Int_t runNo=-1){AliTPCcalibBase::Process(track,runNo);};
   virtual Long64_t Merge(TCollection *li);
-  void     MakeResPlotsQTree(Int_t minEntries = 100, char* pathName = "plots");
-  static void MakeQPosNormAll(TTree * chain, AliTPCClusterParam * param, Int_t maxPoints=1000000, Int_t verbose=0);
-   void     MakeReport(Int_t stat, char* pathName = "plots");     // calls all functions that procude pictures, results are written to pathName, stat is the minimal statistic threshold
+  void     MakeResPlotsQTree(Int_t minEntries = 100, const char* pathName = "plots");
+  static void MakeQPosNormAll(TTree * chain, AliTPCClusterParam * param, Int_t maxPoints=1000000);
+   void     MakeReport(Int_t stat, const char* pathName = "plots");     // calls all functions that procude pictures, results are written to pathName, stat is the minimal statistic threshold
   //
 
    
@@ -69,38 +72,39 @@ public :
   
   void     SetStyle() const;
   void     Draw(Option_t* opt);                                  // draw some exemplaric histograms for fast result-check
-  void     MakeAmpPlots(Int_t stat, char* pathName = "plots");
-  void     MakeDeltaPlots(char* pathName = "plots");
-  void     MakeChargeVsDriftLengthPlotsOld(char* pathName = "plots");
-  void     MakeChargeVsDriftLengthPlots(char* pathName = "plots");
-  void     FitResolutionNew(char* pathName = "plots");
-  void     FitRMSNew(char* pathName = "plots");
+  void     MakeAmpPlots(Int_t stat, const char* pathName = "plots");
+  void     MakeDeltaPlots(const char* pathName = "plots");
+  void     MakeChargeVsDriftLengthPlotsOld(const char* pathName = "plots");
+  void     MakeChargeVsDriftLengthPlots(const char* pathName = "plots");
+  void     FitResolutionNew(const char* pathName = "plots");
+  void     FitRMSNew(const char* pathName = "plots");
   
-  TObjArray* GetfArrayAmpRow() {return fArrayAmpRow;}
-  TObjArray* GetfArrayAmp() {return fArrayAmp;}
-  TObjArray* GetfArrayQDY() {return fArrayQDY;}
-  TObjArray* GetfArrayQDZ() {return fArrayQDZ;}
-  TObjArray* GetfArrayQRMSY() {return fArrayQRMSY;}
-  TObjArray* GetfArrayQRMSZ() {return fArrayQRMSZ;}
-  TObjArray* GetfArrayChargeVsDriftlength() {return fArrayChargeVsDriftlength;}
-  TH1F*      GetfDeltaY() {return fDeltaY;}
-  TH1F*      GetfDeltaZ() {return fDeltaZ;}
-  TObjArray* GetfResolY() {return fResolY;}
-  TObjArray* GetfResolZ() {return fResolZ;}
-  TObjArray* GetfRMSY() {return fRMSY;}
-  TObjArray* GetfRMSZ() {return fRMSZ;}
-  TH1I*      GetfHclus() {return fHclus;}
-  TH1I*      GetfRejectedTracksHisto() {return fRejectedTracksHisto;}
-  TH1I*      GetfHclusterPerPadrow() {return fHclusterPerPadrow;}
-  TH1I*      GetfHclusterPerPadrowRaw() {return fHclusterPerPadrowRaw;}
-  TH2I*      GetfClusterCutHisto() {return fClusterCutHisto;}
-  AliTPCCalPad*          GetfCalPadClusterPerPad() {return fCalPadClusterPerPad; }
-  AliTPCCalPad*          GetfCalPadClusterPerPadRaw() {return fCalPadClusterPerPadRaw;}
-  AliTPCCalPadRegion*    GetCalPadRegionchargeVsDriftlength() {return fcalPadRegionChargeVsDriftlength;}
+  TObjArray* GetfArrayAmpRow() const {return fArrayAmpRow;}
+  TObjArray* GetfArrayAmp() const {return fArrayAmp;}
+  TObjArray* GetfArrayQDY() const {return fArrayQDY;}
+  TObjArray* GetfArrayQDZ() const {return fArrayQDZ;}
+  TObjArray* GetfArrayQRMSY() const {return fArrayQRMSY;}
+  TObjArray* GetfArrayQRMSZ() const {return fArrayQRMSZ;}
+  TObjArray* GetfArrayChargeVsDriftlength() const {return fArrayChargeVsDriftlength;}
+  TH1F*      GetfDeltaY() const {return fDeltaY;}
+  TH1F*      GetfDeltaZ() const {return fDeltaZ;}
+  TObjArray* GetfResolY() const {return fResolY;}
+  TObjArray* GetfResolZ() const {return fResolZ;}
+  TObjArray* GetfRMSY() const {return fRMSY;}
+  TObjArray* GetfRMSZ() const {return fRMSZ;}
+  TH1I*      GetfHclus() const {return fHclus;}
+  TH1I*      GetfRejectedTracksHisto() const {return fRejectedTracksHisto;}
+  TH1I*      GetfHclusterPerPadrow() const {return fHclusterPerPadrow;}
+  TH1I*      GetfHclusterPerPadrowRaw() const {return fHclusterPerPadrowRaw;}
+  TH2I*      GetfClusterCutHisto() const  {return fClusterCutHisto;}
+  AliTPCCalPad*          GetfCalPadClusterPerPad() const {return fCalPadClusterPerPad; }
+  AliTPCCalPad*          GetfCalPadClusterPerPadRaw() const {return fCalPadClusterPerPadRaw;}
+  AliTPCCalPadRegion*    GetCalPadRegionchargeVsDriftlength() const {return fcalPadRegionChargeVsDriftlength;}
   AliTPCcalibTracksCuts* GetCuts() {return fCuts;}
 protected:         
   
 private:
+
    static Int_t   GetBin(Float_t q, Int_t pad);
    static Int_t   GetBin(Int_t  iq, Int_t pad);
    static Float_t GetQ(Int_t bin);