WriteHistogram and createHistogram Instance added

parent 4ca78619
......@@ -38,7 +38,7 @@ class G4Run;
/// Run action class
///
/// In EndOfRunAction(), it calculates the dose in the selected volume
/// In EndOfRunAction(), it calculates the dose in the selected volume
/// from the energy deposit accumulated via stepping and event actions.
/// The computed dose is then printed on the screen.
......@@ -52,12 +52,13 @@ class B1RunAction : public G4UserRunAction
virtual void BeginOfRunAction(const G4Run*);
virtual void EndOfRunAction(const G4Run*);
void AddEdep (G4double edep);
void AddEdep (G4double edep);
private:
void createHistogram();
void WriteHistogram();
G4Accumulable<G4double> fEdep;
G4Accumulable<G4double> fEdep2;
};
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment