Class RMGGermaniumDetector

Inheritance Relationships

Base Type

  • public G4VSensitiveDetector

Class Documentation

class RMGGermaniumDetector : public G4VSensitiveDetector

Public Functions

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

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

void EndOfEvent(G4HCofThisEvent *hit_coll) override
double DistanceToSurface(const G4VPhysicalVolume *pv, const G4ThreeVector &position)

Compute the distance from the point to the surface of the physical volume.

Checks distance to surfaces of mother volume.

Parameters:
  • pv – The physical volume to find the distance to.

  • position – The position to evaluate the distance for.

bool CheckStepPointContainment(const G4StepPoint *step_point)

Check if the step point is contained in a physical volume registered as a Germanium detector.

Parameters:

step_point – The step point (either post or pre step) to check.