Minor fix
authorcholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 26 Apr 2011 22:25:25 +0000 (22:25 +0000)
committercholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 26 Apr 2011 22:25:25 +0000 (22:25 +0000)
PWG2/FORWARD/analysis2/AliForwardMCMultiplicityTask.cxx

index 5b5d775..cdcaadf 100644 (file)
@@ -164,7 +164,7 @@ AliForwardMCMultiplicityTask::SetDebug(Int_t dbg)
 void
 AliForwardMCMultiplicityTask::SetOnlyPrimary(Bool_t use)
 {
-  fSharingFilter.SetOnlyPrimary(use);
+  fSharingFilter.GetTrackDensity().SetUseOnlyPrimary(use);
   fCorrections.SetSecondaryForMC(!use);
 }