7 #include <G4VisAttributes.hh>
9 #include <G4VVisManager.hh>
11 #include <G4THitsCollection.hh>
12 #include <G4Allocator.hh>
13 #include <G4ThreeVector.hh>
22 inline void*
operator new(size_t);
23 inline void operator delete(
void*);
28 G4ThreeVector fPosition;
31 G4ThreeVector fMomentum;
32 G4ThreeVector fVertex;
36 G4ThreeVector fVertexMomentumDirection;
37 G4double fVertexKineticEnergy;
50 inline G4double
GetDE()
const {
return fDE;};
51 inline void SetDE(G4double de) {fDE=de;};
53 inline G4String
GetVolume()
const {
return fVolume;};
54 inline void SetVolume(G4String volume) {fVolume=volume;};
59 inline G4ThreeVector
GetVertex()
const {
return fVertex;};
60 inline void SetVertex(G4ThreeVector v0) {fVertex=v0;};
62 inline G4double
GetTime()
const {
return fTime;};
63 inline void SetTime(G4double time) {fTime=time;};
69 inline void SetParentID(G4int parentID) {fParentID=parentID;};
83 inline void* MCHit::operator
new(size_t)
90 inline void MCHit::operator
delete(
void* aHit)
G4THitsCollection< MCHit > MCHitsCollection
G4Allocator< MCHit > MCHitAllocator
G4int GetParentID() const
G4ThreeVector GetVertex() const
G4int GetParticleID() const
void SetVertexKineticEnergy(G4double vke)
void SetParentID(G4int parentID)
void SetVertex(G4ThreeVector v0)
G4String GetVolume() const
G4double GetVertexKineticEnergy() const
G4ThreeVector GetVertexMomentumDirection() const
G4ThreeVector GetPosition() const
void SetParticleID(G4int particle_id)
void SetVolume(G4String volume)
void SetTime(G4double time)
G4ThreeVector GetMomentum() const
void SetVertexMomentumDirection(G4ThreeVector vmd)
void SetPosition(G4ThreeVector pos)
void SetTrackID(G4int tid)
void SetParticleName(G4String pName)
void SetMomentum(G4ThreeVector p)
G4String GetParticleName() const