34 #include "SteppingAction.hh"
35 #include "DetectorConstruction.hh"
36 #include "PrimaryGeneratorAction.hh"
37 #include "RunAction.hh"
47 fDetector(det), fPrimary(prim), fRunAction(ruAct)
79 G4double costheta = direction*beamDirection;
const DetectorConstruction * fDetector
static G4ThreeVector GetParticleFrameY(const G4ThreeVector &)
G4StepPoint * GetPreStepPoint() const
static G4ThreeVector GetParticleFrameX(const G4ThreeVector &)
virtual G4VPhysicalVolume * GetVolume(G4int depth=0) const
G4ParticleGun * GetParticleGun()
const G4TouchableHandle & GetTouchableHandle() const
const G4VPhysicalVolume * GetWorld()
G4ParticleDefinition * GetDefinition() const
void CountProcesses(G4String)
const G4ThreeVector & GetPosition() const
G4Track * GetTrack() const
const G4String & GetProcessName() const
const G4ThreeVector & GetMomentumDirection() const
The primary generator action class with particle gun.
G4StepPoint * GetPostStepPoint() const
void UserSteppingAction(const G4Step *)
G4double GetKineticEnergy() const
const G4VPhysicalVolume * GetBox()
PrimaryGeneratorAction * fPrimary
const G4ThreeVector & GetPolarization() const
void FillData(const G4ParticleDefinition *particle, G4double kinEnergy, G4double costheta, G4double phi, G4double longitudinalPolarization)
const G4VProcess * GetProcessDefinedStep() const
G4ParticleMomentum GetParticleMomentumDirection() const
const G4DynamicParticle * GetDynamicParticle() const
Simple detector construction with a box volume placed in a world.