#include <Doxymodules_optical.h>
Definition at line 63 of file Doxymodules_optical.h.
◆ LXeScintSD()
Definition at line 48 of file LXeScintSD.cc.
50{
51 collectionName.insert("scintCollection");
52}
◆ ~LXeScintSD()
LXeScintSD::~LXeScintSD |
( |
| ) |
|
|
overridedefault |
◆ Initialize()
Definition at line 56 of file LXeScintSD.cc.
57{
60
62 {
64 }
66}
G4THitsCollection< LXeScintHit > LXeScintHitsCollection
LXeScintHitsCollection * fScintCollection
◆ ProcessHits()
Definition at line 70 of file LXeScintSD.cc.
71{
72 G4double edep = aStep->GetTotalEnergyDeposit();
73 if(edep == 0.)
74 return false;
75
76 G4StepPoint* thePrePoint = aStep->GetPreStepPoint();
77 auto theTouchable =
80
81 G4StepPoint* thePostPoint = aStep->GetPostStepPoint();
82
83
84 G4ThreeVector pos = thePrePoint->GetPosition() + thePostPoint->GetPosition();
85 pos /= 2.;
86
88
89 scintHit->SetEdep(edep);
90 scintHit->SetPos(pos);
91
93
94 return true;
95}
◆ fScintCollection
◆ fHitsCID
G4int LXeScintSD::fHitsCID = -1 |
|
private |
The documentation for this class was generated from the following files: