![]() |
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 (std::int8_t sector) |
| Set the main sector of the pattern. | |
| void | setNPrecisionLayers (unsigned n) |
| Set the number of precision layers in the pattern. | |
| void | setNTriggerLayers (unsigned n) |
| Set the number of trigger layers in the pattern. | |
| void | setNPhiLayers (unsigned n) |
| Set the number of phi layers in the pattern. | |
| void | setMeanNormResidual2 (double res) |
| Set the mean over eta hits of the square of their residual divided by acceptance window 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. | |
| unsigned | sector () const |
| Return the main sector where the pattern is located. | |
| unsigned | secondarySector () const |
| Return the associated sector to the bucket. | |
| bool | isSectorOverlap () const |
| Return whether the pattern is located in the overlap region between two sectors. | |
| 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 | nPrecisionLayers () const |
| Return the number of precision layers in the pattern. | |
| unsigned | nTriggerLayers () const |
| Return the number of trigger layers in the pattern. | |
| unsigned | nPhiLayers () const |
| Return the number of phi layers in the pattern. | |
| double | meanNormResidual2 () const |
| Return the mean over eta hits of the square of their residual divided by acceptance window 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_nPrecisionLayers {0} |
| Number of precision layers. | |
| unsigned | m_nTriggerLayers {0} |
| Number of trigger layers. | |
| unsigned | m_nPhiLayers {0} |
| Number of phi layers. | |
| double | m_meanNormResidual2 {0.} |
| Mean over eta hits of the square of their residual divided by acceptance window from pattern finding. | |
| ExpandedSector | m_sector {static_cast<int8_t>(0)} |
| 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 15 of file GlobalPattern.h.
| using MuonR4::GlobalPattern::HitCollection = std::unordered_map<StIndex, std::vector<HitType>> |
Definition at line 19 of file GlobalPattern.h.
Definition at line 17 of file GlobalPattern.h.
Definition at line 18 of file GlobalPattern.h.
| MuonR4::GlobalPattern::GlobalPattern | ( | HitCollection && | hitPerStation | ) |
c-tor consuming the hit collection per station
Definition at line 15 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 18 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 26 of file GlobalPattern.cxx.
|
inline |
|
inline |
Return whether the pattern is located in the overlap region between two sectors.
Definition at line 52 of file GlobalPattern.h.
|
inline |
Return the mean over eta hits of the square of their residual divided by acceptance window from pattern finding.
Definition at line 66 of file GlobalPattern.h.
|
inline |
Return the number of phi layers in the pattern.
Definition at line 64 of file GlobalPattern.h.
|
inline |
Return the number of precision layers in the pattern.
Definition at line 60 of file GlobalPattern.h.
|
inline |
Return the number of trigger layers in the pattern.
Definition at line 62 of file GlobalPattern.h.
|
inline |
|
inline |
Return the average global phi of the pattern.
Definition at line 46 of file GlobalPattern.h.
|
private |
Definition at line 40 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 35 of file GlobalPattern.cxx.
|
inline |
Set the mean over eta hits of the square of their residual divided by acceptance window from pattern finding.
Definition at line 40 of file GlobalPattern.h.
|
inline |
|
inline |
|
inline |
|
inline |
Set the average phi of the pattern.
Definition at line 30 of file GlobalPattern.h.
|
inline |
Set the main sector of the pattern.
Definition at line 32 of file GlobalPattern.h.
|
inline |
Set the average theta of the pattern.
Definition at line 28 of file GlobalPattern.h.
|
inline |
|
friend |
The print-out operator.
Definition at line 71 of file GlobalPattern.h.
|
private |
|
private |
Mean over eta hits of the square of their residual divided by acceptance window from pattern finding.
Definition at line 94 of file GlobalPattern.h.
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 97 of file GlobalPattern.h.
|
private |