]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWGGA/CaloTrackCorrelations/AliAnaGeneratorKine.h
move histogram settings in the isolation analysis to the histogram settings container...
[u/mrichter/AliRoot.git] / PWGGA / CaloTrackCorrelations / AliAnaGeneratorKine.h
index 4085a2fffd5dec8c6a772836db543a1a3b7975e7..1f86c9de8280d14a1ad147e8ecb9b8af92384a45 100755 (executable)
@@ -26,29 +26,29 @@ public:
   AliAnaGeneratorKine() ; // default ctor
   virtual ~AliAnaGeneratorKine() { ; } //virtual dtor              
   
-  Bool_t CorrelateWithPartonOrJet(const TLorentzVector trigger,  
-                                  const Int_t   indexTrig,                     
-                                  const Int_t   pdgTrig, 
-                                  const Bool_t  leading[4], 
-                                  const Bool_t  isolated[4], 
+  Bool_t CorrelateWithPartonOrJet(TLorentzVector trigger,
+                                  Int_t   indexTrig,
+                                  Int_t   pdgTrig,
+                                  Bool_t  leading[4],
+                                  Bool_t  isolated[4],
                                   Int_t & iparton) ; 
   
   TList * GetCreateOutputObjects() ;
   
   void    GetPartonsAndJets() ;
     
-  void    GetXE(const TLorentzVector trigger,  
-                const Int_t   indexTrig,                     
-                const Int_t   pdgTrig, 
-                const Bool_t  leading[4], 
-                const Bool_t  isolated[4], 
-                const Int_t   iparton) ;    
+  void    GetXE(TLorentzVector trigger,
+                Int_t   indexTrig,
+                Int_t   pdgTrig,
+                Bool_t  leading[4],
+                Bool_t  isolated[4],
+                Int_t   iparton) ;
   
   void    InitParameters() ;
   
-  void    IsLeadingAndIsolated(const TLorentzVector trigger, 
-                               const Int_t   indexTrig,                     
-                               const Int_t   pdgTrig, 
+  void    IsLeadingAndIsolated(TLorentzVector trigger,
+                               Int_t  indexTrig,
+                               Int_t  pdgTrig,
                                Bool_t leading[4],     
                                Bool_t isolated[4]) ;
   
@@ -82,51 +82,53 @@ private:
   TH1F      * fhPtPhoton;                   //! Input photon
   TH1F      * fhPtPi0;                      //! Input pi0
   
+  // Histograms arrays for 4 isolation options and 2 options on leading or not leading particle
+  
   TH1F      * fhPtPhotonLeading[4];         //! Leading photon
   TH1F      * fhPtPi0Leading[4];            //! Leading pi0
   
   TH1F      * fhPtPhotonLeadingIsolated[4]; //! Leading photon, isolated
   TH1F      * fhPtPi0LeadingIsolated[4];    //! Leading pi0, isolated
 
-  TH2F      * fhPtPartonTypeNearPhotonLeading[4];           //! Leading photon, particle pt versus originating parton type
-  TH2F      * fhPtPartonTypeNearPi0Leading[4];              //! Leading pi0, particle pt versus originating parton type
-  TH2F      * fhPtPartonTypeNearPhotonLeadingIsolated[4];   //! Leading photon, particle pt versus originating parton type
-  TH2F      * fhPtPartonTypeNearPi0LeadingIsolated[4];      //! Leading pi0, particle pt versus originating parton type
-  
-  TH2F      * fhPtPartonTypeAwayPhotonLeading[4];           //! Leading photon, particle pt versus away side parton type
-  TH2F      * fhPtPartonTypeAwayPi0Leading[4];              //! Leading pi0, particle pt versus away side parton type
-  TH2F      * fhPtPartonTypeAwayPhotonLeadingIsolated[4];   //! Leading photon, isolated, particle pt versus away side parton type 
-  TH2F      * fhPtPartonTypeAwayPi0LeadingIsolated[4];      //! Leading pi0, isolated, particle pt versus away side parton type
-  
-  TH2F      * fhZHardPhotonLeading[4];           //! Leading photon, zHard
-  TH2F      * fhZHardPi0Leading[4];              //! Leading pi0, zHard
-  TH2F      * fhZHardPhotonLeadingIsolated[4];   //! Leading photon, isolated, zHard
-  TH2F      * fhZHardPi0LeadingIsolated[4];      //! Leading pi0, isolated, zHard
-  
-  TH2F      * fhZPartonPhotonLeading[4];         //! Leading photon, zHard
-  TH2F      * fhZPartonPi0Leading[4];            //! Leading pi0, zHard
-  TH2F      * fhZPartonPhotonLeadingIsolated[4]; //! Leading photon, isolated, zHard
-  TH2F      * fhZPartonPi0LeadingIsolated[4];    //! Leading pi0, isolated, zHard
+  TH2F      * fhPtPartonTypeNearPhoton[2][4];           //! Leading photon, particle pt versus originating parton type
+  TH2F      * fhPtPartonTypeNearPi0[2][4];              //! Leading pi0, particle pt versus originating parton type
+  TH2F      * fhPtPartonTypeNearPhotonIsolated[2][4];   //! Leading photon, particle pt versus originating parton type
+  TH2F      * fhPtPartonTypeNearPi0Isolated[2][4];      //! Leading pi0, particle pt versus originating parton type
+  
+  TH2F      * fhPtPartonTypeAwayPhoton[2][4];           //! Leading photon, particle pt versus away side parton type
+  TH2F      * fhPtPartonTypeAwayPi0[2][4];              //! Leading pi0, particle pt versus away side parton type
+  TH2F      * fhPtPartonTypeAwayPhotonIsolated[2][4];   //! Leading photon, isolated, particle pt versus away side parton type 
+  TH2F      * fhPtPartonTypeAwayPi0Isolated[2][4];      //! Leading pi0, isolated, particle pt versus away side parton type
+  
+  TH2F      * fhZHardPhoton[2][4];           //! Leading photon, zHard
+  TH2F      * fhZHardPi0[2][4];              //! Leading pi0, zHard
+  TH2F      * fhZHardPhotonIsolated[2][4];   //! Leading photon, isolated, zHard
+  TH2F      * fhZHardPi0Isolated[2][4];      //! Leading pi0, isolated, zHard
+  
+  TH2F      * fhZPartonPhoton[2][4];         //! Leading photon, zHard
+  TH2F      * fhZPartonPi0[2][4];            //! Leading pi0, zHard
+  TH2F      * fhZPartonPhotonIsolated[2][4]; //! Leading photon, isolated, zHard
+  TH2F      * fhZPartonPi0Isolated[2][4];    //! Leading pi0, isolated, zHard
 
-  TH2F      * fhZJetPhotonLeading[4];            //! Leading photon, zHard
-  TH2F      * fhZJetPi0Leading[4];               //! Leading pi0, zHard
-  TH2F      * fhZJetPhotonLeadingIsolated[4];    //! Leading photon, isolated, zHard
-  TH2F      * fhZJetPi0LeadingIsolated[4];       //! Leading pi0, isolated, zHard
+  TH2F      * fhZJetPhoton[2][4];            //! Leading photon, zHard
+  TH2F      * fhZJetPi0[2][4];               //! Leading pi0, zHard
+  TH2F      * fhZJetPhotonIsolated[2][4];    //! Leading photon, isolated, zHard
+  TH2F      * fhZJetPi0Isolated[2][4];       //! Leading pi0, isolated, zHard
   
-  TH2F      * fhXEPhotonLeading[4];              //! Leading photon, xE away side
-  TH2F      * fhXEPi0Leading[4];                 //! Leading pi0, xE away side
-  TH2F      * fhXEPhotonLeadingIsolated[4];      //! Leading photon, xE away side
-  TH2F      * fhXEPi0LeadingIsolated[4];         //! Leading pi0, isolated, xE away side
+  TH2F      * fhXEPhoton[2][4];              //! Leading photon, xE away side
+  TH2F      * fhXEPi0[2][4];                 //! Leading pi0, xE away side
+  TH2F      * fhXEPhotonIsolated[2][4];      //! Leading photon, xE away side
+  TH2F      * fhXEPi0Isolated[2][4];         //! Leading pi0, isolated, xE away side
   
-  TH2F      * fhXEUEPhotonLeading[4];              //! Leading photon, xE away side
-  TH2F      * fhXEUEPi0Leading[4];                 //! Leading pi0, xE away side
-  TH2F      * fhXEUEPhotonLeadingIsolated[4];      //! Leading photon, xE away side
-  TH2F      * fhXEUEPi0LeadingIsolated[4];         //! Leading pi0, isolated, xE away side
+  TH2F      * fhXEUEPhoton[2][4];              //! Leading photon, xE away side
+  TH2F      * fhXEUEPi0[2][4];                 //! Leading pi0, xE away side
+  TH2F      * fhXEUEPhotonIsolated[2][4];      //! Leading photon, xE away side
+  TH2F      * fhXEUEPi0Isolated[2][4];         //! Leading pi0, isolated, xE away side
   
   AliAnaGeneratorKine              (const AliAnaGeneratorKine & gk) ; // cpy ctor
   AliAnaGeneratorKine & operator = (const AliAnaGeneratorKine & gk) ; // cpy assignment
   
-  ClassDef(AliAnaGeneratorKine,1)
+  ClassDef(AliAnaGeneratorKine,2)
   
 } ;