#include "G4ThreeVector.hh"#include "G4LorentzVector.hh"#include "globals.hh"#include "G4ParticleDefinition.hh"#include "G4Proton.hh"#include "G4Neutron.hh"#include "G4AntiProton.hh"#include "G4AntiNeutron.hh"#include "G4VKineticNucleon.hh"Go to the source code of this file.
Data Structures | |
| class | G4Nucleon |
Defines | |
| #define | G4Nucleon_h 1 |
Functions | |
| std::ostream & | operator<< (std::ostream &, const G4Nucleon &) |
| #define G4Nucleon_h 1 |
Definition at line 29 of file G4Nucleon.hh.
| std::ostream& operator<< | ( | std::ostream & | , | |
| const G4Nucleon & | ||||
| ) |
Definition at line 58 of file G4Nucleon.cc.
00059 { 00060 // stream<< nucleon.GetDefinition()->GetParticleName() 00061 // << " is " << nucleon.AreYouHit() ? " " : "not" 00062 // << " hit. Momentum/position:" << G4endl; 00063 stream<< " momentum : " << nucleon.Get4Momentum() << G4endl; 00064 stream<< " position : " << nucleon.GetPosition() ; 00065 return stream; 00066 }
1.4.7