Import Geant4 5.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 16:57:27 +02:00
parent 330b82b769
commit 37fff30d2e
5733 changed files with 263867 additions and 74574 deletions
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4RayTrajectory.hh,v 1.8 2001/07/11 10:09:03 gunter Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4RayTrajectory.hh,v 1.9 2002/10/16 11:42:48 johna Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
@@ -62,10 +62,10 @@ class G4RayTrajectory : public G4VTrajectory
inline void* operator new(size_t);
inline void operator delete(void*);
inline int operator == (const G4RayTrajectory& right){return (this==&right);}
// inline int operator == (const G4RayTrajectory& right){return (this==&right);}
virtual void AppendStep(const G4Step*);
virtual void ShowTrajectory() const;
virtual void ShowTrajectory(G4std::ostream&) const;
virtual void DrawTrajectory(G4int i_mode=0) const {;}
virtual int GetPointEntries() const {return positionRecord->size();}
virtual G4VTrajectoryPoint* GetPoint(G4int i) const
@@ -74,6 +74,14 @@ class G4RayTrajectory : public G4VTrajectory
{ return (*positionRecord)[i]; }
virtual void MergeTrajectory(G4VTrajectory* secondTrajectory);
// Get/Set functions to satisfy pure virtual functions of base class.
inline G4int GetTrackID() const { return 0; }
inline G4int GetParentID() const { return 0; }
inline G4String GetParticleName() const { return ""; }
inline G4double GetCharge() const { return 0.; }
inline G4int GetPDGEncoding() const { return 0; }
inline G4ThreeVector GetInitialMomentum() const { return G4ThreeVector(); }
private:
G4std::vector<G4RayTrajectoryPoint*>* positionRecord;