aegir
Phlex-based simulation framework for the SHiP experiment.
Loading...
Searching...
No Matches
Public Attributes | List of all members
SHiP::g4::ScoringPlaneConfig Struct Reference

One scoring plane, as configured in the geant4 module's scoring_planes. More...

#include <scoring_planes.hpp>

Public Attributes

std::string name
 Volume name; must not exist in the geometry yet.
 
std::int32_t id = 0
 Written to SimHit::geometryNodeId; unique.
 
ScoringShape shape = ScoringShape::box
 
ship::Length half_x = ship::Length::zero()
 box only
 
ship::Length half_y = ship::Length::zero()
 box only
 
ship::Length r_min = ship::Length::zero()
 tube only
 
ship::Length r_max = ship::Length::zero()
 tube only
 
ship::Length half_z = ship::Length::zero()
 both shapes
 
std::optional< ship::Vec3< ship::Length > > position
 
std::string after_volume
 
ship::Length gap = ship::Length::zero()
 
ship::Energy ke_threshold = ship::Energy::zero()
 Record only tracks entering with at least this kinetic energy.
 
bool kill = false
 Stop and kill every track that steps into the plane, recorded or not (FairShip's StopTrack()).
 

Detailed Description

One scoring plane, as configured in the geant4 module's scoring_planes.

Both shapes are aligned with the global axes; a tube's axis is along z.

Member Data Documentation

◆ after_volume

std::string SHiP::g4::ScoringPlaneConfig::after_volume

◆ gap

ship::Length SHiP::g4::ScoringPlaneConfig::gap = ship::Length::zero()

◆ half_x

ship::Length SHiP::g4::ScoringPlaneConfig::half_x = ship::Length::zero()

box only

◆ half_y

ship::Length SHiP::g4::ScoringPlaneConfig::half_y = ship::Length::zero()

box only

◆ half_z

ship::Length SHiP::g4::ScoringPlaneConfig::half_z = ship::Length::zero()

both shapes

◆ id

std::int32_t SHiP::g4::ScoringPlaneConfig::id = 0

Written to SimHit::geometryNodeId; unique.

◆ ke_threshold

ship::Energy SHiP::g4::ScoringPlaneConfig::ke_threshold = ship::Energy::zero()

Record only tracks entering with at least this kinetic energy.

◆ kill

bool SHiP::g4::ScoringPlaneConfig::kill = false

Stop and kill every track that steps into the plane, recorded or not (FairShip's StopTrack()).

◆ name

std::string SHiP::g4::ScoringPlaneConfig::name

Volume name; must not exist in the geometry yet.

◆ position

std::optional<ship::Vec3<ship::Length> > SHiP::g4::ScoringPlaneConfig::position

◆ r_max

ship::Length SHiP::g4::ScoringPlaneConfig::r_max = ship::Length::zero()

tube only

◆ r_min

ship::Length SHiP::g4::ScoringPlaneConfig::r_min = ship::Length::zero()

tube only

◆ shape

ScoringShape SHiP::g4::ScoringPlaneConfig::shape = ScoringShape::box

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