34 #include "SteppingAction.hh"
35 #include "DetectorConstruction.hh"
36 #include "RunAction.hh"
37 #include "TrackingAction.hh"
38 #include "HistoManager.hh"
48 :fDetector(det), fRunAction(RuAct), fTrackAction(TrAct),
88 if (volume == fCavity) {
101 if (volume == fWall) {fRunAction->
StepInWall (steplen);
id = 9;}
103 analysisManager->FillH1(
id,steplen);
113 if (volume == fWall)
return;
123 analysisManager->FillH1(4,vertex.
z());
125 analysisManager->FillH1(5,ekin1);
131 analysisManager->FillH1(6,std::acos(-fDirectionIn*normal));
132 analysisManager->FillH1(7,std::acos(-directionOut*normal));
139 fTrackSegm += steplen;
142 analysisManager->FillH1(8,fTrackSegm);
150 analysisManager->FillH1(8,fTrackSegm);
G4ParticleDefinition * GetDefinition() const
void StepInCavity(G4double s)
G4VPhysicalVolume * GetWall()
virtual G4VSolid * GetSolid(G4int depth=0) const
CLHEP::Hep3Vector G4ThreeVector
G4double GetStepLength() const
G4StepStatus GetStepStatus() const
void CountProcesses(G4String procName)
void UserSteppingAction(const G4Step *)
G4StepPoint * GetPreStepPoint() const
const G4ThreeVector & GetMomentumDirection() const
G4int GetCurrentStepNumber() const
const G4ThreeVector & GetPosition() const
virtual G4ThreeVector SurfaceNormal(const G4ThreeVector &p) const =0
void StepInWall(G4double s)
ExG4HbookAnalysisManager G4AnalysisManager
void AddTrakCavity(G4double dt)
const G4String & GetProcessName() const
const G4ThreeVector & GetVertexPosition() const
G4double GetTotalEnergyDeposit() const
void FlowInCavity(G4int k, G4double e)
G4VPhysicalVolume * GetCavity()
const G4VProcess * GetProcessDefinedStep() const
virtual G4VPhysicalVolume * GetVolume(G4int depth=0) const
G4StepPoint * GetPostStepPoint() const
void AddEdepCavity(G4double de)
G4double GetKineticEnergy() const
G4Track * GetTrack() const
const G4TouchableHandle & GetTouchableHandle() const