12 #include "CLHEP/Vector/LorentzVector.h" 
   14 #include "G4DynamicParticle.hh" 
   15 #include "G4DecayProducts.hh" 
   23   G4DecayProducts * 
dp = 
new G4DecayProducts();
 
   24   dp->SetParentParticle( *(aTrack.GetDynamicParticle()) );
 
   27   G4double etot = aTrack.GetDynamicParticle()->GetTotalEnergy();
 
   28   G4int pdgEncoding = aTrack.GetDefinition()->GetPDGEncoding();
 
   31   std::vector<G4DynamicParticle*> 
particles;
 
   36   G4cout << 
"Decayed an RHadron with ID " << pdgEncoding << 
" and momentum " << aTrack.GetMomentum() << 
" in Pythia.  Decay products are:" << G4endl;
 
   44       G4cout << 
i << 
" null pointer!" << G4endl;
 
   48   G4cout << 
"Total energy in was "<<etot   << G4endl;
 
   49   G4cout << 
"Total energy out is "<<totalE << G4endl;