5#ifndef MUONHOUGHPATTERNEVENT_MUONHOUGHHIT_H
6#define MUONHOUGHPATTERNEVENT_MUONHOUGHHIT_H
bool operator==(const MuonHoughHit &hit1, const MuonHoughHit &hit2)
void setProbability(double prob)
set probability
double getHity() const
returns y position
double getOrigWeight() const
returns original weight
bool isBarrel() const
hit is barrel or endcap (for curved track model)
double getWeight() const
returns weight in histogram after rescaling
double m_abs
absolute value of hit
void setAssociated(bool associated)
set associated
MuonHough::DetectorTechnology getDetectorId() const
return DetectorTechnology
double m_radius
radius of hit
const Trk::PrepRawData * m_prd
Pointer to preprawdata.
int calcPhiSector() const
method that calculates phi sector of hit
bool m_associated
hit associated to pattern
MuonHoughHit(const Trk::PrepRawData *prd)
default constructor (should not be used)
bool getAssociated() const
return if hit already associated to pattern
const Trk::PrepRawData * getPrd() const
return preprawdata
const double m_orig_weight
original weight
const Amg::Vector3D & getPosition() const
return (x,y,z) vector
MuonHough::DetectorTechnology m_detector_id
detector technology of hit
double getRadius() const
returns radius
double getMagneticTrackRatio() const
ratio of the tracklength of the particle to which hit might belong would have traversed in magnetic f...
double getTheta() const
returns theta
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...
void setWeight(double weight)
set weight
double getProbability() const
returns probability that hit is part of pattern (true muon)
int m_phi_sector
phi sector (0,15), Atlas Convention
bool m_barrel
hit is barrel / endcap
double m_theta
theta of hit
double getPhi() const
returns phi
bool getMeasuresPhi() const
hit measures phi?
virtual ~MuonHoughHit()=default
destructor
double m_weight
weight of hit in histogram, after rescaling
int phiSector() const
phi sector of hit
bool m_measures_phi
hit measures phi?
int getId() const
returns id
double calcMagneticTrackRatio() const
method that calculates 'magnetic track ratio' (for curved track model)
double getHitx() const
returns x position
double getAbs() const
returns radius
Eigen::Matrix< double, 3, 1 > Vector3D
constexpr int phisectors
number of phi sectors
constexpr double half_phisector
angle of half a sector in rad
DetectorTechnology
enum to identify the muondetectortechnology
Ensure that the ATLAS eigen extensions are properly loaded.