gtouchable
Loading...
Searching...
No Matches
gtouchableConventions.h File Reference

Conventions and constants used by the gtouchable module. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define FLUXNAME   "flux"
 Digitization type name for flux-like detectors.
 
#define COUNTERNAME   "particle_counter"
 Digitization type name for simple particle counters.
 
#define DOSIMETERNAME   "dosimeter"
 Digitization type name for dosimeters.
 
#define GTOUCHABLEUNSETTIMEINDEX   -1
 Sentinel value for an unset electronics time-cell index.
 

Detailed Description

This header centralizes:

  • The digitization type strings used to classify a touchable.
  • A sentinel value used for the readout time-cell index when it is not yet assigned.

Definition in file gtouchableConventions.h.

Macro Definition Documentation

◆ COUNTERNAME

#define COUNTERNAME   "particle_counter"

Particle-counter touchables require no additional discriminating factor beyond the identity vector. They also typically rely on standard "true infos" variables provided by the simulation.

Definition at line 27 of file gtouchableConventions.h.

◆ DOSIMETERNAME

#define DOSIMETERNAME   "dosimeter"

Dosimeter touchables use the track id as the discriminating factor (in addition to the identity vector), and are typically associated with radiation digitization.

Definition at line 35 of file gtouchableConventions.h.

◆ FLUXNAME

#define FLUXNAME   "flux"

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 19 of file gtouchableConventions.h.

◆ GTOUCHABLEUNSETTIMEINDEX

#define GTOUCHABLEUNSETTIMEINDEX   -1

For readout touchables, the electronics time-cell index is used to decide whether two hits belong to the same time window. Until the digitization plugin assigns a valid time-cell index, this value is used to mark the index as "not set".

Definition at line 44 of file gtouchableConventions.h.