34 #include "SteppingAction.hh"
35 #include "DetectorConstruction.hh"
36 #include "PrimaryGeneratorAction.hh"
37 #include "RunAction.hh"
38 #include "HistoManager.hh"
48 :detector(det), primary(prim), runAction(RuAct), histoManager(Hist)
78 G4double costheta=direction*beamDirection;
84 histoManager->
FillHistos(particleName,kinEnergy,costheta,phi,polZ);
85 runAction->
FillData(particleName,kinEnergy,costheta,phi,polZ);
void FillData(const G4String &particleName, G4double kinEnergy, G4double costheta, G4double phi, G4double longitudinalPolarization)
const G4VPhysicalVolume * GetWorld()
const G4DynamicParticle * GetDynamicParticle() const
G4ParticleDefinition * GetDefinition() const
void CountProcesses(G4String procName)
void UserSteppingAction(const G4Step *)
const G4String & GetParticleName() const
G4StepPoint * GetPreStepPoint() const
G4ParticleMomentum GetParticleMomentumDirection() const
const G4ThreeVector & GetMomentumDirection() const
void FillHistos(const G4String &particleName, G4double kinEnergy, G4double costheta, G4double phi, G4double longitudinalPolarization)
const G4ThreeVector & GetPosition() const
const G4VPhysicalVolume * GetBox()
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 &)
G4double GetKineticEnergy() const
G4Track * GetTrack() const
static G4ThreeVector GetParticleFrameX(const G4ThreeVector &)
const G4ThreeVector & GetPolarization() const
const G4TouchableHandle & GetTouchableHandle() const