|
ghit
|
The ghit module provides a compact hit container (GHit) and supporting conventions (HitBitSet) for storing step-by-step and aggregated information from detector simulations.
A GHit records always-present per-step information:
It can also record optional per-step information controlled by HitBitSet (see ghitConventions.h : bit meanings and reserved future extensions).
GHit : hit container that accumulates per-step vectors and provides lazy derived quantities.HitBitSet : fixed-size bitset selecting optional hit information groups.The module ships with an example program:
GTouchable, creates a GHit, generates randomized test hits, and compares them using GHit::is_same_hit().Author: © Maurizio Ungaro
e-mail: ungar.nosp@m.o@jl.nosp@m.ab.or.nosp@m.g
glogger. Logging in the provided example is performed using GLogger.