34 #include "SteppingAction.hh" 36 #include "DetectorConstruction.hh" 38 #include "EventAction.hh" 39 #include "HistoManager.hh" 60 Run* run =
static_cast<Run*
>(
67 G4LogicalVolume* lVolume = aStep->GetPreStepPoint()->GetTouchableHandle()
68 ->GetVolume()->GetLogicalVolume();
75 const G4StepPoint* endPoint = aStep->GetPostStepPoint();
76 const G4VProcess* process = endPoint->GetProcessDefinedStep();
81 G4double edepStep = aStep->GetTotalEnergyDeposit();
82 if (edepStep <= 0.)
return;
83 G4double time = aStep->GetPreStepPoint()->GetGlobalTime();
89 analysisManager->FillNtupleDColumn(
id,0, edepStep);
90 analysisManager->FillNtupleDColumn(
id,1, time/
s);
91 analysisManager->FillNtupleDColumn(
id,2, weight);
92 analysisManager->AddNtupleRow(
id);
G4Run * GetNonConstCurrentRun() const
void AddEdep(G4double Edep)
G4LogicalVolume * GetLogicTarget()
void CountProcesses(G4String procName)
void UserSteppingAction(const G4Step *)
ExG4HbookAnalysisManager G4AnalysisManager
DetectorConstruction * fDetector
static G4RunManager * GetRunManager()
EventAction * fEventAction
Detector construction class to define materials and geometry.
G4LogicalVolume * GetLogicDetector()