21 #ifndef OpDetSensitiveDetector_h
22 #define OpDetSensitiveDetector_h 1
24 #include "Geant4/G4String.hh"
25 #include "Geant4/G4Types.hh"
26 #include "Geant4/G4VSensitiveDetector.hh"
27 class G4HCofThisEvent;
29 class G4TouchableHistory;
34 class OpDetPhotonTable;
54 virtual G4bool
ProcessHits(G4Step*, G4TouchableHistory*);
74 void AddPhoton(G4Step
const* aStep,
int OpDet);
bool const fUseLitePhotons
Fill simplified lite photons instead of full information photons.
virtual void EndOfEvent(G4HCofThisEvent *)
void AddLitePhoton(G4Step const *aStep, int OpDet)
Adds the photon at the specified step with reduced information.
void AddPhoton(G4Step const *aStep, int OpDet)
Adds the photon at the specified step with full information.
virtual ~OpDetSensitiveDetector()
OpDetLookup * fTheOpDetLookup
OpDetPhotonTable * fThePhotonTable
virtual void Initialize(G4HCofThisEvent *)
OpDetSensitiveDetector(G4String name, bool useLitePhotons=false)
virtual G4bool ProcessHits(G4Step *, G4TouchableHistory *)