 |
ATLAS Offline Software
|
Go to the documentation of this file.
6 #ifndef MUONTRACKEVENT_HITSUMMARY_H
7 #define MUONTRACKEVENT_HITSUMMARY_H
11 #include "Acts/Utilities/Helpers.hpp"
82 void print(std::ostream& ostr)
const;
85 (Acts::toUnderlying(LayerIndex::LayerIndexMax) -1)*
LayerIndex
enum to classify the different layers in the muon spectrometer
@ TriggerPhi
Trigger eta hits (Tgc, Rpc)
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)
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.
@ nCategories
Trigger phi hits (Tgc, Rpc)
friend std::ostream & operator<<(std::ostream &ostr, const HitSummary &sum)
Output string stream operator.
@ MaxValue
Expected hit but missing.
void print(std::ostream &ostr) const
Print the summary as an ASCII table.
HitCategory
Category of the hit.
static std::string toString(const HitCategory c)
Converts the hit category to a string.
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.
@ Hole
Added to the trajectory but rejected.
HitSummary()=default
Default constructor.
This header ties the generic definitions in this package.
@ Outlier
Added to the trajectory & contributing to the fit.
Status
Contribution to the track fit.
Summary struct to hold the hit counts on the track per MS layer.
@ TriggerEta
Precision hits (Mdt, NSW) on track.
bool isSmall(const ChIndex index)
Returns true if the chamber index is in a small sector.