]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG4/PartCorrDep/AliAnaParticleJetLeadingConeCorrelation.h
AliCalorimeterUtils: Fix to be able to use PHOS bad map and geometry matrices
[u/mrichter/AliRoot.git] / PWG4 / PartCorrDep / AliAnaParticleJetLeadingConeCorrelation.h
index 3a27ad0e6ef5aac00f016a1d14688ca42e939130..9c41110e2a3827549cab45e5c214530a89c055f8 100755 (executable)
@@ -7,7 +7,7 @@
 //_________________________________________________________________________
 // Class that contains the algorithm for the reconstruction of jet, cone around leading particle
 // The seed is a backward particle (direct photon)
-// 1)Take the a trigger particle found stored in AliAODPWG4ParticleCorrelation,
+// 1) Take the a trigger particle found stored in AliAODPWG4ParticleCorrelation,
 // 2) Search for the highest pt leading particle opposite to the trigger within a phi, pt window
 // 3) Take all particles around leading in a cone R with pt larger than threshold and construct the jet
 //
@@ -21,7 +21,7 @@ class TH2F;
 
 //---- Analysis system ----
 class AliAODTrack;
-class AliAODCaloCluster;
+class AliVCluster;
 class AliCaloTrackReader;
 class AliNeutralMesonSelection;
 
@@ -30,12 +30,9 @@ class AliNeutralMesonSelection;
 class AliAnaParticleJetLeadingConeCorrelation : public AliAnaPartCorrBaseClass {
 
 public: 
-  
   AliAnaParticleJetLeadingConeCorrelation() ; // default ctor
-  AliAnaParticleJetLeadingConeCorrelation(const AliAnaParticleJetLeadingConeCorrelation & g) ; // cpy ctor
-  AliAnaParticleJetLeadingConeCorrelation & operator = (const AliAnaParticleJetLeadingConeCorrelation & g) ;//cpy assignment
   virtual ~AliAnaParticleJetLeadingConeCorrelation() ; //virtual dtor
-  
+
   TList * GetCreateOutputObjects();
 
   void InitParameters();
@@ -113,9 +110,9 @@ public:
   Bool_t IsJetSelected(const Double_t ptTrig, const Double_t ptjet) const ;
   Bool_t IsParticleInJetCone(const Double_t eta, Double_t phi, const Double_t etal, Double_t phil) const ;
   
-  void GetLeadingCharge(AliAODPWG4ParticleCorrelation *particle, TLorentzVector & pLeading) const ;
-  void GetLeadingPi0   (AliAODPWG4ParticleCorrelation *particle, TLorentzVector & pLeading)  const ;
-  Bool_t GetLeadingParticle(AliAODPWG4ParticleCorrelation *particle, TLorentzVector &  pLeading) const ;
+  void GetLeadingCharge(AliAODPWG4ParticleCorrelation* const particle, TLorentzVector & pLeading) const ;
+  void GetLeadingPi0   (AliAODPWG4ParticleCorrelation* const particle, TLorentzVector & pLeading) ;
+  Bool_t GetLeadingParticle(AliAODPWG4ParticleCorrelation *particle, TLorentzVector &  pLeading)  ;
   
   void MakeAnalysisFillAOD();
   void MakeAnalysisFillHistograms();   
@@ -123,7 +120,7 @@ public:
   void MakeJetFromAOD(AliAODPWG4ParticleCorrelation * particle, const TLorentzVector pLeading, 
                      TLorentzVector & jet, TLorentzVector & bkg) const ; 
   
-  Bool_t  SelectCluster(AliAODCaloCluster * calo, Double_t *vertex, TLorentzVector & mom, Int_t & pdg) const ;
+  Bool_t  SelectCluster(AliVCluster * calo, Double_t *vertex, TLorentzVector & mom, Int_t & pdg) ;
   
  private:
   
@@ -250,6 +247,8 @@ public:
   TH2F * fhBkgFFpts[5][5]; //! Background particle pt distribution in cone
   TH2F * fhBkgNTracksInCones[5][5]; //! Background multiplicity in cone
   
+  AliAnaParticleJetLeadingConeCorrelation(const AliAnaParticleJetLeadingConeCorrelation & g) ; // cpy ctor
+  AliAnaParticleJetLeadingConeCorrelation & operator = (const AliAnaParticleJetLeadingConeCorrelation & g) ;//cpy assignment
   
   ClassDef(AliAnaParticleJetLeadingConeCorrelation,1)
  } ;