![]() |
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>> |
| using | BucketCollection = std::unordered_map<StIndex, std::vector<const SpacePointBucket*>> |
Public Member Functions | |
| GlobalPattern (HitCollection &&hitPerStation, BucketCollection &&bucketPerStation) | |
| 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. | |
| const ExpandedSector & | expSector () const |
| Return the expanded sector of the pattern. | |
| 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. | |
| const std::vector< const SpacePointBucket * > & | bucketsInStation (StIndex station) const |
| Return the parent buckets of the pattern 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. | |
| const BucketCollection | m_parentBuckets {} |
| Collection of parent buckets. | |
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 16 of file GlobalPattern.h.
| using MuonR4::GlobalPattern::BucketCollection = std::unordered_map<StIndex, std::vector<const SpacePointBucket*>> |
Definition at line 21 of file GlobalPattern.h.
| using MuonR4::GlobalPattern::HitCollection = std::unordered_map<StIndex, std::vector<HitType>> |
Definition at line 20 of file GlobalPattern.h.
Definition at line 18 of file GlobalPattern.h.
Definition at line 19 of file GlobalPattern.h.
| MuonR4::GlobalPattern::GlobalPattern | ( | HitCollection && | hitPerStation, |
| BucketCollection && | bucketPerStation ) |
c-tor consuming the hit collection per station
Definition at line 15 of file GlobalPattern.cxx.
|
delete |
|
default |
Copy c-tor.
| const std::vector< const SpacePointBucket * > & MuonR4::GlobalPattern::bucketsInStation | ( | StIndex | station | ) | const |
Return the parent buckets of the pattern in the given station.
Definition at line 37 of file GlobalPattern.cxx.
|
inline |
| std::vector< GlobalPattern::StIndex > MuonR4::GlobalPattern::getStations | ( | ) | const |
Return the associated stations to the pattern.
Definition at line 20 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 28 of file GlobalPattern.cxx.
|
inline |
|
inline |
Return whether the pattern is located in the overlap region between two sectors.
Definition at line 55 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 73 of file GlobalPattern.h.
|
inline |
Return the number of phi layers in the pattern.
Definition at line 71 of file GlobalPattern.h.
|
inline |
Return the number of precision layers in the pattern.
Definition at line 67 of file GlobalPattern.h.
|
inline |
Return the number of trigger layers in the pattern.
Definition at line 69 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 51 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 46 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 43 of file GlobalPattern.h.
|
inline |
|
inline |
|
inline |
|
inline |
Set the average phi of the pattern.
Definition at line 33 of file GlobalPattern.h.
|
inline |
Set the main sector of the pattern.
Definition at line 35 of file GlobalPattern.h.
|
inline |
Set the average theta of the pattern.
Definition at line 31 of file GlobalPattern.h.
|
inline |
|
friend |
The print-out operator.
Definition at line 78 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 101 of file GlobalPattern.h.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 104 of file GlobalPattern.h.
|
private |