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*);
41 void SetEvent(G4double event) {m_event = event; };
47 void SetEdep(G4double edep) { m_edep = edep; }
48 void SetStepL(G4double stepL) { m_stepL = stepL;}
49 void SetTrackL(G4double length) { m_trackL = length; }
50 void SetPos(G4ThreeVector pos) { m_pos = pos; }
52 void SetDeltaT(G4double deltaT) { m_deltaT = deltaT;}
53 void SetPDirection(G4ThreeVector pDirection) { m_pDirection = pDirection; }
60 void SetModule( G4int module ) { m_scinNb =
module; }
61 void SetStrip( G4int strip ) { m_strip = strip; }
62 void SetIons( G4int ions ) { m_number_of_ions=ions; }
63 void SetLocPos( G4ThreeVector locPos ) { m_locPos = locPos; }
64 void SetGapNb(G4int gapNb) { m_gapNb = gapNb; }
73 G4ThreeVector
GetPos() {
return m_pos; }
85 G4int
GetIons() {
return m_number_of_ions; }
89 inline void AddEdep( G4double de ) { m_edep += de; }
104 G4ThreeVector m_pDirection;
105 G4ThreeVector m_momentum;
109 G4int m_number_of_ions;
112 G4ThreeVector m_locPos;
121inline void* BesTofHit::operator
new(size_t) {
128inline 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 SetEvent(G4double event)
void AddEdep(G4double de)
void SetModule(G4int module)
void SetPos(G4ThreeVector pos)
G4ThreeVector GetPDirection()
void SetDeltaT(G4double deltaT)
void SetCharge(G4double charge)
void SetPDGcode(G4int pdgcode)
G4ThreeVector GetLocPos()
virtual G4int operator==(const BesTofHit &) const
void SetTrackIndex(G4int trackIndex)
void SetPDirection(G4ThreeVector pDirection)
void SetPartId(G4int partId)
void SetLocPos(G4ThreeVector locPos)
const BesTofHit & operator=(const BesTofHit &)
void SetScinNb(G4int scinNb)
void SetGapNb(G4int gapNb)
void SetStrip(G4int strip)
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 &)