18#ifndef BDSHITAPERTUREIMPACT_H
19#define BDSHITAPERTUREIMPACT_H
23#include "G4ThreeVector.hh"
24#include "G4THitsCollection.hh"
25#include "G4Allocator.hh"
40 G4double preStepKineticEnergyIn,
47 G4double globalTimeIn,
52 G4int beamlineIndexIn,
58 inline void*
operator new(size_t);
59 inline void operator delete(
void *aHit);
62 G4double preStepKineticEnergy;
79extern G4Allocator<BDSHitApertureImpact> BDSAllocatorApertureImpacts;
81inline void* BDSHitApertureImpact::operator
new(size_t)
84 aHit=(
void*) BDSAllocatorApertureImpacts.MallocSingle();
88inline void BDSHitApertureImpact::operator
delete(
void *aHit)
Snapshot of information for particle passing through a collimator.
virtual ~BDSHitApertureImpact()
Note this should not be inline when we use a G4Allocator.