ATLAS Offline Software
Loading...
Searching...
No Matches
SegmentSeed.h
Go to the documentation of this file.
1
2
3#ifndef MUONR4_MUONPATTERNEVENT_HOUGHSEGMENTSEED__H
4#define MUONR4_MUONPATTERNEVENT_HOUGHSEGMENTSEED__H
5
8
9
10namespace MuonR4 {
13
15 public:
18
28 SegmentSeed(double tanBeta, double interceptY, double tanAlpha,
29 double interceptX, double counts,
30 std::vector<HitType>&& hits,
31 const SpacePointBucket* bucket);
32
33
37 SegmentSeed(const HoughMaximum& toCopy);
38
40 double tanAlpha() const;
42 double interceptX() const;
44 double tanBeta() const;
46 double interceptY() const;
48 const Parameters& parameters() const;
49
51 double getCounts() const;
53 const std::vector<HitType>& getHitsInMax() const;
54
56 const SpacePointBucket* parentBucket() const;
59
64 bool hasPhiExtension() const;
65
70 private:
74 const SpacePointBucket* m_parent{nullptr};
76 std::vector<HitType> m_hits{};
78 bool m_hasPhiExt{false};
80 double m_counts{0.};
81};
82
83} // namespace MuonR4
84
85#endif
A spectrometer sector forms the envelope of all chambers that are placed in the same MS sector & laye...
Data class to represent an eta maximum in hough space.
const std::vector< HitType > & getHitsInMax() const
Returns the list of assigned hits.
double tanAlpha() const
Returns the angle from the phi extension.
SegmentSeed(double tanBeta, double interceptY, double tanAlpha, 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.
const Parameters & parameters() const
Returns the parameter array.
SegmentFit::Parameters Parameters
Definition SegmentSeed.h:17
Amg::Vector3D localDirection() const
Returns the direction of the seed in the sector frame.
bool m_hasPhiExt
Does the sed have a phi extension.
Definition SegmentSeed.h:78
double m_counts
Effective countsfrom the hough seed.
Definition SegmentSeed.h:80
double getCounts() const
const SpacePointBucket * parentBucket() const
Returns the bucket out of which the seed was formed.
double tanBeta() const
Returns the angular coordinate of the eta transform.
const MuonGMR4::SpectrometerSector * msSector() const
Returns the associated chamber.
bool hasPhiExtension() const
check whether the segment seed includes a valid phi extension
double interceptY() const
Returns the intercept coordinate of the eta transform.
double interceptX() const
Returns the intercept from the phi extension.
Amg::Vector3D localPosition() const
Returns the position of the seed in the sector frame.
Parameters m_pars
Set of defining parameters.
Definition SegmentSeed.h:72
std::vector< HitType > m_hits
List of associated hits.
Definition SegmentSeed.h:76
const SpacePointBucket * m_parent
Pointer to the parent.
Definition SegmentSeed.h:74
HoughHitType HitType
Definition SegmentSeed.h:16
: The muon space point bucket represents a collection of points that will bre processed together in t...
Eigen::Matrix< double, 3, 1 > Vector3D
Acts::Experimental::CompositeSpacePointLineFitter::ParamVec_t Parameters
This header ties the generic definitions in this package.
const SpacePoint * HoughHitType