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 a558ea437be720947d3b32c133993c6bb57234e0..ff7d28465f23e22c67e33f0b2e816aecb2dd5d13 100644 (file)
@@ -1,3 +1,4 @@
+\r
 /*************************************************************************\r
  *                                                                       *\r
  * Task for Fragmentation Function Analysis in PWG4 Jet Task Force Train *\r
 /*************************************************************************\r
  *                                                                       *\r
  * Task for Fragmentation Function Analysis in PWG4 Jet Task Force Train *\r
index 38331a59104b9afa2f7426f6c5d1cf7088e15fca..e56c9414e99d3137574637be8588fcee8edc961f 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(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);
        if(aodTrig&&aodEventSelected){
          fh2TriggerVtx->Fill(it,zvtx);
          fh2TriggerCount->Fill(it,kTriggeredVertexIn);