minor fixes
authorkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 27 Jan 2012 11:03:14 +0000 (11:03 +0000)
committerkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 27 Jan 2012 11:03:14 +0000 (11:03 +0000)
JETAN/AliAnalysisTaskJetCluster.cxx
JETAN/DEV/AliAnalysisTaskJetCluster.cxx
PWGJE/AliAnalysisTaskFragmentationFunction.cxx

index f2fa20af57b72710189b87a401f578da07aa019d..28e721eefa1d27191f97b641e7f7c9860dd6991c 100644 (file)
@@ -1057,7 +1057,7 @@ void AliAnalysisTaskJetCluster::UserExec(Option_t */*option*/)
     if(externalBackground){
       // carefull has to be filled in a task before
       // todo, ReArrange to the botom 
-     pTback = externalBackground->GetBackground(1)*leadingJet.EffectiveAreaCharged();
+     pTback = externalBackground->GetBackground(2)*leadingJet.EffectiveAreaCharged();
     }
     pt = leadingJet.Pt() - pTback;
     // correlation of leading jet with tracks
index f2fa20af57b72710189b87a401f578da07aa019d..28e721eefa1d27191f97b641e7f7c9860dd6991c 100644 (file)
@@ -1057,7 +1057,7 @@ void AliAnalysisTaskJetCluster::UserExec(Option_t */*option*/)
     if(externalBackground){
       // carefull has to be filled in a task before
       // todo, ReArrange to the botom 
-     pTback = externalBackground->GetBackground(1)*leadingJet.EffectiveAreaCharged();
+     pTback = externalBackground->GetBackground(2)*leadingJet.EffectiveAreaCharged();
     }
     pt = leadingJet.Pt() - pTback;
     // correlation of leading jet with tracks
index 8d2b2453c27ad7952155091d0a4b5654c1dbfce2..b70bc81fe780ffb581e8aa9eb98ca33957071389 100644 (file)
@@ -3730,6 +3730,10 @@ void AliAnalysisTaskFragmentationFunction::UserExec(Option_t *)
        AliVParticle *part = dynamic_cast<AliVParticle*>(fTracksRec->At(it));
        if(part)fQATrackHistosRec->FillTrackQA( part->Eta(), TVector2::Phi_0_2pi(part->Phi()), part->Pt());
       }
+      for(Int_t it=0; it<nRecPartCuts; ++it){
+       AliVParticle *part = dynamic_cast<AliVParticle*>(fTracksRecCuts->At(it));
+       if(part)fQATrackHistosRecCuts->FillTrackQA( part->Eta(), TVector2::Phi_0_2pi(part->Phi()), part->Pt() );
+      }      
       for(Int_t it=0; it<nGenPart; ++it){
        AliVParticle *part = dynamic_cast<AliVParticle*>(fTracksGen->At(it));
        if(part)fQATrackHistosGen->FillTrackQA( part->Eta(), TVector2::Phi_0_2pi(part->Phi()), part->Pt());