gtouchable
Loading...
Searching...
No Matches
gtouchable.h File Reference
#include "gbase.h"
#include <vector>
#include <string>
#include <memory>
#include "gtouchable_options.h"
#include "gtouchableConventions.h"
Include dependency graph for gtouchable.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  GIdentifier
 A single (name,value) identifier element used to build a touchable identity vector. More...
 
class  GTouchable
 Represents a touchable sensitive detector element used as a hit-collection discriminator. More...
 

Namespaces

namespace  gtouchable
 

Enumerations

enum  GTouchableType { readout , flux , particleCounter , dosimeter }
 Enumeration representing the type of a touchable sensitive element. More...
 

Functions

const char * gtouchable::to_string (GTouchableType t)
 Converts a GTouchableType value to a stable string for logging.
 

Enumeration Type Documentation

◆ GTouchableType

The type determines the secondary discriminating rule used after the identity vector:

  • readout uses the electronics time-cell index.
  • flux and dosimeter use the track id.
  • particleCounter requires no additional discriminator beyond the identity vector.

The mapping from a digitization string to a GTouchableType is implemented in the GTouchable constructors, using the constants FLUXNAME, COUNTERNAME, and DOSIMETERNAME.

Enumerator
readout 

Electronic readout with time-window discrimination (time-cell index).

flux 

Flux-like discrimination using track id.

particleCounter 

Identity vector only; no additional discriminating factor.

dosimeter 

Radiation digitization; discrimination using track id.

Definition at line 33 of file gtouchable.h.