Class RMGCalorimeterDetector

Inheritance Relationships

Base Type

  • public G4VSensitiveDetector

Class Documentation

class RMGCalorimeterDetector : public G4VSensitiveDetector

Class to describe the calorimeter detector, mainly handles processing of the detected hits. Extends G4VSensitiveDetector.

Public Functions

RMGCalorimeterDetector()
~RMGCalorimeterDetector() = default
RMGCalorimeterDetector(RMGCalorimeterDetector const&) = delete
RMGCalorimeterDetector &operator=(RMGCalorimeterDetector const&) = delete
RMGCalorimeterDetector(RMGCalorimeterDetector&&) = delete
RMGCalorimeterDetector &operator=(RMGCalorimeterDetector&&) = delete
void Initialize(G4HCofThisEvent *hit_coll) override
bool ProcessHits(G4Step *step, G4TouchableHistory *history) override

Process the detected hits computing the various parameters of a RMGDetectorHit and then adding this to the hit collection.

void EndOfEvent(G4HCofThisEvent *hit_coll) override