#include <Doxymodules_optical.h>
Definition at line 105 of file Doxymodules_optical.h.
◆ WLSTrackingAction()
WLSTrackingAction::WLSTrackingAction |
( |
| ) |
|
|
default |
◆ ~WLSTrackingAction()
WLSTrackingAction::~WLSTrackingAction |
( |
| ) |
|
|
overridedefault |
◆ PreUserTrackingAction()
void WLSTrackingAction::PreUserTrackingAction |
( |
const G4Track * |
aTrack | ) |
|
|
override |
Definition at line 42 of file WLSTrackingAction.cc.
43{
44
45
46
47
49
51
52 if(aTrack->GetMomentumDirection().z() > 0.0)
53 {
54 trackInformation->AddStatusFlag(
right);
55 }
56 else
57 {
58 trackInformation->AddStatusFlag(
left);
59 }
60
61 G4String PVName = aTrack->GetVolume()->GetName();
62
63 if(PVName == "WLSFiber" || PVName == "Clad1" || PVName == "Clad2")
65
66 fpTrackingManager->SetUserTrackInformation(trackInformation);
67}
The documentation for this class was generated from the following files: