27#ifndef G4VFASTSIMSENSITIVEDETECTOR_HH
28#define G4VFASTSIMSENSITIVEDETECTOR_HH
74 if (sensDet ==
nullptr) {
76 "Sensitive detector needs also to inherit also from "
77 "G4VSensitiveDetector if full "
78 "simulation is used instead!");
80 if (sensDet->isActive()) {
84 if (ROgeometry !=
nullptr) {
98 if (result) result = ProcessHits(aHit, aTrack, ROhistory);
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
Minimal hit created in the fast simulation.
G4ThreeVector GetPosition() const
Get position.
const G4Track * GetPrimaryTrack() const
void SetTouchableHandle(const G4TouchableHandle &apValue)
void SetPosition(const G4ThreeVector &aValue)
void SetMomentumDirection(const G4ThreeVector &aValue)
G4StepPoint * GetPreStepPoint() const
const G4ThreeVector & GetMomentumDirection() const
Base class for the sensitive detector used within the fast simulation.
virtual ~G4VFastSimSensitiveDetector()=default
G4bool Hit(const G4FastHit *aHit, const G4FastTrack *aTrack, G4TouchableHandle *aTouchable)
virtual G4bool CheckROVolume(G4Step *, G4TouchableHistory *&)