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;
 
   87     fRunAction->
FillData(part,kinEnergy,costheta,phi,polZ);
 
The primary generator action class with particle gun. 
 
const G4VPhysicalVolume * GetWorld()
 
const G4DynamicParticle * GetDynamicParticle() const 
 
G4ParticleDefinition * GetDefinition() const 
 
void UserSteppingAction(const G4Step *)
 
G4StepPoint * GetPreStepPoint() const 
 
G4ParticleMomentum GetParticleMomentumDirection() const 
 
const G4ThreeVector & GetMomentumDirection() const 
 
const G4ThreeVector & GetPosition() const 
 
const G4VPhysicalVolume * GetBox()
 
void CountProcesses(G4String)
 
const G4String & GetProcessName() const 
 
const G4VProcess * GetProcessDefinedStep() const 
 
virtual G4VPhysicalVolume * GetVolume(G4int depth=0) const 
 
G4ParticleGun * GetParticleGun()
 
G4StepPoint * GetPostStepPoint() const 
 
static G4ThreeVector GetParticleFrameY(const G4ThreeVector &)
 
Detector construction class to define materials and geometry. 
 
G4double GetKineticEnergy() const 
 
G4Track * GetTrack() const 
 
void FillData(const G4ParticleDefinition *particle, G4double kinEnergy, G4double costheta, G4double phi, G4double longitudinalPolarization)
 
static G4ThreeVector GetParticleFrameX(const G4ThreeVector &)
 
const G4ThreeVector & GetPolarization() const 
 
const G4TouchableHandle & GetTouchableHandle() const