]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWGJE/EMCALJetTasks/AliJetEmbeddingFromGenTask.cxx
move setter to public
[u/mrichter/AliRoot.git] / PWGJE / EMCALJetTasks / AliJetEmbeddingFromGenTask.cxx
index bbb0633a6401e0ee84ee4d8521eaa45e5608c444..10dab5ae7ae6c7a8bfefd694031cfc115c3d8b0c 100644 (file)
@@ -1,4 +1,4 @@
-// $Id: AliJetEmbeddingFromGenTask.cxx 57324 2012-06-21 04:33:52Z loizides $
+// $Id$
 //
 // Jet embedding task.
 //
@@ -54,7 +54,7 @@ AliJetEmbeddingFromGenTask::~AliJetEmbeddingFromGenTask()
 }
 
 //________________________________________________________________________
-void AliJetEmbeddingFromGenTask::ExecOnce() 
+Bool_t AliJetEmbeddingFromGenTask::ExecOnce() 
 {
   // Exec only once.
 
@@ -78,6 +78,8 @@ void AliJetEmbeddingFromGenTask::ExecOnce()
     InputEvent()->AddObject(fOutTracks);
     fNTracks = 0;
   }
+
+  return kTRUE;
 }
 
 //________________________________________________________________________
@@ -117,6 +119,6 @@ void AliJetEmbeddingFromGenTask::Run()
       continue;
     if (pt>fPtMax)
       continue;
-    AddTrack(pt, eta, phi);
+    AddTrack(pt, eta, phi,0,0,0,0,0,0,part->GetMass());
   }
 }