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 INTEGRAL_COUNTERNAME   "integral_counter"
 Digitization type name for integral_counter.
 
#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 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 27 of file gtouchableConventions.h.

◆ DOSIMETERNAME

#define DOSIMETERNAME   "dosimeter"

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

Definition at line 34 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 53 of file gtouchableConventions.h.

◆ INTEGRAL_COUNTERNAME

#define INTEGRAL_COUNTERNAME   "integral_counter"

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

Definition at line 42 of file gtouchableConventions.h.