]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Making histograms browsable (Marian)
authormarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 3 Dec 2007 14:31:14 +0000 (14:31 +0000)
committermarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 3 Dec 2007 14:31:14 +0000 (14:31 +0000)
PWG1/AliComparisonDraw.cxx
PWG1/AliComparisonDraw.h

index 7515e9fcfaff1af394442d49538a197e3d169a27..36364ec5f9eb30395c34d5d6bd759389430a02d7 100644 (file)
@@ -50,7 +50,7 @@ ClassImp(AliComparisonDraw)
 Bool_t    AliComparisonDraw::fgBDraw=kFALSE;         //option draw temporary results
 
 AliComparisonDraw::AliComparisonDraw():
-  TObject(),
+  TNamed("ComparisonDraw","ComparisonDraw"),
   fEffTPCPt(0),      // TPC efficiency as function of Pt (tan+-1)
   fEffTPCPtMC(0),    // MC -TPC efficiency as function of Pt (tan+-1)
   fEffTPCPtF(0),     // efficiency for findable tracks
index b93556a0674e9582f701de69ab007bb95ceccda3..61d4fc593d3eca97d930d0f5401ce5bcc5ec3a1b 100644 (file)
@@ -17,7 +17,9 @@ class TProfile2D;
 class TGraph2D;
 class TGraph; 
 
-class AliComparisonDraw : public TObject {
+#include "TNamed.h"
+
+class AliComparisonDraw : public TNamed {
 public :
   AliComparisonDraw(); 
   ~AliComparisonDraw();
@@ -46,54 +48,54 @@ protected:
   // efficiency 
   //
   static    Bool_t    fgBDraw;         //option draw temporary results
-  TProfile* fEffTPCPt;      // TPC efficiency as function of Pt (tan+-1)
-  TProfile* fEffTPCPtMC;    // MC -TPC efficiency as function of Pt (tan+-1)
-  TProfile* fEffTPCPtF;     // efficiency for findable tracks
+  TProfile* fEffTPCPt;      //->TPC efficiency as function of Pt (tan+-1)
+  TProfile* fEffTPCPtMC;    //->MC -TPC efficiency as function of Pt (tan+-1)
+  TProfile* fEffTPCPtF;     //->efficiency for findable tracks
   //
-  TProfile* fEffTPCTan;   // TPC efficiency as function of Tan (pt>0.15
-  TProfile* fEffTPCTanMC; // MC -TPC efficiency as function of Tan (pt>0.15)
-  TProfile* fEffTPCTanF;  // efficiency for findable tracks Tan (pt>0.15)
+  TProfile* fEffTPCTan;   //->TPC efficiency as function of Tan (pt>0.15
+  TProfile* fEffTPCTanMC; //->MC -TPC efficiency as function of Tan (pt>0.15)
+  TProfile* fEffTPCTanF;  //->efficiency for findable tracks Tan (pt>0.15)
   //
-  TProfile2D* fEffTPCPtTan;    // TPC efficiency as function of Pt and tan
-  TProfile2D* fEffTPCPtTanMC;  // MC -TPC efficiency as function of Pt and tan
-  TProfile2D* fEffTPCPtTanF;  // TPC efficiency as function of Pt and tan
+  TProfile2D* fEffTPCPtTan;    //->TPC efficiency as function of Pt and tan
+  TProfile2D* fEffTPCPtTanMC;  //->MC -TPC efficiency as function of Pt and tan
+  TProfile2D* fEffTPCPtTanF;  //-> TPC efficiency as function of Pt and tan
   //
   // dEdx resolution
   //
-  TH2F* fTPCSignalNormTan; // tpc signal normalized to the mean signal - MC
-  TH2F* fTPCSignalNormSPhi;   // tpc signal normalized to the mean signal - MC
-  TH2F* fTPCSignalNormTPhi;   // tpc signal normalized to the mean signal - MC
+  TH2F* fTPCSignalNormTan; //-> tpc signal normalized to the mean signal - MC
+  TH2F* fTPCSignalNormSPhi;   //-> tpc signal normalized to the mean signal - MC
+  TH2F* fTPCSignalNormTPhi;   //-> tpc signal normalized to the mean signal - MC
   //
-  TH3F* fTPCSignalNormTanSPhi;   // tpc signal normalized to the mean signal - MC
-  TH3F* fTPCSignalNormTanTPhi;   // tpc signal normalized to the mean signal - MC
-  TH3F* fTPCSignalNormTanSPt;   // tpc signal normalized to the mean signal - MC
+  TH3F* fTPCSignalNormTanSPhi;   //-> tpc signal normalized to the mean signal - MC
+  TH3F* fTPCSignalNormTanTPhi;   //-> tpc signal normalized to the mean signal - MC
+  TH3F* fTPCSignalNormTanSPt;   //->tpc signal normalized to the mean signal - MC
 
 
   //
   //
-  TH2F* fPtResolLPT;        // pt resolution - low pt
-  TH2F* fPtResolHPT;        // pt resolution - high pt 
-  TH2F* fPtPullLPT;         // pt resolution - low pt
-  TH2F* fPtPullHPT;         // pt resolution - high pt 
+  TH2F* fPtResolLPT;        //-> pt resolution - low pt
+  TH2F* fPtResolHPT;        //-> pt resolution - high pt 
+  TH2F* fPtPullLPT;         //-> pt resolution - low pt
+  TH2F* fPtPullHPT;         //-> pt resolution - high pt 
   //
   // Resolution constrained param
   //
-  TH2F   *fCPhiResolTan;   // angular resolution -  constrained
-  TH2F   *fCTanResolTan;   // angular resolution -  constrained
-  TH2F   *fCPtResolTan;    // pt resolution      -  constrained
-  TH2F   *fCPhiPullTan;   // angular resolution -  constrained
-  TH2F   *fCTanPullTan;   // angular resolution -  constrained
-  TH2F   *fCPtPullTan;    // pt resolution      -  constrained
+  TH2F   *fCPhiResolTan;   //-> angular resolution -  constrained
+  TH2F   *fCTanResolTan;   //-> angular resolution -  constrained
+  TH2F   *fCPtResolTan;    //-> pt resolution      -  constrained
+  TH2F   *fCPhiPullTan;   //-> angular resolution -  constrained
+  TH2F   *fCTanPullTan;   //-> angular resolution -  constrained
+  TH2F   *fCPtPullTan;    //-> pt resolution      -  constrained
   //
   // DCA resolution
   //
-  TH3F  *fD0TanSPtB1;   // distance to vertex y  
-  TH3F  *fD1TanSPtB1;   // distance to vertex z  
-  TH3F  *fD0TanSPtL1;   // distance to vertex y  
-  TH3F  *fD1TanSPtL1;   // distance to vertex z  
+  TH3F  *fD0TanSPtB1;   //-> distance to vertex y  
+  TH3F  *fD1TanSPtB1;   //-> distance to vertex z  
+  TH3F  *fD0TanSPtL1;   //-> distance to vertex y  
+  TH3F  *fD1TanSPtL1;   //-> distance to vertex z  
 
 protected:
-   ClassDef(AliComparisonDraw,1);
+   ClassDef(AliComparisonDraw,2);
 };