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;}
58 void SetModule( G4int module ) { m_scinNb = module; }
59 void SetStrip( G4int strip ) { m_strip = strip; }
60 void SetIons( G4int ions ) { m_number_of_ions=ions; }
61 void SetLocPos( G4ThreeVector locPos ) { m_locPos = locPos; }
62 void SetGapNb(G4int gapNb) { m_gapNb = gapNb; }
71 G4ThreeVector
GetPos() {
return m_pos; }
83 G4int
GetIons() {
return m_number_of_ions; }
87 inline void AddEdep( G4double de ) { m_edep += de; }
101 G4ThreeVector m_pDirection;
102 G4ThreeVector m_momentum;
106 G4int m_number_of_ions;
109 G4ThreeVector m_locPos;
118inline void* BesTofHit::operator
new(size_t) {
125inline 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
virtual G4int operator==(const BesTofHit &) const
void AddEdep(G4double de)
void SetModule(G4int module)
void SetPos(G4ThreeVector pos)
G4ThreeVector GetPDirection()
void SetDeltaT(G4double deltaT)
void SetCharge(G4double charge)
BesTofHit(const BesTofHit &)
void SetPDGcode(G4int pdgcode)
G4ThreeVector GetLocPos()
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 &)