![]() |
Project
|
Generic hit type for externally injected (CAD-derived) sensitive detectors. More...
#include "SimulationDataFormat/BaseHits.h"#include "CommonUtils/ShmAllocator.h"#include "Rtypes.h"#include "TVector3.h"#include <iosfwd>Go to the source code of this file.
Classes | |
| class | o2::ext::Hit |
Namespaces | |
| namespace | o2 |
| a couple of static helper functions to create timestamp values for CCDB queries or override obsolete objects | |
| namespace | o2::ext |
Generic hit type for externally injected (CAD-derived) sensitive detectors.
o2::ext::Hit is a deliberately rich, detector-agnostic hit. A single external hit type lets an arbitrary number of o2::ext::ExternalDetector instances (each tied to a different DetID) share one wire format, so that the o2-sim hit merger only ever has to know how to (de)serialize this one type, independently of how many external detectors are configured or what their sensitive action does.
It stores entrance and exit position, the momentum, energy and energy loss, the time, the track length in the volume, the PDG code and the MC status flags at entrance/exit, so that most information an external sensitive action might want to keep is available downstream.
Definition in file Hit.h.