27#ifndef G4VFASTSIMSENSITIVEDETECTOR_HH
28#define G4VFASTSIMSENSITIVEDETECTOR_HH
72 if(sensDet ==
nullptr)
74 G4Exception(
"G4VFastSimSensitiveDetector::Hit()",
"InvalidSetup",
76 "Sensitive detector needs also to inherit also from "
77 "G4VSensitiveDetector if full "
78 "simulation is used instead!");
100 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.
G4bool Hit(const G4FastHit *aHit, const G4FastTrack *aTrack, G4TouchableHandle *aTouchable)
virtual G4bool CheckROVolume(G4Step *, G4TouchableHistory *&)
G4VReadOutGeometry * GetROgeometry() const