40 fWorldWithSdName =
"";
60 if(fWorldWithSdName.empty())
90 if(currentVolume != 0)
97 fastSimSensitive->
Hit(&aHit, &aTrack, &fTouchableHandle);
103 <<
" It is required to derive from the " <<
G4endl
104 <<
" G4VFastSimSensitiveDetector in " <<
G4endl
105 <<
" addition to the usual G4VSensitiveDetector class."
108 "G4VFastSimSensitiveDetector interface not implemented.");
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4GLOB_DLL std::ostream G4cerr
Minimal hit created in the fast simulation.
G4ThreeVector GetPosition() const
Get position.
G4double GetEnergy() const
Get energy.
void make(const G4FastHit &aHit, const G4FastTrack &aTrack)
const G4Track * GetPrimaryTrack() const
const G4AffineTransform * GetInverseAffineTransformation() const
G4VSensitiveDetector * GetSensitiveDetector() const
G4FastSimulationManager * GetFastSimulationManager() const
void LocateGlobalPointAndUpdateTouchable(const G4ThreeVector &position, const G4ThreeVector &direction, G4VTouchable *touchableToUpdate, const G4bool RelativeSearch=true)
void SetWorldVolume(G4VPhysicalVolume *pWorld)
G4VPhysicalVolume * GetWorldVolume() const
const G4ThreeVector & GetPosition() const
G4VPhysicalVolume * GetParallelWorld(const G4String &worldName)
static G4TransportationManager * GetTransportationManager()
G4Navigator * GetNavigatorForTracking() const
Base class for the sensitive detector used within the fast simulation.
G4bool Hit(const G4FastHit *aHit, const G4FastTrack *aTrack, G4TouchableHandle *aTouchable)
G4LogicalVolume * GetLogicalVolume() const
virtual G4VPhysicalVolume * GetVolume(G4int depth=0) const