#ifndef AliComparisonDraw_h
#define AliComparisonDraw_h
-#include <iostream>
-#include <fstream>
-using namespace std;
-#include <TSelector.h>
-
-#include <TROOT.h>
-#include <TChain.h>
-#include <TFile.h>
-#include "AliGenInfo.h"
-#include "AliESDRecInfo.h"
-#include "AliESDRecV0Info.h"
-#include "AliESDRecKinkInfo.h"
+class TFile;
+class AliMCInfo;
+class AliESDRecInfo;
class AliESDEvent;
class AliESD;
class AliESDfriend;
class TGraph2D;
class TGraph;
-class AliComparisonDraw : public TObject {
+#include "TNamed.h"
+
+class AliComparisonDraw : public TNamed {
public :
AliComparisonDraw();
+ ~AliComparisonDraw();
virtual Bool_t IsFolder(){return kTRUE;}
void InitHisto();
void Process(AliMCInfo* infoMC, AliESDRecInfo *infoRC);
static TGraph * MakeStat1D(TH3 * his, Int_t delta1, Int_t type);
-public:
+protected:
//
// efficiency
//
- static Bool_t fBDraw; //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
+ 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* 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);
};