Import Geant4 11.0.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2021-06-25 16:12:29 +02:00
parent c968e26a39
commit 6399a014b6
4200 changed files with 207479 additions and 237366 deletions
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
//
/// \file B4aEventAction.hh
/// \brief Definition of the B4aEventAction class
@@ -49,31 +49,31 @@ class B4aEventAction : public G4UserEventAction
virtual void BeginOfEventAction(const G4Event* event);
virtual void EndOfEventAction(const G4Event* event);
void AddAbs(G4double de, G4double dl);
void AddGap(G4double de, G4double dl);
private:
G4double fEnergyAbs;
G4double fEnergyGap;
G4double fTrackLAbs;
G4double fTrackLAbs;
G4double fTrackLGap;
};
// inline functions
inline void B4aEventAction::AddAbs(G4double de, G4double dl) {
fEnergyAbs += de;
fEnergyAbs += de;
fTrackLAbs += dl;
}
inline void B4aEventAction::AddGap(G4double de, G4double dl) {
fEnergyGap += de;
fEnergyGap += de;
fTrackLGap += dl;
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#endif