|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #include "GaudiKernel/MsgStream.h"
36 m_radius(m_pos.
perp()),
39 m_theta(std::atan2(m_radius, getHitz())),
41 m_phi_sector(calcPhiSector()),
42 m_magnetic_trackratio(calcMagneticTrackRatio()),
46 m_detector_id(detector_id),
47 m_measures_phi(measures_phi)
52 std::string detector_name;
60 if (
log.level() <= MSG::WARNING)
log << MSG::WARNING <<
"MuonHoughHit:: no valid detector_id" <<
endmsg;
77 double magnetic_trk_ratio = 0.;
84 magnetic_trk_ratio = diff_b * diff_b /
m_abs;
91 magnetic_trk_ratio = 0.;
95 magnetic_trk_ratio = diff_e * diff_e /
m_abs;
103 return magnetic_trk_ratio;
const Trk::PrepRawData * m_prd
Pointer to preprawdata.
Scalar phi() const
phi method
singleton-like access to IMessageSvc via open function and helper
double getHitz() const
returns z position
Scalar perp() const
perp method - perpenticular length
int calcPhiSector() const
method that calculates phi sector of hit
constexpr double z_cylinder
length of cylinder
double m_theta
theta of hit
IMessageSvc * getMessageSvc(bool quiet=false)
constexpr int phisectors
number of phi sectors
std::string getWhichDetector() const
return DetectorTechnology in string
MuonHough::DetectorTechnology m_detector_id
detector technology of hit
virtual const Surface & surface() const =0
Return surface associated with this detector element.
constexpr double z_end
z value whereafter no magnetic field / curvature
double calcMagneticTrackRatio() const
method that calculates 'magnetic track ratio' (for curved track model)
double m_radius
radius of hit
Identifier identify() const
return the identifier
const Amg::Vector2D & localPosition() const
return the local position reference
constexpr double half_phisector
angle of half a sector in rad
Eigen::Matrix< double, 3, 1 > Vector3D
MuonHoughHit(const Trk::PrepRawData *prd)
default constructor (should not be used)
bool m_barrel
hit is barrel / endcap
int m_phi_sector
phi sector (0,15), Atlas Convention
double m_magnetic_trackratio
ratio of the tracklength of the particle to which hit might belong would have traversed in magnetic f...
constexpr double radius_cylinder
radius of cylinder
double m_abs
absolute value of hit
DetectorTechnology
enum to identify the muondetectortechnology
constexpr double tan_barrel
relation for transition between endcap and barrel 11.43 m (r) / 14m (z)
constexpr double z_magnetic_range
range where hit is curved in endcap region
Scalar mag() const
mag method
constexpr double z_magnetic_range_squared
range where hit is curved in endcap region ('squared')
virtual const TrkDetElementBase * detectorElement() const =0
return the detector element corresponding to this PRD The pointer will be zero if the det el is not d...