95 throw std::domain_error(
"FPGATrackSimHit::getSection() called on a hit with invalid type");
177 default:
return "undefined";
std::string to_string(HitType t)
std::ostream & operator<<(std::ostream &out, const FPGATrackSimHit &hit)
: FPGATrackSim-specific class to represent an hit in the detector.
void makeSpacepoint(float x, float y, float z, float window, FPGATrackSimHit &other, FPGATrackSimMultiTruth &new_truth)
unsigned m_pairedPhysLayer
DetectorZone m_pairedDetZone
SiliconTech m_pairedDetType
unsigned m_pairedPhiModule
float getPhiCoord() const
unsigned m_layer_disk_old
void setHitType(HitType type)
int getEtaModule(bool old=false) const
unsigned getPhiModule() const
FPGATrackSimHit()=default
unsigned getPhysLayer(bool old=false) const
void setPhysLayer(unsigned v)
DetectorZone m_detectorZone
const FPGATrackSimHit getOriginalHit() const
SiliconTech getDetType() const
float getEtaCoord() const
DetectorZone getDetectorZone() const
unsigned getSection() const
void setTruth(const FPGATrackSimMultiTruth &v)
HitType getHitType() const