]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Handle the case fForceDecay=all during the generation, i.e. select all secondaries.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 8 Sep 2000 15:39:01 +0000 (15:39 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 8 Sep 2000 15:39:01 +0000 (15:39 +0000)
EVGEN/AliGenParam.cxx

index 86aaaadb0c52664a310e542bb572460d86311a6c..b43b53967b07fb235265c6ac6cc6c690b40f5091 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.20  2000/09/06 14:35:44  morsch
+Use AliDecayerPythia for particle decays.
+
 Revision 1.19  2000/07/11 18:24:56  fca
 Coding convention corrections + few minor bug fixes
 
@@ -370,7 +373,7 @@ void AliGenParam::Generate()
                  Int_t kf = iparticle->GetPdgCode();
 //
 // children
-                 if (ChildSelected(TMath::Abs(kf)))
+                 if (ChildSelected(TMath::Abs(kf)) || fForceDecay==all)
                  {
                      pc[0]=iparticle->Px();
                      pc[1]=iparticle->Py();