]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVGEN/AliGenHijing.cxx
Add status code of particle to SetTrack call.
[u/mrichter/AliRoot.git] / EVGEN / AliGenHijing.cxx
index 17b37c277e683d25ace4c7980c197c26dd6f4076..784045edc22b46dca7dc2e8108acfae0bc6fc339 100644 (file)
 
 /*
 $Log$
+Revision 1.41  2002/03/05 11:25:33  morsch
+- New quenching options
+- Correction in CheckTrigger()
+
 Revision 1.40  2002/02/12 11:05:53  morsch
 Get daughter indices right.
 
@@ -447,6 +451,7 @@ void AliGenHijing::Generate()
 
          if (pSelected[i]) {
              kf   = iparticle->GetPdgCode();
+             ks   = iparticle->GetStatusCode();
              p[0] = iparticle->Px();
              p[1] = iparticle->Py();
              p[2] = iparticle->Pz();
@@ -463,7 +468,7 @@ void AliGenHijing::Generate()
              } // if has mother   
              Bool_t tFlag = (fTrackIt && !hasDaughter);
              SetTrack(tFlag,imo,kf,p,origin,polar,
-                      tof,kPNoProcess,nt);
+                      tof,kPNoProcess,nt, 1., ks);
              KeepTrack(nt);
              newPos[i] = nt;
          } // if selected