59{
60
61 if (!fNaviSetup)
62 {
63 fpNavigator->
65 GetNavigatorForTracking()->GetWorldVolume() );
66 fpNavigator->
67 LocateGlobalPointAndUpdateTouchable(aSpot->
GetPosition(),
68 fTouchableHandle(), false);
69 fNaviSetup = true;
70 }
71 else
72 {
73 fpNavigator->
74 LocateGlobalPointAndUpdateTouchable(aSpot->
GetPosition(),
75 fTouchableHandle());
76 }
77
78
79
80
81
82
84
85
86
87
88
89
90
93 if( pCurrentVolume != 0 )
94 {
98 if( gflashSensitive )
99 {
100 gflashSensitive->
Hit(&theSpot);
101 }
102 else if ( (!gflashSensitive ) &&
103 ( pSensitive ) &&
105 )
106
107
108 {
110 <<
" It is required to implement the "<<
G4endl
111 <<
" G4VGFlashSensitiveDetector interface in "<<
G4endl
112 << " addition to the usual SensitiveDetector class."
115 "G4VGFlashSensitiveDetector interface not implemented.");
116 }
117 }
118 else
119 {
120 #ifdef GFLASH_DEBUG
122 #endif
123 }
124}
G4DLLIMPORT std::ostream G4cerr
G4DLLIMPORT std::ostream G4cout
G4VSensitiveDetector * GetSensitiveDetector() const
G4FastSimulationManager * GetFastSimulationManager() const
static G4TransportationManager * GetTransportationManager()
G4bool Hit(G4GFlashSpot *aSpot)
G4LogicalVolume * GetLogicalVolume() const
virtual G4VPhysicalVolume * GetVolume(G4int depth=0) const
G4ThreeVector GetPosition() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)