Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4Nucleon.hh File Reference
#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"
Include dependency graph for G4Nucleon.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  G4Nucleon
 

Functions

std::ostream & operator<< (std::ostream &, const G4Nucleon &)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  ,
const G4Nucleon  
)

Definition at line 58 of file G4Nucleon.cc.

59 {
60 // stream<< nucleon.GetDefinition()->GetParticleName()
61 // << " is " << nucleon.AreYouHit() ? " " : "not"
62 // << " hit. Momentum/position:" << G4endl;
63  stream<< " momentum : " << nucleon.Get4Momentum() << G4endl;
64  stream<< " position : " << nucleon.GetPosition() ;
65  return stream;
66 }
G4bool nucleon(G4int ityp)
#define G4endl
Definition: G4ios.hh:61

Here is the call graph for this function: