]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG2/SPECTRA/AliProtonQAAnalysis.h
Removing deprecated linearization and MC rescaling (now part of the centrality framework)
[u/mrichter/AliRoot.git] / PWG2 / SPECTRA / AliProtonQAAnalysis.h
index 2540c30cf1310543eecab6811ef95af57d874394..fdc3937a4e35470cfb370d22e93ba71c0ce78bc3 100644 (file)
@@ -42,11 +42,12 @@ class AliProtonQAAnalysis : public TObject {
 
   //Vertex QA
   void RunVertexQA(AliGenEventHeader *header,
-                  AliStack *stack,
                   AliESDEvent *esd);
   TList *GetVertexQAList() const {return fQAVertexList;}
 
   //QA histograms
+  void SetQAYPtBins(Int_t nbinsY, Double_t *gY,
+                   Int_t nbinsPt, Double_t *gPt);
   void SetQAYPtBins(Int_t nbinsY, Double_t minY, Double_t maxY,
                    Int_t nbinsPt, Double_t minPt, Double_t maxPt);
   void RunQAAnalysis(AliStack *stack, 
@@ -55,13 +56,16 @@ class AliProtonQAAnalysis : public TObject {
   void SetRunQAAnalysis();
   TList *GetGlobalQAList() const {return fGlobalQAList;}
 
-  //Efficiency plots (reconstruction & PID)
+  //Efficiency plots (reconstruction & PID & Cuts)
   void RunReconstructionEfficiencyAnalysis(AliMCEvent *mcEvent, 
                                           AliESDEvent *esd,
                                           const AliESDVertex *vertex);
   void RunPIDEfficiencyAnalysis(AliStack *stack, 
                                AliESDEvent *esd,
                             const AliESDVertex *vertex);
+  void RunCutEfficiencyAnalysis(AliStack *stack,
+                               AliESDEvent *esd,
+                               const AliESDVertex *vertex);
   void RunEfficiencyAnalysis(AliStack *stack, 
                             AliESDEvent *esd,
                             const AliESDVertex *vertex);
@@ -70,6 +74,7 @@ class AliProtonQAAnalysis : public TObject {
     fUseCutsInEfficiency = gUseCuts;
   }
   TList *GetEfficiencyQAList() const {return fEfficiencyList;}
+  TList *GetCutEfficiencyList() const {return fCutEfficiencyList;}
 
   //MC analysis
   void RunMCAnalysis(AliStack* stack);
@@ -111,9 +116,12 @@ class AliProtonQAAnalysis : public TObject {
 
   Int_t fNBinsY; //number of bins in eta or y
   Float_t fMinY, fMaxY; //min & max value of eta or y
+  Double_t *fY; //table of y or eta values - asymmetric
   Int_t fNBinsPt;  //number of bins in pT
   Float_t fMinPt, fMaxPt; //min & max value of pT
-  
+  Double_t *fPt; //table of pT values - asymmetric
+  Bool_t fUseAsymmetricBinning; //Flag showing if the asymmetric binning is used
+
   //QA histograms
   //Bool_t fQAHistograms; //Boolean to activate the QA histograms
   TList *fGlobalQAList; //TList storing the directories for the QA histograms
@@ -147,6 +155,7 @@ class AliProtonQAAnalysis : public TObject {
   Bool_t fUseCutsInEfficiency;//use the cuts in the reco and pid efficiency
 
   TList *fEfficiencyList;// list of the efficiency histograms
+  TList *fCutEfficiencyList;// list of the cut efficiency
 
   ClassDef(AliProtonQAAnalysis,1);
 };