Import Geant4 11.2.0 source tree
This commit is contained in:
@@ -27,7 +27,6 @@
|
||||
/// \brief Definition of the EventAction class
|
||||
//
|
||||
//
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
@@ -42,19 +41,19 @@
|
||||
class EventAction : public G4UserEventAction
|
||||
{
|
||||
public:
|
||||
EventAction();
|
||||
~EventAction();
|
||||
EventAction() = default;
|
||||
~EventAction() override = default;
|
||||
|
||||
public:
|
||||
virtual void BeginOfEventAction(const G4Event*);
|
||||
virtual void EndOfEventAction(const G4Event*);
|
||||
void BeginOfEventAction(const G4Event*) override;
|
||||
void EndOfEventAction(const G4Event*) override;
|
||||
|
||||
void AddEdep (G4double Edep);
|
||||
void AddEflow(G4double Eflow);
|
||||
|
||||
private:
|
||||
G4double fTotalEnergyDeposit;
|
||||
G4double fTotalEnergyFlow;
|
||||
G4double fTotalEnergyDeposit = 0.;
|
||||
G4double fTotalEnergyFlow = 0.;
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
Reference in New Issue
Block a user