![]() |
LArSoft
v10_06_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "OpDetSensitiveDetector.h"
Public Member Functions | |
| OpDetSensitiveDetector (G4String name, bool useLitePhotons=false) | |
| virtual | ~OpDetSensitiveDetector () |
| virtual void | Initialize (G4HCofThisEvent *) |
| virtual void | EndOfEvent (G4HCofThisEvent *) |
| virtual void | clear () |
| virtual G4bool | ProcessHits (G4Step *, G4TouchableHistory *) |
| virtual void | DrawAll () |
| virtual void | PrintAll () |
Private Member Functions | |
| void | AddPhoton (G4Step const *aStep, int OpDet) |
| Adds the photon at the specified step with full information. More... | |
| void | AddLitePhoton (G4Step const *aStep, int OpDet) |
| Adds the photon at the specified step with reduced information. More... | |
Private Attributes | |
| bool const | fUseLitePhotons |
| Fill simplified lite photons instead of full information photons. More... | |
| OpDetLookup * | fTheOpDetLookup |
| OpDetPhotonTable * | fThePhotonTable |
Definition at line 36 of file OpDetSensitiveDetector.h.
| larg4::OpDetSensitiveDetector::OpDetSensitiveDetector | ( | G4String | name, |
| bool | useLitePhotons = false |
||
| ) |
Definition at line 28 of file OpDetSensitiveDetector.cxx.
References fTheOpDetLookup, fThePhotonTable, larg4::OpDetLookup::Instance(), and larg4::OpDetPhotonTable::Instance().
|
inlinevirtual |
|
private |
Adds the photon at the specified step with reduced information.
Definition at line 42 of file OpDetSensitiveDetector.cxx.
References larg4::OpDetPhotonTable::AddLitePhoton(), energy, and fThePhotonTable.
Referenced by ProcessHits().
|
private |
Adds the photon at the specified step with full information.
Definition at line 58 of file OpDetSensitiveDetector.cxx.
References larg4::OpDetPhotonTable::AddPhoton(), sim::OnePhoton::Energy, sim::OnePhoton::FinalLocalPosition, fThePhotonTable, sim::OnePhoton::InitialPosition, sim::OnePhoton::SetInSD, sim::OnePhoton::Time, and track.
Referenced by ProcessHits().
|
inlinevirtual |
|
inlinevirtual |
Definition at line 53 of file OpDetSensitiveDetector.h.
|
inlinevirtual |
Definition at line 44 of file OpDetSensitiveDetector.h.
|
virtual |
Definition at line 112 of file OpDetSensitiveDetector.cxx.
References energy.
Referenced by ~OpDetSensitiveDetector().
|
inlinevirtual |
Definition at line 54 of file OpDetSensitiveDetector.h.
|
virtual |
Definition at line 93 of file OpDetSensitiveDetector.cxx.
References AddLitePhoton(), AddPhoton(), fTheOpDetLookup, fUseLitePhotons, and larg4::OpDetLookup::GetOpDet().
Referenced by clear().
|
private |
Definition at line 60 of file OpDetSensitiveDetector.h.
Referenced by OpDetSensitiveDetector(), and ProcessHits().
|
private |
Definition at line 61 of file OpDetSensitiveDetector.h.
Referenced by AddLitePhoton(), AddPhoton(), and OpDetSensitiveDetector().
|
private |
Fill simplified lite photons instead of full information photons.
Definition at line 58 of file OpDetSensitiveDetector.h.
Referenced by ProcessHits().