#include <WLSPhotonDetSD.hh>
Definition at line 45 of file WLSPhotonDetSD.hh.
◆ WLSPhotonDetSD()
WLSPhotonDetSD::WLSPhotonDetSD |
( |
G4String |
name | ) |
|
Definition at line 48 of file WLSPhotonDetSD.cc.
WLSPhotonDetHitsCollection * fPhotonDetHitCollection
void insert(G4String str)
G4VSensitiveDetector(G4String name)
G4CollectionNameVector collectionName
◆ ~WLSPhotonDetSD()
WLSPhotonDetSD::~WLSPhotonDetSD |
( |
| ) |
|
|
virtual |
◆ Initialize()
Reimplemented from G4VSensitiveDetector.
Definition at line 60 of file WLSPhotonDetSD.cc.
65 static G4int HCID = -1;
G4String SensitiveDetectorName
WLSPhotonDetHitsCollection * fPhotonDetHitCollection
virtual G4int GetCollectionID(G4int i)
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
G4THitsCollection< WLSPhotonDetHit > WLSPhotonDetHitsCollection
G4CollectionNameVector collectionName
◆ ProcessHits()
◆ ProcessHits_constStep()
Definition at line 79 of file WLSPhotonDetSD.cc.
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);
WLSPhotonDetHitsCollection * fPhotonDetHitCollection
const G4NavigationHistory * GetHistory() const
static G4OpticalPhoton * OpticalPhotonDefinition()
◆ fPhotonDetHitCollection
The documentation for this class was generated from the following files: