Comments added
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 7 Oct 2012 12:19:55 +0000 (12:19 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 7 Oct 2012 12:19:55 +0000 (12:19 +0000)
 lmanceau@to.infn.it

EVGEN/AliGenCorrHF.cxx

index 51b56cd..cbea6ab 100644 (file)
     gener->SetOrigin(0,0,0);          //vertex position    
     gener->SetSigma(0,0,0);           //Sigma in (X,Y,Z) (cm) on IP position
     gener->SetForceDecay(kSemiMuonic);
-    gener->SetTrackingFlag(0);
+    gener->SetSelectAll(kTRUE);      //Force the transport of all particles. 
+                                     //Necessary while using a different 
+                                     //option than kAll for SetForceDecay
+    gener->SetTrackingFlag(1);       //1: Decay during transport, 
+                                     //0: No Decay during transport
     gener->Init();
 }
 */
@@ -838,4 +842,3 @@ void AliGenCorrHF::LoadTracks(Int_t iquark, Float_t *pq,
  
   return;
 }
-