19#ifndef BDSHITAPERTUREIMPACT_H
20#define BDSHITAPERTUREIMPACT_H
24#include "G4ThreeVector.hh"
25#include "G4THitsCollection.hh"
26#include "G4Allocator.hh"
41 G4double preStepKineticEnergyIn,
48 G4double globalTimeIn,
53 G4int beamlineIndexIn,
59 inline void*
operator new(size_t);
60 inline void operator delete(
void *aHit);
63 G4double preStepKineticEnergy;
80extern G4Allocator<BDSHitApertureImpact> BDSAllocatorApertureImpacts;
82inline void* BDSHitApertureImpact::operator
new(size_t)
85 aHit=(
void*) BDSAllocatorApertureImpacts.MallocSingle();
89inline 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.