]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
init the pid pointer when accessing checking the track-match, in case it was not...
authorgconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 3 Feb 2012 16:14:47 +0000 (16:14 +0000)
committergconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 3 Feb 2012 16:14:47 +0000 (16:14 +0000)
PWG/CaloTrackCorrBase/AliAnaCaloTrackCorrBaseClass.h
PWGGA/CaloTrackCorrelations/AliAnaParticleJetLeadingConeCorrelation.cxx

index f85b4b9c0068b4e20451b7c7a67bc0026e37c247..1c99af1c18341328676f9114c106de0681321285 100755 (executable)
@@ -246,8 +246,8 @@ public:
   
   //Calorimeter specific access methods and calculations
     
-  virtual Bool_t         IsTrackMatched(AliVCluster * cluster, AliVEvent* event) const {
-   return fCaloPID->IsTrackMatched(cluster, fCaloUtils, event) ; } 
+  virtual Bool_t         IsTrackMatched(AliVCluster * cluster, AliVEvent* event) {
+   return GetCaloPID()->IsTrackMatched(cluster, fCaloUtils, event) ; } 
   
   virtual Int_t          GetModuleNumberCellIndexes(const Int_t absId, const TString calo, Int_t & icol, Int_t & irow, Int_t &iRCU) const {
          return fCaloUtils->GetModuleNumberCellIndexes(absId, calo, icol, irow,iRCU) ; }
index aa43e5880132ae3d500ddc74bc22dfb9c3d275e6..5860bdbd58bf589d60b66df9b50ab91b154a0b42 100755 (executable)
@@ -1410,9 +1410,10 @@ void  AliAnaParticleJetLeadingConeCorrelation::MakeAnalysisFillHistograms()
   
 } 
 
-//____________________________________________________________________________
-void AliAnaParticleJetLeadingConeCorrelation::MakeAODJet(AliAODPWG4ParticleCorrelation *particle, const TLorentzVector  pLeading)
-  const {
+//_______________________________________________________________________________________________
+void AliAnaParticleJetLeadingConeCorrelation::MakeAODJet(AliAODPWG4ParticleCorrelation *particle, 
+                                                         const TLorentzVector  pLeading)
+{
   //Fill the jet with the particles around the leading particle with 
   //R=fJetCone and pt_th = fJetPtThres. Calculate the energy of the jet and 
   //fill aod with found information