5#ifndef TRKROAD_TRACKROAD_H
6#define TRKROAD_TRACKROAD_H
87 MsgStream&
dump(MsgStream& stream)
const;
91 std::ostream&
dump(std::ostream& stream)
const;
114operator<<(MsgStream& stream,
const TrackRoad& tr);
119operator<<(std::ostream& stream,
const TrackRoad& tr);
Scalar deltaPhi(const MatrixBase< Derived > &vec) const
TrackRoad & operator=(const TrackRoad &)=default
TrackRoadTypes
TrackRoad Types.
double m_dDeltaEta
The width of the road in the eta direction.
double weight() const
Get the weight of the road.
TrackRoad(TrackRoad &&)=default
Amg::Vector3D m_globalDir
The global direction of the road.
const Amg::Vector3D & globalPosition() const
Get the global position of the road.
TrackRoad & operator=(TrackRoad &&)=default
double deltaEta() const
Get the width of the road in the eta direction.
std::string toString() const
Get a readable form for debugging.
int type() const
Get the type of the road.
const Amg::Vector3D & globalDirection() const
Get the global direction of the road.
TrackRoad(const TrackRoad &)=default
double deltaPhi() const
Get the width of the road in the phi direction.
double m_weight
The weight of the road (default is 1.0)
Amg::Vector3D m_globalPos
The global position of the road.
double m_dDeltaPhi
The width of the road in the phi direction.
int m_type
The type of the road (Unknown, RPCTGC, MDT, IDSeeded)
void setWeight(double weight)
Set the weight of the road.
TrackRoad(const Amg::Vector3D &globalPosition, const Amg::Vector3D &globalDirection, double deltaEta, double deltaPhi, int type=Unknown, double weight=1.0)
Constructor.
void setType(int type)
Set the type of the road.
Eigen::Matrix< double, 3, 1 > Vector3D
Ensure that the ATLAS eigen extensions are properly loaded.
MsgStream & operator<<(MsgStream &sl, const AlignModule &alignModule)
overload of << operator for MsgStream for debug output