48 fDrawFlag(
"all"), fPrintModulo(1000), fEventMessenger(NULL),
49 fexGPSHistoManager(histoManager)
82 for (
G4int j = 0; j < nVertex; j++) {
84 for (
G4int i = 0; i < nPart; i++) {
92 E=std::sqrt(P*P+E0*E0);
97 direction=direction*(1./direction.mag());
98 direction = -direction;
101 if (Phi <0) Phi=Phi+twopi;
G4int GetNumberOfParticle() const
G4ThreeVector GetMomentum() const
virtual void BeginOfEventAction(const G4Event *)
exGPSHistoManager * fexGPSHistoManager
G4ThreeVector GetPosition() const
CLHEP::Hep3Vector G4ThreeVector
G4int GetNumberOfPrimaryVertex() const
virtual void EndOfEventAction(const G4Event *)
exGPSEventActionMessenger * fEventMessenger
G4ParticleDefinition * GetG4code() const
Definition of the exGPSEventActionMessenger class.
G4PrimaryParticle * GetPrimary(G4int i=0) const
void Fill(G4int PDGid, G4double e, G4double x, G4double y, G4double z, G4double t, G4double p, G4double w)
G4GLOB_DLL std::ostream G4cout
Definition of the exGPSHistoManager class.
G4PrimaryVertex * GetPrimaryVertex(G4int i=0) const
G4double GetWeight() const
G4double GetPDGMass() const
Definition of the exGPSEventAction class.
virtual ~exGPSEventAction()
exGPSEventAction(exGPSHistoManager *histoManager)