]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWGGA/CaloTrackCorrelations/AliAnaParticleIsolation.h
Add TH1 histograms with cluster pT per background bin, also for clusters tagged as...
[u/mrichter/AliRoot.git] / PWGGA / CaloTrackCorrelations / AliAnaParticleIsolation.h
index 411c982036945cbdff61bc71e283203f2f284594..37b141050539aeb0bc8a1a04bc3581c4e5a62e32 100755 (executable)
@@ -147,6 +147,11 @@ class AliAnaParticleIsolation : public AliAnaCaloTrackCorrBaseClass {
   void         SetNBackgroundBins(Int_t n)           { if(n < 19) fNBkgBin = n ; }
   void         SetBackgroundLimits(Int_t i,Float_t l){ if(i <= fNBkgBin) fBkgBinLimit[i] = l; }
 
+  void         SwitchOnPtTrigBinShowerShapeHistoFill()  { fFillPtTrigBinSSHistograms = kTRUE ; }
+  void         SwitchOffPtTrigBinShowerShapeHistoFill() { fFillPtTrigBinSSHistograms = kFALSE; }
+  void         SetNPtTrigBins(Int_t n)               { if(n < 19) fNPtTrigBin = n ; }
+  void         SetPtTrigLimits(Int_t i,Float_t l)    { if(i <= fNPtTrigBin) fPtTrigBinLimit[i] = l; }
+
   void         SwitchOnPrimariesInConeSelection()    { fSelectPrimariesInCone = kTRUE ; }
   void         SwitchOffPrimariesInConeSelection()   { fSelectPrimariesInCone = kFALSE; }
 
@@ -190,6 +195,10 @@ class AliAnaParticleIsolation : public AliAnaCaloTrackCorrBaseClass {
   Int_t    fNBkgBin;                              // Number of bins on pt content in cone
   Float_t  fBkgBinLimit[20];                      // Pt bin limits on pt content in the cone
 
+  Bool_t   fFillPtTrigBinSSHistograms;            // Fill histograms for different bins in pt trigger
+  Int_t    fNPtTrigBin;                           // Number of bins on pt trigger
+  Float_t  fPtTrigBinLimit[20];                   // Pt bin limits on pt trigger
+  
   Float_t  fMinCellsAngleOverlap;                 // Number of cells that define the cluster overlap
   
   // Analysis data members for multiple cones and pt thresholds
@@ -437,11 +446,24 @@ class AliAnaParticleIsolation : public AliAnaCaloTrackCorrBaseClass {
   TH2F *   fhPtLambda0TRD[2];                     //! Shower shape of (non) isolated photons, SM behind TRD (do not apply SS cut previously)
   TH2F *   fhELambda1TRD[2];                      //! Shower shape of (non) isolated photons, SM behind TRD (do not apply SS cut previously)
 
+  TH1F **  fhPtLeadConeBin ;                      //![fNBkgBin] Candidate shower shape distribution depending on bin of cone leading particle
+  TH1F **  fhSumPtConeBin  ;                      //![fNBkgBin] Candidate shower shape distribution depending on bin of cone sum pt
+  TH1F **  fhPtLeadConeBinMC ;                    //![fNBkgBin*fgkNmcTypes] Candidate shower shape distribution depending on bin of cone leading particle, per MC particle
+  TH1F **  fhSumPtConeBinMC  ;                    //![fNBkgBin*fgkNmcTypes] Candidate shower shape distribution depending on bin of cone sum pt, per MC particle
+
+  TH1F **  fhPtLeadConeBinDecay ;                 //![fNBkgBin*fNDecayBits] Candidate shower shape distribution depending on bin of cone leading particle, tagged as decay
+  TH1F **  fhSumPtConeBinDecay  ;                 //![fNBkgBin*fNDecayBits] Candidate shower shape distribution depending on bin of cone sum pt, tagged as decay
+  
   TH2F **  fhPtLeadConeBinLambda0 ;               //![fNBkgBin] Candidate shower shape distribution depending on bin of cone leading particle
   TH2F **  fhSumPtConeBinLambda0  ;               //![fNBkgBin] Candidate shower shape distribution depending on bin of cone sum pt
   TH2F **  fhPtLeadConeBinLambda0MC ;             //![fNBkgBin*fgkNmcTypes] Candidate shower shape distribution depending on bin of cone leading particle, per MC particle
   TH2F **  fhSumPtConeBinLambda0MC  ;             //![fNBkgBin*fgkNmcTypes] Candidate shower shape distribution depending on bin of cone sum pt, per MC particle
-  
+
+  TH2F **  fhPtTrigBinLambda0vsPtLeadCone ;       //![fNPtTrigBin] Candidate shower shape distribution depending vs cone leading particle in pT trigger bins
+  TH2F **  fhPtTrigBinLambda0vsSumPtCone  ;       //![fNPtTrigBin] Candidate shower shape distribution depending vs of cone sum pt in pT trigger bins
+  TH2F **  fhPtTrigBinLambda0vsPtLeadConeMC ;     //![fNPtTrigBin*fgkNmcTypes] Candidate shower shape distribution depending vs cone leading particle in pT trigger bins, per MC particle
+  TH2F **  fhPtTrigBinLambda0vsSumPtConeMC  ;     //![fNPtTrigBin*fgkNmcTypes] Candidate shower shape distribution depending vs cone sum pt in pT trigger bins, per MC particle
+
   // Local maxima
   TH2F *   fhNLocMax[2];                          //! number of maxima in selected clusters
   TH2F *   fhELambda0LocMax1[2] ;                 //! E vs lambda0 of selected cluster, 1 local maxima in cluster 
@@ -468,7 +490,7 @@ class AliAnaParticleIsolation : public AliAnaCaloTrackCorrBaseClass {
   AliAnaParticleIsolation(              const AliAnaParticleIsolation & iso) ; // cpy ctor
   AliAnaParticleIsolation & operator = (const AliAnaParticleIsolation & iso) ; // cpy assignment
   
-  ClassDef(AliAnaParticleIsolation,29)
+  ClassDef(AliAnaParticleIsolation,30)
 } ;