]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Consider elastic interactions (ks = 1 and ks = 11) as spectator (Chiara Oppedisano)
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 28 Feb 2001 17:35:24 +0000 (17:35 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 28 Feb 2001 17:35:24 +0000 (17:35 +0000)
EVGEN/AliGenHijing.cxx

index 454dac4430c1426fbb59339437fb501cc6bee3aa..b9332f34968a41330321bb65ad067a493bc956ba 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.20  2001/02/14 15:50:40  hristov
+The last particle in event marked using SetHighWaterMark
+
 Revision 1.19  2000/12/21 16:24:06  morsch
 Coding convention clean-up
 
@@ -281,7 +284,8 @@ void AliGenHijing::Generate()
         ks        = iparticle->GetStatusCode();
         if (!fSelectAll) {
           selected = KinematicSelection(iparticle)&&SelectFlavor(kf);
-          if (!fSpectators && selected) selected = (ks != 0 && ks != 10);
+         if (!fSpectators && selected) selected = (ks != 0 && ks != 1 && ks != 10
+                                                   && ks != 11);
         }
 //
 // Put particle on the stack if selected