Class RMGScintillatorDetector

Inheritance Relationships

Base Type

  • public G4VSensitiveDetector

Class Documentation

class RMGScintillatorDetector : public G4VSensitiveDetector

Sensitive detector producing RMGDetectorHit instances for scintillator volumes.

Hits are emitted at every step depositing energy in a logical volume registered as scintillator with RMGHardware, and are persisted by RMGScintillatorOutputScheme.

Public Functions

RMGScintillatorDetector()
~RMGScintillatorDetector() = default
RMGScintillatorDetector(RMGScintillatorDetector const&) = delete
RMGScintillatorDetector &operator=(RMGScintillatorDetector const&) = delete
RMGScintillatorDetector(RMGScintillatorDetector&&) = delete
RMGScintillatorDetector &operator=(RMGScintillatorDetector&&) = delete
void Initialize(G4HCofThisEvent *hit_coll) override

Allocate and register the hit collection for the current event.

bool ProcessHits(G4Step *step, G4TouchableHistory *history) override

Build an RMGDetectorHit from step and add it to the hits collection.

void EndOfEvent(G4HCofThisEvent *hit_coll) override