gtouchable
Loading...
Searching...
No Matches
gtouchable Namespace Reference

Functions

const char * to_string (GTouchableType t)
 Converts a GTouchableType value to a stable string for logging.
GOptions defineOptions ()
 Defines the module options supported by gtouchable.

Variables

constexpr char FLUXNAME [] = "flux"
 Digitization type name for flux-like detectors.
constexpr char GPHOTON_DETECTORNAME [] = "gPhotonDetector"
 Digitization type name for optical-photon flux detectors.
constexpr char COUNTERNAME [] = "particle_counter"
 Digitization type name for simple particle counters.
constexpr char DOSIMETERNAME [] = "dosimeter"
 Digitization type name for dosimeters.
constexpr char INTEGRAL_COUNTERNAME [] = "integral_counter"
 Digitization type name for integral_counter.

Function Documentation

◆ defineOptions()

GOptions gtouchable::defineOptions ( )

The returned options set is used to configure logging and any module-level behavior that may be introduced in the future.

Returns
A GOptions object describing the supported options for this module.

Definition at line 8 of file gtouchable_options.cc.

◆ to_string()

const char * gtouchable::to_string ( GTouchableType t)
inline

The returned strings match the digitization type constants where applicable:

Parameters
tThe touchable type.
Returns
A C-string suitable for log messages.

Definition at line 58 of file gtouchable.h.

Variable Documentation

◆ COUNTERNAME

char gtouchable::COUNTERNAME[] = "particle_counter"
inlineconstexpr

Particle-counter use the particle id as the discriminating factor (in addition to the identity vector). They also typically rely on standard "true infos" variables provided by the simulation.

Definition at line 36 of file gtouchableConventions.h.

◆ DOSIMETERNAME

char gtouchable::DOSIMETERNAME[] = "dosimeter"
inlineconstexpr

Dosimeter requires no additional discriminator beyond the identity vector. Meant to accumulate dose.

Definition at line 43 of file gtouchableConventions.h.

◆ FLUXNAME

char gtouchable::FLUXNAME[] = "flux"
inlineconstexpr

Flux touchables use the track id as the discriminating factor (in addition to the identity vector). They also typically rely on standard "true infos" variables provided by the simulation.

Definition at line 20 of file gtouchableConventions.h.

◆ GPHOTON_DETECTORNAME

char gtouchable::GPHOTON_DETECTORNAME[] = "gPhotonDetector"
inlineconstexpr

gPhotonDetector touchables use the track id as the discriminating factor, like flux, but the digitization routine records only optical photons.

Definition at line 28 of file gtouchableConventions.h.

◆ INTEGRAL_COUNTERNAME

char gtouchable::INTEGRAL_COUNTERNAME[] = "integral_counter"
inlineconstexpr

integral_counter requires no additional discriminator beyond the identity vector. It is meant to accumulate all quantities within a sensitive cell

Definition at line 51 of file gtouchableConventions.h.