14 std::vector<StIndex> out{};
17 [](
const auto&
pair){
return pair.first;});
26 static const std::vector<HitType>
empty{};
39 ostr<<
", Hit per station: \n";
41 ostr<<
" Station "<<
stName(station)<<
": "<<hits.size()<<
" hits\n";
42 for (
const auto& hit : hits) {
43 ostr<<
" "<<*hit<<
"\n";
static const Attributes_t empty
unsigned nPhiHits() const
Return the number of phi hits in the pattern.
std::unordered_map< StIndex, std::vector< HitType > > HitCollection
Muon::MuonStationIndex::StIndex StIndex
std::vector< StIndex > getStations() const
Return the associated stations to the pattern.
int secondarySector() const
Return the associated sector to the bucket.
unsigned nPrecisionHits() const
Return the number of precision hits in the pattern.
bool isSectorOverlap() const
Return whether the pattern is located in the overlap region between two sectors.
void print(std::ostream &ostr) const
double sectorPhi() const
Return the sector phi of the pattern. It is the central phi of the sector or the the value at the edg...
double theta() const
Return the average global theta of the pattern.
unsigned nEtaNonPrecisionHits() const
Return the number of eta non-precision hits in the pattern.
double totalNormalizedResidual() const
Return the total normalized residual of the pattern from pattern finding.
const std::vector< HitType > & hitsInStation(StIndex station) const
Return the pattern hits in the given station.
double totalResidual() const
Return the total residual of the pattern from pattern finding.
const HitCollection m_hitsInStation
Hits of the pattern organized per station.
int sector() const
Return the main sector where the pattern is located.
double sectorOverlapPhi(int sector1, int sector2) const
returns the phi position of the overlap between the two sectors (which have to be neighboring) in rad...
This header ties the generic definitions in this package.
const std::string & stName(StIndex index)
convert StIndex into a string