1#include "DetDescr/DetectorID.h"
8#include "DetDescr/SimSpecialID.h"
10#include "DetDescr/TrigScintID.h"
13 switch (
id.subdet()) {
14 case (ldmx::SD_TRACKER_TAGGER):
15 case (ldmx::SD_TRACKER_RECOIL):
17 case (ldmx::SD_TRIGGER_SCINT):
23 case (ldmx::SD_SIM_SPECIAL):
25 case (ldmx::EID_ECAL):
28 return s <<
"DetectorID(" <<
id.subdet() <<
":0x" << std::setfill(
'0')
29 << std::setw(2) << std::right << std::hex
30 << (
id.raw() & ldmx::DetectorID::SUBDETECTOR_PAYLOAD_MASK);
Class that serves as a parent for ECal detector IDs of various types.
Class that identifies a location in the Ecal readout chain.
Class that serves as a parent for HCal detector IDs of various types.
Class that defines a Tracker detector ID with a module number.
Defines a 32-bit packed ID for uniquely identifying hits and detector components.
Parent of precision and trigger EcalIDs.
Identifies a location in the Ecal readout chain.
Implements detector ids for special simulation-derived hits like scoring planes.
Extension of DetectorID providing access to layer and module number for tracker IDs.
Class that defines the detector ID of the trigger scintillator.