#include <Doxymodules_optical.h>
Definition at line 57 of file Doxymodules_optical.h.
◆ LXePMTSD()
Definition at line 50 of file LXePMTSD.cc.
52{
53 collectionName.insert("pmtHitCollection");
54}
◆ ~LXePMTSD()
Definition at line 58 of file LXePMTSD.cc.
59{
63}
G4DataVector * fPMTPositionsX
G4DataVector * fPMTPositionsY
G4DataVector * fPMTPositionsZ
◆ Initialize()
Definition at line 82 of file LXePMTSD.cc.
83{
86
88 {
90 }
92}
G4THitsCollection< LXePMTHit > LXePMTHitsCollection
LXePMTHitsCollection * fPMTHitCollection
◆ ProcessHits()
◆ ProcessHits_boundary()
Definition at line 104 of file LXePMTSD.cc.
105{
106
107 if(aStep->GetTrack()->GetDefinition() !=
108 G4OpticalPhoton::OpticalPhotonDefinition())
109 return false;
110
111
112
113 G4int pmtNumber =
114 aStep->GetPostStepPoint()->GetTouchable()->GetReplicaNumber(1);
116 aStep->GetPostStepPoint()->GetTouchable()->GetVolume(1);
117
118
121 for(size_t i = 0; i < n; ++i)
122 {
124 {
125 hit = (*fPMTHitCollection)[i];
126 break;
127 }
128 }
129
130 if(hit == nullptr)
131 {
138 }
139
141
143 {
145
146 }
147 else
148 {
149 auto trackInfo =
151 if(trackInfo->GetTrackStatus() &
hitSphere)
152
154 }
155
156 return true;
157}
static G4bool GetSphereOn()
void SetPMTPos(G4double x, G4double y, G4double z)
void SetPMTPhysVol(G4VPhysicalVolume *physVol)
void SetPMTNumber(G4int n)
◆ InitPMTs()
void LXePMTSD::InitPMTs |
( |
| ) |
|
|
inline |
◆ SetPmtPositions()
void LXePMTSD::SetPmtPositions |
( |
const std::vector< G4ThreeVector > & |
positions | ) |
|
Definition at line 67 of file LXePMTSD.cc.
68{
69 for(size_t i = 0; i < positions.size(); ++i)
70 {
77 }
78}
◆ fPMTHitCollection
◆ fPMTPositionsX
◆ fPMTPositionsY
◆ fPMTPositionsZ
◆ fHitCID
G4int LXePMTSD::fHitCID = -1 |
|
private |
The documentation for this class was generated from the following files: