source: snovis/trunk/source/G4Lab/Interfaces/IGeant4Trajectory.h@ 302

Last change on this file since 302 was 290, checked in by barrand, 18 years ago
  • Property svn:eol-style set to native
File size: 848 bytes
Line 
1#ifndef IGeant4Trajectory_h
2#define IGeant4Trajectory_h
3
4#include <string>
5#include <vector> //Avoid include G4ThreeVector.hh
6
7class G4VPhysicalVolume;
8
9class IGeant4Trajectory {
10public:
11 virtual ~IGeant4Trajectory() {}
12public:
13 virtual double kineticEnergy() const = 0;
14 virtual double totalEnergy() const = 0;
15 virtual double globalTime() const = 0;
16 virtual unsigned int pointEntries() const = 0;
17 virtual double pointGlobalTime(unsigned int) const = 0;
18 virtual std::string creatorProcessName() const = 0;
19 virtual std::string creatorProcessType() const = 0;
20 virtual void setSave(bool) = 0;
21 virtual bool save() const = 0;
22
23 // The below returned std::vector is assumed to contained three numbers.
24 virtual std::vector<double> stoppingPoint() const = 0;
25
26 virtual G4VPhysicalVolume* stoppingPhysicalVolume() const = 0;
27};
28
29#endif
Note: See TracBrowser for help on using the repository browser.