Import Geant4 11.4.0 source tree

This commit is contained in:
Gabriele Cosmo
2025-12-05 08:54:02 +01:00
parent a499fb82e9
commit b4a16de652
6484 changed files with 232674 additions and 221097 deletions
+6
View File
@@ -75,11 +75,17 @@ class G4SubEvent : public std::vector<G4StackedTrack>
inline void SetEvent(G4Event* evt) { fpEvent = evt; }
inline G4Event* GetEvent() const { return fpEvent; }
// flag if all tracks of this sub-event have been tracked
// and thus ready to be merged to the corresponding event
inline void SetCompleted(G4bool val=true) const { fCompleted = val; }
inline G4bool IsCompleted() const { return fCompleted; }
private:
G4int fSubEventType = -1;
std::size_t fMaxEnt = 1000;
G4Event* fpEvent = nullptr;
mutable G4bool fCompleted = false;
};