![]() |
ATLAS Offline Software
|
#include <MuPatHit.h>
Classes | |
| struct | Info |
Public Types | |
| enum | Type { UnknownType = -1 , MDT = 0 , RPC = 1 , TGC = 2 , CSC = 3 , MM = 4 , sTGC = 5 , PREC = 6 , Pseudo = 7 , Scatterer = 8 } |
| enum | Status { UnknownStatus = -1 , OnTrack = 0 , Outlier , NotOnTrack } |
| enum | HitSelection { UnknownSelection = -1 , Precise = 0 , Broad = 1 } |
Public Member Functions | |
| MuPatHit (std::shared_ptr< const Trk::TrackParameters > pars, std::shared_ptr< const Trk::MeasurementBase > presMeas, std::shared_ptr< const Trk::MeasurementBase > broadMeas, const Info &info) | |
| construction taking all members as argument, ownership is taken only of the broadMeas. | |
| MuPatHit (const MuPatHit &hit) | |
| copy constructor | |
| MuPatHit & | operator= (const MuPatHit &) |
| assignment operator | |
| virtual | ~MuPatHit ()=default |
| destructor | |
| const Trk::TrackParameters & | parameters () const |
| returns a reference to the TrackParameters | |
| const Trk::MeasurementBase & | measurement () const |
| returns a reference to the selected measurement | |
| const Info & | info () const |
| returns a reference to the hit info | |
| Info & | info () |
| returns a reference to the hit info | |
| std::unique_ptr< MuPatHit > | clone () const |
| clones the MuPatHit | |
| const Trk::MeasurementBase & | preciseMeasurement () const |
| returns precise measurement | |
| const Trk::MeasurementBase & | broadMeasurement () const |
| returns broad measurement | |
| void | setResidual (double residual, double pull) |
| double | residual () const |
| returns the residual of the measurement | |
| double | pull () const |
| returns the pull of the measurement | |
Static Public Member Functions | |
| static unsigned int | maxNumberOfInstantiations () |
| maximum number of objects of this type in memory | |
| static unsigned int | numberOfInstantiations () |
| current number of objects of this type in memory | |
| static unsigned int | numberOfCopies () |
| number of times the copy constructor was called since last reset | |
Static Public Attributes | |
| static std::atomic_size_t | s_numberOfInstantiations |
Private Member Functions | |
| void | copy (const MuPatHit &hit) |
| copy hit | |
Private Attributes | |
| std::shared_ptr< const Trk::TrackParameters > | m_pars {} |
| std::shared_ptr< const Trk::MeasurementBase > | m_precisionMeas {} |
| std::shared_ptr< const Trk::MeasurementBase > | m_broadMeas |
| Info | m_info {} |
| double | m_residual {0.} |
| double | m_pull {0.} |
Definition at line 30 of file MuPatHit.h.
| enum Muon::MuPatHit::Type |
| Muon::MuPatHit::MuPatHit | ( | std::shared_ptr< const Trk::TrackParameters > | pars, |
| std::shared_ptr< const Trk::MeasurementBase > | presMeas, | ||
| std::shared_ptr< const Trk::MeasurementBase > | broadMeas, | ||
| const Info & | info ) |
construction taking all members as argument, ownership is taken only of the broadMeas.
| pars | predicted TrackParameters at the surface of the measurement |
| presMeas | precisely calibrated measurement |
| broadMeas | measurement with enlarged errors |
| presResPull | residual and pull of the hit for the precise measurement |
| broadResPull | residual and pull of the hit for the broad measurement |
| id | Hit Identifier (can be invalid (Pseudos), user should check validity) |
| type | Hit type enum |
| measuresPhi | boolean indicating whether this is an eta or phi measurement |
| used | enum indicating the hit status |
Definition at line 17 of file MuPatHit.cxx.
| Muon::MuPatHit::MuPatHit | ( | const MuPatHit & | hit | ) |
copy constructor
Definition at line 24 of file MuPatHit.cxx.
|
virtualdefault |
destructor
| const Trk::MeasurementBase & Muon::MuPatHit::broadMeasurement | ( | ) | const |
|
inline |
clones the MuPatHit
Definition at line 98 of file MuPatHit.h.
| MuPatHit::Info & Muon::MuPatHit::info | ( | ) |
| const MuPatHit::Info & Muon::MuPatHit::info | ( | ) | const |
|
static |
maximum number of objects of this type in memory
| const Trk::MeasurementBase & Muon::MuPatHit::measurement | ( | ) | const |
returns a reference to the selected measurement
Definition at line 45 of file MuPatHit.cxx.
|
static |
number of times the copy constructor was called since last reset
|
static |
current number of objects of this type in memory
assignment operator
Definition at line 29 of file MuPatHit.cxx.
| const Trk::TrackParameters & Muon::MuPatHit::parameters | ( | ) | const |
| const Trk::MeasurementBase & Muon::MuPatHit::preciseMeasurement | ( | ) | const |
| double Muon::MuPatHit::pull | ( | ) | const |
| double Muon::MuPatHit::residual | ( | ) | const |
| void Muon::MuPatHit::setResidual | ( | double | residual, |
| double | pull ) |
Definition at line 55 of file MuPatHit.cxx.
|
private |
Definition at line 129 of file MuPatHit.h.
|
private |
Definition at line 130 of file MuPatHit.h.
|
private |
Definition at line 127 of file MuPatHit.h.
|
private |
Definition at line 128 of file MuPatHit.h.
|
private |
Definition at line 132 of file MuPatHit.h.
|
private |
Definition at line 131 of file MuPatHit.h.
|
inlinestaticinherited |
Definition at line 22 of file TrkObjectCounter.h.