16#include "G4THitsCollection.hh"
17#include "G4Allocator.hh"
18#include "G4ThreeVector.hh"
19#include "G4Material.hh"
34 inline void*
operator new(size_t);
35 inline void operator delete(
void*);
45 void SetEdep(G4double edep) { m_edep = edep; }
46 void SetStepL(G4double stepL) { m_stepL = stepL;}
47 void SetTrackL(G4double length) { m_trackL = length; }
48 void SetPos(G4ThreeVector pos) { m_pos = pos; }
50 void SetDeltaT(G4double deltaT) { m_deltaT = deltaT;}
51 void SetPDirection(G4ThreeVector pDirection) { m_pDirection = pDirection; }
55 void SetCharge(G4double charge) {m_charge = charge;}
65 G4ThreeVector
GetPos() {
return m_pos; }
77 inline void AddEdep(G4double de) { m_edep += de; }
79 void SetIons(G4int ions){m_number_of_ions=ions;}
97 G4ThreeVector m_pDirection;
98 G4ThreeVector m_momentum;
102 G4int m_number_of_ions;
113inline void* BesTofHit::operator
new(size_t)
121inline void BesTofHit::operator
delete(
void *aHit)
**********INTEGER nmxhep !maximum number of particles DOUBLE PRECISION vhep INTEGER jdahep COMMON hepevt $ !serial number $ !number of particles $ !status code $ !particle ident KF $ !parent particles $ !childreen particles $ !four momentum
G4THitsCollection< BesTofHit > BesTofHitsCollection
G4Allocator< BesTofHit > BesTofHitAllocator
void AddEdep(G4double de)
void SetPos(G4ThreeVector pos)
G4ThreeVector GetPDirection()
void SetDeltaT(G4double deltaT)
void SetCharge(G4double charge)
void SetPDGcode(G4int pdgcode)
virtual G4int operator==(const BesTofHit &) const
void SetTrackIndex(G4int trackIndex)
void SetPDirection(G4ThreeVector pDirection)
void SetPartId(G4int partId)
void SetModule_mrpc(G4int module_mrpc)
const BesTofHit & operator=(const BesTofHit &)
void SetScinNb(G4int scinNb)
void SetStepL(G4double stepL)
void SetTrackL(G4double length)
void SetTime(G4double time)
void SetEdep(G4double edep)
G4ThreeVector GetMomentum()
void SetMomentum(G4ThreeVector momentum)
void SetG4Index(G4int index)
void AddHit(const BesTofHit &)