Import Geant4 11.3.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2024-06-28 13:08:51 +02:00
parent f7b23877ed
commit e58e650b32
5232 changed files with 239416 additions and 244360 deletions
+20 -20
View File
@@ -31,10 +31,11 @@
#define EventAction_h 1
#include "G4UserEventAction.hh"
#include "G4THitsMap.hh"
#include "globals.hh"
class G4Event;
template <typename T> class G4THitsMap;
namespace B4d
{
@@ -46,29 +47,28 @@ namespace B4d
class EventAction : public G4UserEventAction
{
public:
EventAction() = default;
~EventAction() override = default;
public:
EventAction() = default;
~EventAction() override = default;
void BeginOfEventAction(const G4Event* event) override;
void EndOfEventAction(const G4Event* event) override;
void BeginOfEventAction(const G4Event* event) override;
void EndOfEventAction(const G4Event* event) override;
private:
// methods
G4THitsMap<G4double>* GetHitsCollection(G4int hcID,
const G4Event* event) const;
G4double GetSum(G4THitsMap<G4double>* hitsMap) const;
void PrintEventStatistics(G4double absoEdep, G4double absoTrackLength,
G4double gapEdep, G4double gapTrackLength) const;
private:
// methods
G4THitsMap<G4double>* GetHitsCollection(G4int hcID, const G4Event* event) const;
G4double GetSum(G4THitsMap<G4double>* hitsMap) const;
void PrintEventStatistics(G4double absoEdep, G4double absoTrackLength, G4double gapEdep,
G4double gapTrackLength) const;
// data members
G4int fAbsoEdepHCID = -1;
G4int fGapEdepHCID = -1;
G4int fAbsoTrackLengthHCID = -1;
G4int fGapTrackLengthHCID = -1;
// data members
G4int fAbsoEdepHCID = -1;
G4int fGapEdepHCID = -1;
G4int fAbsoTrackLengthHCID = -1;
G4int fGapTrackLengthHCID = -1;
};
}
} // namespace B4d
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......