65 static G4int HCID = -1;
84 if (aStep == NULL)
return false;
85 G4Track* theTrack = aStep->GetTrack();
88 if(theTrack->GetDefinition()
92 G4StepPoint* thePostPoint = aStep->GetPostStepPoint();
100 G4ThreeVector photonExit = trackInformation -> GetExitPosition();
102 G4double arrivalTime = theTrack -> GetGlobalTime();
107 GetTopTransform().TransformPoint(photonArrive);
G4String SensitiveDetectorName
WLSPhotonDetHitsCollection * fPhotonDetHitCollection
G4bool ProcessHits_constStep(const G4Step *, G4TouchableHistory *)
const G4NavigationHistory * GetHistory() const
Definition of the WLSPhotonDetHit class.
virtual G4int GetCollectionID(G4int i)
void insert(G4String str)
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
virtual G4bool ProcessHits(G4Step *, G4TouchableHistory *)
virtual ~WLSPhotonDetSD()
G4THitsCollection< WLSPhotonDetHit > WLSPhotonDetHitsCollection
Definition of the WLSPhotonDetSD class.
virtual void Initialize(G4HCofThisEvent *)
G4CollectionNameVector collectionName
static G4OpticalPhoton * OpticalPhotonDefinition()