![]() |
ATLAS Offline Software
|
Data class to represent an eta maximum in hough space. More...
#include <GlobalPattern.h>
Public Types | |
| using | HitType = const SpacePoint* |
| using | StIndex = Muon::MuonStationIndex::StIndex |
| using | HitCollection = std::unordered_map<StIndex, std::vector<HitType>> |
Public Member Functions | |
| GlobalPattern (HitCollection &&hitPerStation) | |
| c-tor consuming the hit collection per station | |
| GlobalPattern ()=delete | |
| GlobalPattern (const GlobalPattern &other)=default | |
| Copy c-tor. | |
| void | setTheta (double theta) |
| Set the average theta of the pattern. | |
| void | setPhi (double phi) |
| Set the average phi of the pattern. | |
| void | setSector (int sector) |
| Set the main sector of the pattern. | |
| void | setSecondarySector (int sector) |
| Set the associated sector to the bucket in case of overlap. | |
| void | setNPrecisionHits (unsigned n) |
| Set the number of precision hits in the pattern. | |
| void | setNEtaNonPrecisionHits (unsigned n) |
| Set the number of eta non-precision hits in the pattern. | |
| void | setNPhiHits (unsigned n) |
| Set the number of phi hits in the pattern. | |
| void | setTotalResidual (double res) |
| Total residual of the pattern from pattern finding. | |
| void | setTotalNormalizedResidual (double res) |
| Total normalized residual of the pattern from pattern finding. | |
| double | theta () const |
| Return the average global theta of the pattern. | |
| double | phi () const |
| Return the average global phi of the pattern. | |
| int | sector () const |
| Return the main sector where the pattern is located. | |
| bool | isSectorOverlap () const |
| Return whether the pattern is located in the overlap region between two sectors. | |
| int | secondarySector () const |
| Return the associated sector to the bucket. | |
| double | sectorPhi () const |
| Return the sector phi of the pattern. It is the central phi of the sector or the the value at the edge in case of overlap. | |
| std::vector< StIndex > | getStations () const |
| Return the associated stations to the pattern. | |
| const std::vector< HitType > & | hitsInStation (StIndex station) const |
| Return the pattern hits in the given station. | |
| unsigned | nPrecisionHits () const |
| Return the number of precision hits in the pattern. | |
| unsigned | nEtaNonPrecisionHits () const |
| Return the number of eta non-precision hits in the pattern. | |
| unsigned | nPhiHits () const |
| Return the number of phi hits in the pattern. | |
| double | totalResidual () const |
| Return the total residual of the pattern from pattern finding. | |
| double | totalNormalizedResidual () const |
| Return the total normalized residual of the pattern from pattern finding. | |
| const HitCollection & | hitsPerStation () const |
| Return the hits per station. | |
| bool | operator== (const GlobalPattern &other) const |
| Equality operator. | |
Private Member Functions | |
| void | print (std::ostream &ostr) const |
Private Attributes | |
| double | m_theta {0.} |
| average global theta of the pattern | |
| double | m_phi {0.} |
| average global phi of the pattern | |
| unsigned | m_nPrecisionHits {0} |
| Number of precision hits. | |
| unsigned | m_nEtaNonPrecisionHits {0} |
| Number of eta non-precision measurements. | |
| unsigned | m_nPhiHits {0} |
| Number of phi measurements. | |
| double | m_totalResidual {0.} |
| Total residual of the pattern from pattern finding. | |
| double | m_totalNormalizedResidual {0.} |
| Total residual normalized to the acceptance window of the pattern from pattern finding. | |
| int | m_sector1 {-1} |
| int | m_sector2 {-1} |
| const HitCollection | m_hitsInStation {} |
| Hits of the pattern organized per station. | |
Friends | |
| std::ostream & | operator<< (std::ostream &ostr, const GlobalPattern &gp) |
| The print-out operator. | |
Data class to represent an eta maximum in hough space.
Definition at line 14 of file GlobalPattern.h.
| using MuonR4::GlobalPattern::HitCollection = std::unordered_map<StIndex, std::vector<HitType>> |
Definition at line 18 of file GlobalPattern.h.
| using MuonR4::GlobalPattern::HitType = const SpacePoint* |
Definition at line 16 of file GlobalPattern.h.
Definition at line 17 of file GlobalPattern.h.
| MuonR4::GlobalPattern::GlobalPattern | ( | HitCollection && | hitPerStation | ) |
c-tor consuming the hit collection per station
Definition at line 10 of file GlobalPattern.cxx.
|
delete |
|
default |
Copy c-tor.
| std::vector< GlobalPattern::StIndex > MuonR4::GlobalPattern::getStations | ( | ) | const |
Return the associated stations to the pattern.
Definition at line 13 of file GlobalPattern.cxx.
| const std::vector< GlobalPattern::HitType > & MuonR4::GlobalPattern::hitsInStation | ( | StIndex | station | ) | const |
Return the pattern hits in the given station.
Definition at line 21 of file GlobalPattern.cxx.
|
inline |
|
inline |
Return whether the pattern is located in the overlap region between two sectors.
Definition at line 53 of file GlobalPattern.h.
|
inline |
Return the number of eta non-precision hits in the pattern.
Definition at line 65 of file GlobalPattern.h.
|
inline |
Return the number of phi hits in the pattern.
Definition at line 67 of file GlobalPattern.h.
|
inline |
Return the number of precision hits in the pattern.
Definition at line 63 of file GlobalPattern.h.
|
inline |
|
inline |
Return the average global phi of the pattern.
Definition at line 49 of file GlobalPattern.h.
|
private |
Definition at line 35 of file GlobalPattern.cxx.
|
inline |
|
inline |
| double MuonR4::GlobalPattern::sectorPhi | ( | ) | const |
Return the sector phi of the pattern. It is the central phi of the sector or the the value at the edge in case of overlap.
Definition at line 30 of file GlobalPattern.cxx.
|
inline |
Set the number of eta non-precision hits in the pattern.
Definition at line 37 of file GlobalPattern.h.
|
inline |
|
inline |
|
inline |
Set the average phi of the pattern.
Definition at line 29 of file GlobalPattern.h.
|
inline |
Set the associated sector to the bucket in case of overlap.
Definition at line 33 of file GlobalPattern.h.
|
inline |
Set the main sector of the pattern.
Definition at line 31 of file GlobalPattern.h.
|
inline |
Set the average theta of the pattern.
Definition at line 27 of file GlobalPattern.h.
|
inline |
Total normalized residual of the pattern from pattern finding.
Definition at line 43 of file GlobalPattern.h.
|
inline |
Total residual of the pattern from pattern finding.
Definition at line 41 of file GlobalPattern.h.
|
inline |
|
inline |
Return the total normalized residual of the pattern from pattern finding.
Definition at line 71 of file GlobalPattern.h.
|
inline |
Return the total residual of the pattern from pattern finding.
Definition at line 69 of file GlobalPattern.h.
|
friend |
The print-out operator.
Definition at line 76 of file GlobalPattern.h.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 104 of file GlobalPattern.h.
|
private |
Definition at line 105 of file GlobalPattern.h.
|
private |
|
private |
Total residual normalized to the acceptance window of the pattern from pattern finding.
Definition at line 101 of file GlobalPattern.h.
|
private |
Total residual of the pattern from pattern finding.
Definition at line 99 of file GlobalPattern.h.