aegir
Phlex-based simulation framework for the SHiP experiment.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SHiP::g4::ScoringPlaneSD Class Reference

Records one SimHit per track entering a scoring plane through its surface, regardless of particle type or energy deposit. More...

#include <scoring_planes.hpp>

Inheritance diagram for SHiP::g4::ScoringPlaneSD:
Inheritance graph
[legend]
Collaboration diagram for SHiP::g4::ScoringPlaneSD:
Collaboration graph
[legend]

Public Member Functions

 ScoringPlaneSD (G4String const &name, ScoringPlaneMap planes)
 
G4bool ProcessHits (G4Step *step, G4TouchableHistory *) override
 

Detailed Description

Records one SimHit per track entering a scoring plane through its surface, regardless of particle type or energy deposit.

detectorId is kScoringPlaneDetectorId, geometryNodeId the plane's id; position, momentum and time are taken at the entry point. Called by G4ParallelWorldProcess with the parallel-world step: its pre-step point carries the plane's touchable and, on entry, fGeomBoundary; position, momentum and time are the track's own.

Constructor & Destructor Documentation

◆ ScoringPlaneSD()

SHiP::g4::ScoringPlaneSD::ScoringPlaneSD ( G4String const &  name,
ScoringPlaneMap  planes 
)
inline

Member Function Documentation

◆ ProcessHits()

G4bool SHiP::g4::ScoringPlaneSD::ProcessHits ( G4Step *  step,
G4TouchableHistory *   
)
inlineoverride

The documentation for this class was generated from the following file: