Import Geant4 9.6.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 17:01:34 +02:00
parent b1eb5424d2
commit e2d2f9810a
10384 changed files with 698580 additions and 628834 deletions
@@ -23,9 +23,11 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
/// \file electromagnetic/TestEm4/include/EventAction.hh
/// \brief Definition of the EventAction class
//
// $Id: EventAction.hh,v 1.2 2006-06-29 16:53:33 gunter Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
// $Id$
//
//
@@ -50,20 +52,20 @@ class EventAction : public G4UserEventAction
~EventAction();
public:
void BeginOfEventAction(const G4Event*);
void EndOfEventAction(const G4Event*);
virtual void BeginOfEventAction(const G4Event*);
virtual void EndOfEventAction(const G4Event*);
void addEdep(G4double Edep) {TotalEnergyDeposit += Edep;};
G4double GetEnergyDeposit() {return TotalEnergyDeposit;};
void SetDrawFlag(G4String val) {drawFlag = val;};
void SetPrintModulo(G4int val) {printModulo = val;};
void addEdep(G4double Edep) {fTotalEnergyDeposit += Edep;};
G4double GetEnergyDeposit() {return fTotalEnergyDeposit;};
void SetDrawFlag(G4String val) {fDrawFlag = val;};
void SetPrintModulo(G4int val) {fPrintModulo = val;};
private:
RunAction* Run;
G4double TotalEnergyDeposit; // Energy deposited in c6f6
G4String drawFlag; // control the drawing of event
G4int printModulo;
EventActionMessenger* eventMessenger;
RunAction* fRun;
G4double fTotalEnergyDeposit; // Energy deposited in c6f6
G4String fDrawFlag; // control the drawing of event
G4int fPrintModulo;
EventActionMessenger* fEventMessenger;
};
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......