Import Geant4 11.0.0.beta source tree
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user