fixed warning, reduced printout
authorkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 8 Aug 2010 12:04:42 +0000 (12:04 +0000)
committerkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 8 Aug 2010 12:04:42 +0000 (12:04 +0000)
PWG4/JetTasks/AliAnalysisTaskFragmentationFunction.cxx
PWG4/JetTasks/AliAnalysisTaskJetServices.cxx

index a558ea4..ff7d284 100644 (file)
@@ -1,3 +1,4 @@
+\r
 /*************************************************************************\r
  *                                                                       *\r
  * Task for Fragmentation Function Analysis in PWG4 Jet Task Force Train *\r
index 38331a5..e56c941 100644 (file)
@@ -423,6 +423,9 @@ void AliAnalysisTaskJetServices::UserExec(Option_t */*option*/)
       if(vtxAOD->GetNContributors()>2&&!vtxTitle.Contains("TPCVertex")){
        if(aodTrig)fh2TriggerCount->Fill(it,kTriggeredVertex);
        Float_t zvtx = vtxAOD->GetZ();
+       if(cand&&aodEventSelected){
+         fh2TriggerCount->Fill(it,kSelected);
+       }
        if(aodTrig&&aodEventSelected){
          fh2TriggerVtx->Fill(it,zvtx);
          fh2TriggerCount->Fill(it,kTriggeredVertexIn);