ATLAS Offline Software
|
Representation of a segment seed (a fully processed hough maximum) produced by the hough transform. More...
#include <SegmentSeed.h>
Public Types | |
using | HitType = HoughHitType |
using | Parameters = SegmentFit::Parameters |
Public Member Functions | |
SegmentSeed (double tanTheta, double interceptY, double tanPhi, double interceptX, double counts, std::vector< HitType > &&hits, const SpacePointBucket *bucket) | |
Constructor to write a segment seed from an eta maximum and a valid phi extension. More... | |
SegmentSeed (const HoughMaximum &toCopy) | |
Constructor to write a segment seed from an eta maximum without a valid phi extension. More... | |
double | tanPhi () const |
Returns the angle from the phi extension. More... | |
double | interceptX () const |
Returns the intercept from the phi extension. More... | |
double | tanTheta () const |
Returns the angular coordinate of the eta transform. More... | |
double | interceptY () const |
Returns the intercept coordinate of the eta transform. More... | |
const Parameters & | parameters () const |
Returns the parameter array. More... | |
double | getCounts () const |
const std::vector< HitType > & | getHitsInMax () const |
Returns the list of assigned hits. More... | |
const SpacePointBucket * | parentBucket () const |
Returns the bucket out of which the seed was formed. More... | |
const MuonGMR4::SpectrometerSector * | msSector () const |
Returns the associated chamber. More... | |
bool | hasPhiExtension () const |
check whether the segment seed includes a valid phi extension More... | |
Amg::Vector3D | positionInChamber () const |
Returns the position of the seed in the sector frame. More... | |
Amg::Vector3D | directionInChamber () const |
Returns the direction of the seed in the sector frame. More... | |
Private Attributes | |
Parameters | m_pars {Parameters::Zero()} |
Set of defining parameters. More... | |
const SpacePointBucket * | m_parent {nullptr} |
Pointer to the parent. More... | |
std::vector< HitType > | m_hits {} |
List of associated hits. More... | |
bool | m_hasPhiExt {false} |
Does the sed have a phi extension. More... | |
double | m_counts {0.} |
Effective countsfrom the hough seed. More... | |
Representation of a segment seed (a fully processed hough maximum) produced by the hough transform.
Definition at line 14 of file SegmentSeed.h.
Definition at line 16 of file SegmentSeed.h.
Definition at line 17 of file SegmentSeed.h.
MuonR4::SegmentSeed::SegmentSeed | ( | double | tanTheta, |
double | interceptY, | ||
double | tanPhi, | ||
double | interceptX, | ||
double | counts, | ||
std::vector< HitType > && | hits, | ||
const SpacePointBucket * | bucket | ||
) |
Constructor to write a segment seed from an eta maximum and a valid phi extension.
tanTheta | tan(theta) from the eta-transform |
interceptY | y axis intercept from the eta-transform |
tanPhi | tan(phi) from the phi-extension |
interceptX | x axis intercept from the phi-extension |
counts | (weighted) counts for the given hough maximum |
hits | Measurements on this maximum |
bucket | Space point bucket out of which the seed is built |
Definition at line 8 of file SegmentSeed.cxx.
MuonR4::SegmentSeed::SegmentSeed | ( | const HoughMaximum & | toCopy | ) |
Constructor to write a segment seed from an eta maximum without a valid phi extension.
toCopy | Eta maximum |
Definition at line 22 of file SegmentSeed.cxx.
Amg::Vector3D MuonR4::SegmentSeed::directionInChamber | ( | ) | const |
Returns the direction of the seed in the sector frame.
Definition at line 42 of file SegmentSeed.cxx.
double MuonR4::SegmentSeed::getCounts | ( | ) | const |
const std::vector< SegmentSeed::HitType > & MuonR4::SegmentSeed::getHitsInMax | ( | ) | const |
bool MuonR4::SegmentSeed::hasPhiExtension | ( | ) | const |
check whether the segment seed includes a valid phi extension
Definition at line 40 of file SegmentSeed.cxx.
double MuonR4::SegmentSeed::interceptX | ( | ) | const |
double MuonR4::SegmentSeed::interceptY | ( | ) | const |
Returns the intercept coordinate of the eta transform.
Definition at line 34 of file SegmentSeed.cxx.
const MuonGMR4::SpectrometerSector * MuonR4::SegmentSeed::msSector | ( | ) | const |
Returns the associated chamber.
Definition at line 39 of file SegmentSeed.cxx.
const Parameters & MuonR4::SegmentSeed::parameters | ( | ) | const |
const SpacePointBucket * MuonR4::SegmentSeed::parentBucket | ( | ) | const |
Amg::Vector3D MuonR4::SegmentSeed::positionInChamber | ( | ) | const |
Returns the position of the seed in the sector frame.
Definition at line 41 of file SegmentSeed.cxx.
double MuonR4::SegmentSeed::tanPhi | ( | ) | const |
double MuonR4::SegmentSeed::tanTheta | ( | ) | const |
|
private |
Effective countsfrom the hough seed.
Definition at line 80 of file SegmentSeed.h.
|
private |
Does the sed have a phi extension.
Definition at line 78 of file SegmentSeed.h.
|
private |
List of associated hits.
Definition at line 76 of file SegmentSeed.h.
|
private |
Pointer to the parent.
Definition at line 74 of file SegmentSeed.h.
|
private |
Set of defining parameters.
Definition at line 72 of file SegmentSeed.h.