8#include "GaudiKernel/MsgStream.h"
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;
Scalar perp() const
perp method - perpendicular length
Scalar phi() const
phi method
Scalar mag() const
mag method
double m_abs
absolute value of hit
double m_radius
radius of hit
const Trk::PrepRawData * m_prd
Pointer to preprawdata.
int calcPhiSector() const
method that calculates phi sector of hit
MuonHoughHit(const Trk::PrepRawData *prd)
default constructor (should not be used)
const double m_orig_weight
original weight
MuonHough::DetectorTechnology m_detector_id
detector technology of hit
double getHitz() const
returns z position
std::string getWhichDetector() const
return DetectorTechnology in string
double m_probability
probability that hit belongs to true muon (based on trigger confirmation and crude segment finding (u...
double m_magnetic_trackratio
ratio of the tracklength of the particle to which hit might belong would have traversed in magnetic f...
int m_phi_sector
phi sector (0,15), Atlas Convention
bool m_barrel
hit is barrel / endcap
double m_theta
theta of hit
double m_weight
weight of hit in histogram, after rescaling
bool m_measures_phi
hit measures phi?
double calcMagneticTrackRatio() const
method that calculates 'magnetic track ratio' (for curved track model)
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...
const Amg::Vector2D & localPosition() const
return the local position reference
Identifier identify() const
return the identifier
This is the base class for all tracking detector elements with read-out relevant information.
virtual const Surface & surface() const =0
Return surface associated with this detector element.
singleton-like access to IMessageSvc via open function and helper
Eigen::Matrix< double, 3, 1 > Vector3D
IMessageSvc * getMessageSvc(bool quiet=false)
constexpr double tan_barrel
relation for transition between endcap and barrel 11.43 m (r) / 14m (z)
constexpr double radius_cylinder
radius of cylinder
constexpr int phisectors
number of phi sectors
constexpr double half_phisector
angle of half a sector in rad
constexpr double z_cylinder
length of cylinder
constexpr double z_magnetic_range_squared
range where hit is curved in endcap region ('squared')
constexpr double z_end
z value whereafter no magnetic field / curvature
DetectorTechnology
enum to identify the muondetectortechnology
constexpr double z_magnetic_range
range where hit is curved in endcap region