ATLAS Offline Software
|
#include <MuonHoughPattern.h>
Public Types | |
using | MuonHoughPatternCollection = DataVector< MuonHoughPattern > |
Public Member Functions | |
MuonHoughPattern (int id_number) | |
MuonHoughPattern does not own its hits (contrary to the default) MuonHoughHitContainer! More... | |
virtual | ~MuonHoughPattern ()=default |
destructor More... | |
void | resetTracksegment () |
clear pattern More... | |
bool | hitInHoughPattern (const std::shared_ptr< MuonHoughHit > &hit) const |
returns if hit is in pattern More... | |
double | calculateEZ () const |
calculate estimated z-position of pattern More... | |
double | patternLength () const |
returns distance between first and last hit More... | |
void | printHoughPattern () const |
prints out info about hough pattern More... | |
int | getIdNumber () const |
returns id number of hough transform used to generate pattern More... | |
double | getEPhi () const |
returns phi of pattern More... | |
double | getERPhi () const |
returns r0/d0 of pattern More... | |
double | getETheta () const |
returns theta of pattern More... | |
double | getERTheta () const |
returns z0 of pattern More... | |
double | getECurvature () const |
returns curvature of pattern More... | |
double | getMaximumHistogram () const |
returns maximum of histogram used to generate pattern More... | |
void | setEPhi (double ephi) |
set phi of pattern More... | |
void | setERPhi (double erphi) |
set r0 of pattern More... | |
void | setETheta (double etheta) |
set theta of pattern More... | |
void | setERTheta (double ertheta) |
set z0 of pattern More... | |
void | setECurvature (double curvature) |
set curvature of pattern More... | |
void | setMaximumHistogram (double maximumhistogram) |
set maximum of histogram used to generate pattern More... | |
double | getEAngle () const |
returns angle in precision plane in rad More... | |
double | getER () const |
returns radius in precision plane in mm More... | |
void | setEAngle (double eangle) |
set angle in precision plane in rad More... | |
void | setER (double er) |
set radius in precision plane in mm More... | |
void | setWhichSegment (bool which_segment) |
set which segment pattern is in, not in use More... | |
Amg::Vector3D | getEPos () const |
calulates 3d point closest to ip More... | |
Amg::Vector3D | getEDir () const |
calculates direction at point closest to ip More... | |
void | updateParametersRPhi (bool cosmics=false) |
update parameters in rphi plane based on weighted fit More... | |
std::shared_ptr< MuonHoughHit > | getHit (int hitno) const |
returns Hit at position hitno More... | |
const std::vector< std::shared_ptr< MuonHoughHit > > & | getHits () const |
returns hit vector More... | |
void | addHit (const std::shared_ptr< MuonHoughHit > &hit) |
add hit to container More... | |
void | removeHit (unsigned int hitno) |
remove hit from container More... | |
int | getHitId (unsigned int hitno) const |
returns hitid of hit hitno More... | |
double | getHitx (unsigned int hitno) const |
returns x position of hit hitno More... | |
double | getHity (unsigned int hitno) const |
returns y position of hit hitno More... | |
double | getHitz (unsigned int hitno) const |
returns z position of hit hitno More... | |
double | getRadius (unsigned int hitno) const |
returns radius of hit hitno More... | |
double | getTheta (unsigned int hitno) const |
returns theta of hit hitno More... | |
double | getPhi (unsigned int hitno) const |
returns phi of hit hitno More... | |
double | getWeight (unsigned int hitno) const |
returns weight of hit hitno More... | |
double | getOrigWeight (unsigned int hitno) const |
returns the orignal weight of hit hitno More... | |
bool | getMeasuresPhi (unsigned int hitno) const |
returns if hit hitno measures phi More... | |
const Trk::PrepRawData * | getPrd (unsigned int hitno) const |
returns preprawdata pointer of hit hitno More... | |
std::string | getWhichDetector (unsigned int hitno) const |
returns detectortechnology in string of hit hitno More... | |
MuonHough::DetectorTechnology | getDetectorId (unsigned int hitno) const |
returns detectortechnology of hit hitno More... | |
unsigned int | size () const |
returns size of hitcontainer More... | |
bool | empty () const |
returns if hitcontainer is empty More... | |
void | reserve (int size) |
allocates memory for hitvector More... | |
int | getRPChitno () const |
returns number of rpc hits in container More... | |
int | getRPCetahitno () const |
returns number of rpc eta hits in container More... | |
int | getMDThitno () const |
returns number of mdt hits in container More... | |
int | getCSChitno () const |
returns number of csc hits in container More... | |
int | getTGChitno () const |
returns number of tgc hits in container More... | |
Protected Attributes | |
std::vector< std::shared_ptr< MuonHoughHit > > | m_hit |
vector of hits in container More... | |
Private Attributes | |
int | m_id_number {-1} |
id number of hough transform used to generate pattern More... | |
bool | m_whichsegment {false} |
which segment is pattern created in, not relevant if split search is off 0 lower segment, 1 uppersegment More... | |
double | m_ephi {-M_PI_2} |
phi in rad More... | |
double | m_erphi {0.} |
r0 in mm More... | |
double | m_etheta {M_PI_2} |
theta in rad More... | |
double | m_ertheta {0.} |
z0 in mm More... | |
double | m_ecurvature {1.} |
curvature of pattern in rz plane in mm More... | |
double | m_maximumhistogram {0.} |
maximum of histogram More... | |
Definition at line 17 of file MuonHoughPattern.h.
Definition at line 90 of file MuonHoughPattern.h.
MuonHoughPattern::MuonHoughPattern | ( | int | id_number | ) |
MuonHoughPattern does not own its hits (contrary to the default) MuonHoughHitContainer!
constructor
Definition at line 11 of file MuonHoughPattern.cxx.
|
virtualdefault |
destructor
|
inherited |
double MuonHoughPattern::calculateEZ | ( | ) | const |
calculate estimated z-position of pattern
Definition at line 65 of file MuonHoughPattern.cxx.
|
inlineinherited |
|
inherited |
returns number of csc hits in container
Definition at line 37 of file MuonHoughHitContainer.cxx.
|
inlineinherited |
double MuonHoughPattern::getEAngle | ( | ) | const |
returns angle in precision plane in rad
Definition at line 105 of file MuonHoughPattern.cxx.
|
inline |
Amg::Vector3D MuonHoughPattern::getEDir | ( | ) | const |
|
inline |
Amg::Vector3D MuonHoughPattern::getEPos | ( | ) | const |
calulates 3d point closest to ip
Definition at line 165 of file MuonHoughPattern.cxx.
double MuonHoughPattern::getER | ( | ) | const |
returns radius in precision plane in mm
Definition at line 121 of file MuonHoughPattern.cxx.
|
inline |
|
inline |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
returns id number of hough transform used to generate pattern
Definition at line 114 of file MuonHoughPattern.h.
|
inline |
returns maximum of histogram used to generate pattern
Definition at line 121 of file MuonHoughPattern.h.
|
inherited |
returns number of mdt hits in container
Definition at line 25 of file MuonHoughHitContainer.cxx.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
returns number of rpc eta hits in container
Definition at line 31 of file MuonHoughHitContainer.cxx.
|
inherited |
returns number of rpc hits in container
Definition at line 19 of file MuonHoughHitContainer.cxx.
|
inherited |
returns number of tgc hits in container
Definition at line 43 of file MuonHoughHitContainer.cxx.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
returns detectortechnology in string of hit hitno
Definition at line 108 of file MuonHoughHitContainer.h.
bool MuonHoughPattern::hitInHoughPattern | ( | const std::shared_ptr< MuonHoughHit > & | hit | ) | const |
double MuonHoughPattern::patternLength | ( | ) | const |
returns distance between first and last hit
Definition at line 26 of file MuonHoughPattern.cxx.
void MuonHoughPattern::printHoughPattern | ( | ) | const |
prints out info about hough pattern
Definition at line 91 of file MuonHoughPattern.cxx.
|
inherited |
remove hit from container
Definition at line 13 of file MuonHoughHitContainer.cxx.
|
inlineinherited |
allocates memory for hitvector
Definition at line 106 of file MuonHoughHitContainer.h.
void MuonHoughPattern::resetTracksegment | ( | ) |
void MuonHoughPattern::setEAngle | ( | double | eangle | ) |
set angle in precision plane in rad
Definition at line 137 of file MuonHoughPattern.cxx.
|
inline |
|
inline |
void MuonHoughPattern::setER | ( | double | er | ) |
set radius in precision plane in mm
Definition at line 151 of file MuonHoughPattern.cxx.
|
inline |
|
inline |
|
inline |
|
inline |
set maximum of histogram used to generate pattern
Definition at line 128 of file MuonHoughPattern.h.
|
inline |
|
inlineinherited |
void MuonHoughPattern::updateParametersRPhi | ( | bool | cosmics = false | ) |
update parameters in rphi plane based on weighted fit
Definition at line 192 of file MuonHoughPattern.cxx.
|
private |
curvature of pattern in rz plane in mm
Definition at line 109 of file MuonHoughPattern.h.
|
private |
phi in rad
Definition at line 101 of file MuonHoughPattern.h.
|
private |
r0 in mm
Definition at line 103 of file MuonHoughPattern.h.
|
private |
z0 in mm
Definition at line 107 of file MuonHoughPattern.h.
|
private |
theta in rad
Definition at line 105 of file MuonHoughPattern.h.
|
protectedinherited |
vector of hits in container
Definition at line 86 of file MuonHoughHitContainer.h.
|
private |
id number of hough transform used to generate pattern
Definition at line 94 of file MuonHoughPattern.h.
|
private |
maximum of histogram
Definition at line 111 of file MuonHoughPattern.h.
|
private |
which segment is pattern created in, not relevant if split search is off 0 lower segment, 1 uppersegment
Definition at line 98 of file MuonHoughPattern.h.