BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
|
Generates BDSHitsEnergyDepositions from step information - uses curvilinear coords. More...
#include <BDSSDApertureImpacts.hh>
Public Member Functions | |
BDSSDApertureImpacts (const G4String &name) | |
virtual void | Initialize (G4HCofThisEvent *HCE) |
virtual G4bool | ProcessHits (G4Step *aStep, G4TouchableHistory *th) |
Private Member Functions | |
BDSSDApertureImpacts & | operator= (const BDSSDApertureImpacts &) |
Assignment and copy constructor not implemented nor used. | |
BDSSDApertureImpacts (BDSSDApertureImpacts &) | |
Private Attributes | |
G4String | colName |
Collection name. | |
BDSHitsCollectionApertureImpacts * | hits |
Hits. | |
G4int | HCIDe |
Hits collection ID of the event. | |
BDSAuxiliaryNavigator * | auxNavigator |
Navigator for checking points in read out geometry. | |
Generates BDSHitsEnergyDepositions from step information - uses curvilinear coords.
This class interrogates a G4Step and generates an energy deposition hit if there was a change in energy. This assigns the energy deposition to a point randomly (uniformly) along the step. It also uses a BDSAuxiliaryNavigator instance to use transforms from the curvilinear parallel world for curvilinear coordinates.
Definition at line 43 of file BDSSDApertureImpacts.hh.
BDSSDApertureImpacts::BDSSDApertureImpacts | ( | const G4String & | name | ) |
Definition at line 41 of file BDSSDApertureImpacts.cc.
|
virtual |
Definition at line 51 of file BDSSDApertureImpacts.cc.
|
virtual |
Definition at line 56 of file BDSSDApertureImpacts.cc.
|
virtual |
The standard interface here to process a step from Geant4. Record all the relevant coordinates here. Records the energy deposited along the step.
Definition at line 68 of file BDSSDApertureImpacts.cc.
References auxNavigator, BDSAuxiliaryNavigator::ConvertToLocal(), BDSPhysicalVolumeInfoRegistry::GetInfo(), BDSPhysicalVolumeInfo::GetSPos(), hits, BDSGlobalConstants::Instance(), BDSPhysicalVolumeInfoRegistry::Instance(), BDSStep::PostStepPoint(), BDSStep::PreStepPoint(), and BDSStep::VolumeForTransform().
|
private |
Navigator for checking points in read out geometry.
Definition at line 68 of file BDSSDApertureImpacts.hh.
Referenced by ProcessHits().
|
private |
Collection name.
Definition at line 63 of file BDSSDApertureImpacts.hh.
|
private |
Hits collection ID of the event.
Definition at line 65 of file BDSSDApertureImpacts.hh.
|
private |