QwGeant4
QweakSimTrackHistory.hh
Go to the documentation of this file.
1 #ifndef QweakSimTrackHistory_h
2 #define QweakSimTrackHistory_h 1
3 
4 // geant4 includes
5 #include "G4Types.hh"
6 #include "G4String.hh"
7 #include "G4ThreeVector.hh"
8 
9 // user includes
10 #include "QweakSimSystemOfUnits.hh"
11 
12 // geant4 classes
13 class G4ParticleDefinition;
14 class G4Track;
15 
17 
18  private:
19 
21  G4ParticleDefinition* sourceDefinition;
22  G4ThreeVector sourcePosition;
23  G4ThreeVector sourceMomentum;
24  G4double sourceEnergy;
25  G4double sourceTime;
26 
27  public:
28 
30  virtual ~QweakSimTrackHistory();
31 
32  void Initialize();
33  void Print() const ;
34 
35  void AddTrackInfo(const G4Track* aTrack);
36 
37  inline G4int GetSourceTrackID() const {return sourceTrackID;}
38  inline G4ParticleDefinition* GetSourceParticle() const {return sourceDefinition;}
39  inline G4ThreeVector GetSourcePosition() const {return sourcePosition;}
40  inline G4ThreeVector GetSourceMomentum() const {return sourceMomentum;}
41  inline G4double GetSourceEnergy() const {return sourceEnergy;}
42  inline G4double GetSourceTime() const {return sourceTime;}
43 
44 // ClassDef(QweakSimTrackHistory,1);
45 };
46 
47 #endif
G4double GetSourceEnergy() const
G4ParticleDefinition * GetSourceParticle() const
G4double GetSourceTime() const
void AddTrackInfo(const G4Track *aTrack)
G4ParticleDefinition * sourceDefinition
G4int GetSourceTrackID() const
G4ThreeVector GetSourcePosition() const
G4ThreeVector GetSourceMomentum() const