#include <MuPatHit.h>
|
| 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
} |
Definition at line 30 of file MuPatHit.h.
◆ HitSelection
| Enumerator |
|---|
| UnknownSelection | |
| Precise | |
| Broad | |
Definition at line 34 of file MuPatHit.h.
◆ Status
| Enumerator |
|---|
| UnknownStatus | |
| OnTrack | |
| Outlier | |
| NotOnTrack | |
Definition at line 33 of file MuPatHit.h.
◆ Type
| Enumerator |
|---|
| UnknownType | |
| MDT | |
| RPC | |
| TGC | |
| CSC | |
| MM | |
| sTGC | |
| PREC | |
| Pseudo | |
| Scatterer | |
Definition at line 32 of file MuPatHit.h.
◆ MuPatHit() [1/2]
construction taking all members as argument, ownership is taken only of the broadMeas.
- Parameters
-
| 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.
18 :
19 Trk::ObjectCounter<MuPatHit>{},
21
22 }
std::shared_ptr< const Trk::TrackParameters > m_pars
std::shared_ptr< const Trk::MeasurementBase > m_broadMeas
std::shared_ptr< const Trk::MeasurementBase > m_precisionMeas
const Info & info() const
returns a reference to the hit info
◆ MuPatHit() [2/2]
| Muon::MuPatHit::MuPatHit |
( |
const MuPatHit & | hit | ) |
|
copy constructor
Definition at line 24 of file MuPatHit.cxx.
24 :
25 Trk::ObjectCounter<MuPatHit>(hit) {
27 }
void copy(const MuPatHit &hit)
copy hit
◆ ~MuPatHit()
| virtual Muon::MuPatHit::~MuPatHit |
( |
| ) |
|
|
virtualdefault |
◆ broadMeasurement()
◆ clone()
| std::unique_ptr< MuPatHit > Muon::MuPatHit::clone |
( |
| ) |
const |
|
inline |
clones the MuPatHit
Definition at line 98 of file MuPatHit.h.
98{ return std::make_unique<MuPatHit>(*this); }
◆ copy()
| void Muon::MuPatHit::copy |
( |
const MuPatHit & | hit | ) |
|
|
private |
◆ info() [1/2]
returns a reference to the hit info
Definition at line 52 of file MuPatHit.cxx.
◆ info() [2/2]
returns a reference to the hit info
Definition at line 51 of file MuPatHit.cxx.
◆ maxNumberOfInstantiations()
| unsigned int Muon::MuPatHit::maxNumberOfInstantiations |
( |
| ) |
|
|
static |
maximum number of objects of this type in memory
◆ measurement()
returns a reference to the selected measurement
Definition at line 45 of file MuPatHit.cxx.
45 {
48 }
const std::string selection
◆ numberOfCopies()
| unsigned int Muon::MuPatHit::numberOfCopies |
( |
| ) |
|
|
static |
number of times the copy constructor was called since last reset
◆ numberOfInstantiations()
| unsigned int Muon::MuPatHit::numberOfInstantiations |
( |
| ) |
|
|
static |
current number of objects of this type in memory
◆ operator=()
assignment operator
Definition at line 29 of file MuPatHit.cxx.
29 {
30 if (&hit != this) {
32 }
33 return *this;
34 }
◆ parameters()
returns a reference to the TrackParameters
Definition at line 43 of file MuPatHit.cxx.
◆ preciseMeasurement()
returns precise measurement
Definition at line 49 of file MuPatHit.cxx.
◆ pull()
| double Muon::MuPatHit::pull |
( |
| ) |
const |
returns the pull of the measurement
Definition at line 54 of file MuPatHit.cxx.
◆ residual()
| double Muon::MuPatHit::residual |
( |
| ) |
const |
returns the residual of the measurement
Definition at line 53 of file MuPatHit.cxx.
◆ setResidual()
| void Muon::MuPatHit::setResidual |
( |
double | residual, |
|
|
double | pull ) |
Definition at line 55 of file MuPatHit.cxx.
55 {
58 }
double residual() const
returns the residual of the measurement
double pull() const
returns the pull of the measurement
◆ m_broadMeas
◆ m_info
| Info Muon::MuPatHit::m_info {} |
|
private |
◆ m_pars
◆ m_precisionMeas
◆ m_pull
| double Muon::MuPatHit::m_pull {0.} |
|
private |
◆ m_residual
| double Muon::MuPatHit::m_residual {0.} |
|
private |
◆ s_numberOfInstantiations
The documentation for this class was generated from the following files: