6#ifndef MUONTRACKEVENT_HITSUMMARY_H
7#define MUONTRACKEVENT_HITSUMMARY_H
11#include "Acts/Utilities/Helpers.hpp"
83 void print(std::ostream& ostr)
const;
86 (Acts::toUnderlying(LayerIndex::LayerIndexMax) -1)*
87 Acts::toUnderlying(Status::MaxValue) * 2>;
This header ties the generic definitions in this package.
MuonR4::HitSummary::Status Status
bool isSmall(const ChIndex index)
Returns true if the chamber index is in a small sector.
LayerIndex
enum to classify the different layers in the muon spectrometer
void print(std::ostream &ostr) const
Print the summary as an ASCII table.
Muon::MuonStationIndex::LayerIndex LayerIndex
Abrivation of the layer index.
friend std::ostream & operator<<(std::ostream &ostr, const HitSummary &sum)
Output string stream operator.
std::array< value_type, Acts::toUnderlying(HitCategory::nCategories) *(Acts::toUnderlying(LayerIndex::LayerIndexMax) -1) * Acts::toUnderlying(Status::MaxValue) *2 > Counter_t
Abrivation to store the hits per layer.
unsigned translate(const HitCategory cat, const Status status, LayerIndex layer, const bool isSmall) const
Translates the 4 classification indices to a unique consecutive number (used for storage access)
static std::string toString(const HitCategory c)
Converts the hit category to a string.
HitCategory
Category of the hit.
@ nCategories
Trigger phi hits (Tgc, Rpc)
@ TriggerPhi
Trigger eta hits (Tgc, Rpc)
@ TriggerEta
Precision hits (Mdt, NSW) on track.
HitSummary()=default
Default constructor.
Status
Contribution to the track fit.
@ Hole
Added to the trajectory but rejected.
@ Outlier
Added to the trajectory & contributing to the fit.
@ MaxValue
Expected hit but missing.
value_type value(const HitCategory cat, const Status status, const LayerIndex layer, const bool isSmall) const
Returns the value type for a defined hit category & layer.