ATLAS Offline Software
|
Encapsulates the information required by the find() method of the muon segment makers. More...
#include <TrackRoad.h>
Public Types | |
enum | TrackRoadTypes { Unknown = 0, RPCTGC = 1, MDT = 2, IDSeeded = 3 } |
TrackRoad Types. More... | |
Public Member Functions | |
TrackRoad (const Amg::Vector3D &globalPosition, const Amg::Vector3D &globalDirection, double deltaEta, double deltaPhi, int type=Unknown, double weight=1.0) | |
Constructor. More... | |
TrackRoad ()=default | |
TrackRoad (const TrackRoad &)=default | |
TrackRoad (TrackRoad &&)=default | |
TrackRoad & | operator= (const TrackRoad &)=default |
TrackRoad & | operator= (TrackRoad &&)=default |
~TrackRoad ()=default | |
const Amg::Vector3D & | globalPosition () const |
Get the global position of the road. More... | |
const Amg::Vector3D & | globalDirection () const |
Get the global direction of the road. More... | |
double | deltaEta () const |
Get the width of the road in the eta direction. More... | |
double | deltaPhi () const |
Get the width of the road in the phi direction. More... | |
int | type () const |
Get the type of the road. More... | |
double | weight () const |
Get the weight of the road. More... | |
std::string | toString () const |
Get a readable form for debugging. More... | |
MsgStream & | dump (MsgStream &stream) const |
Dump the road into a message stream. More... | |
std::ostream & | dump (std::ostream &stream) const |
Dump the road into a standard output stream. More... | |
void | setType (int type) |
Set the type of the road. More... | |
void | setWeight (double weight) |
Set the weight of the road. More... | |
Protected Attributes | |
Amg::Vector3D | m_globalPos {} |
The global position of the road. More... | |
Amg::Vector3D | m_globalDir {} |
The global direction of the road. More... | |
double | m_dDeltaEta { 0 } |
The width of the road in the eta direction. More... | |
double | m_dDeltaPhi { 0 } |
The width of the road in the phi direction. More... | |
int | m_type { 0 } |
The type of the road (Unknown, RPCTGC, MDT, IDSeeded) More... | |
double | m_weight { 1.0 } |
The weight of the road (default is 1.0) More... | |
Encapsulates the information required by the find() method of the muon segment makers.
Definition at line 20 of file TrackRoad.h.
|
inline |
Constructor.
globalPosition | The global position of the road. |
globalDirection | The global direction of the road. |
deltaEta | The width of the road in the eta direction. |
deltaPhi | The width of the road in the phi direction. |
type | The road type (defaults to Unnown) |
weight | The road weight (defaults to 1.0) |
Definition at line 121 of file TrackRoad.h.
|
default |
|
default |
|
default |
|
inline |
Get the width of the road in the eta direction.
Definition at line 149 of file TrackRoad.h.
|
inline |
Get the width of the road in the phi direction.
Definition at line 155 of file TrackRoad.h.
MsgStream & Trk::TrackRoad::dump | ( | MsgStream & | stream | ) | const |
Dump the road into a message stream.
Definition at line 28 of file TrackRoad.cxx.
std::ostream & Trk::TrackRoad::dump | ( | std::ostream & | stream | ) | const |
Dump the road into a standard output stream.
Definition at line 35 of file TrackRoad.cxx.
|
inline |
Get the global direction of the road.
Definition at line 143 of file TrackRoad.h.
|
inline |
Get the global position of the road.
Definition at line 137 of file TrackRoad.h.
|
inline |
Set the type of the road.
Definition at line 173 of file TrackRoad.h.
|
inline |
Set the weight of the road.
Definition at line 179 of file TrackRoad.h.
std::string Trk::TrackRoad::toString | ( | ) | const |
|
inline |
Get the type of the road.
Definition at line 161 of file TrackRoad.h.
|
inline |
Get the weight of the road.
Definition at line 167 of file TrackRoad.h.
|
protected |
The width of the road in the eta direction.
Definition at line 104 of file TrackRoad.h.
|
protected |
The width of the road in the phi direction.
Definition at line 105 of file TrackRoad.h.
|
protected |
The global direction of the road.
Definition at line 103 of file TrackRoad.h.
|
protected |
The global position of the road.
Definition at line 102 of file TrackRoad.h.
|
protected |
The type of the road (Unknown, RPCTGC, MDT, IDSeeded)
Definition at line 106 of file TrackRoad.h.
|
protected |
The weight of the road (default is 1.0)
Definition at line 107 of file TrackRoad.h.