 |
ATLAS Offline Software
|
Go to the documentation of this file.
7 #include "Acts/Utilities/UnitVectors.hpp"
11 SegmentSeed::SegmentSeed(
double tanBeta,
double interceptY,
double tanAlpha,
12 double interceptX,
double counts,
13 std::vector<HitType>&&
hits,
16 m_hits{std::move(
hits)},
21 m_pars[toUnderlying(x0)] = interceptX;
22 m_pars[toUnderlying(y0)] = interceptY;
23 m_pars[toUnderlying(
theta)] =
dir.theta();
24 m_pars[toUnderlying(
phi)] =
dir.phi();
28 m_hits{toCopy.getHitsInMax()},
29 m_counts{toCopy.getCounts()}{
30 const Amg::Vector3D dir = makeDirectionFromAxisTangents(0., toCopy.tanBeta());
32 m_pars[toUnderlying(y0)] = toCopy.interceptY();
33 m_pars[toUnderlying(
theta)] =
dir.theta();
34 m_pars[toUnderlying(
phi)] =
dir.phi();
40 return m_pars[toUnderlying(x0)];
44 return m_pars[toUnderlying(y0)];
const SpacePointBucket * parentBucket() const
Returns the bucket out of which the seed was formed.
std::vector< HitType > m_hits
List of associated hits.
Amg::Vector3D localPosition() const
Returns the position of the seed in the sector frame.
A spectrometer sector forms the envelope of all chambers that are placed in the same MS sector & laye...
Scalar phi() const
phi method
: The muon space point bucket represents a collection of points that will bre processed together in t...
const MuonGMR4::SpectrometerSector * msSector() const
returns th associated muonChamber
Scalar theta() const
theta method
SeedingAux::FitParIndex ParamDefs
Use the same parameter indices as used by the CompSpacePointAuxiliaries.
double m_counts
Effective countsfrom the hough seed.
double houghTanBeta(const Amg::Vector3D &v)
Returns the hough tanBeta [y] / [z].
double tanAlpha() const
Returns the angle from the phi extension.
bool hasPhiExtension() const
check whether the segment seed includes a valid phi extension
const SpacePointBucket * parentBucket() const
getter
double interceptY() const
Returns the intercept coordinate of the eta transform.
const std::vector< HitType > & getHitsInMax() const
Returns the list of assigned hits.
Acts::Experimental::CompositeSpacePointLineFitter::ParamVec_t Parameters
bool m_hasPhiExt
Does the sed have a phi extension.
const SpacePointBucket * m_parent
Pointer to the parent.
Parameters m_pars
Set of defining parameters.
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.
double tanBeta() const
Returns the angular coordinate of the eta transform.
double interceptX() const
Returns the intercept from the phi extension.
Eigen::Matrix< double, 3, 1 > Vector3D
This header ties the generic definitions in this package.
Amg::Vector3D localDirection() const
Returns the direction of the seed in the sector frame.
Data class to represent an eta maximum in hough space.
const Parameters & parameters() const
Returns the parameter array.
double houghTanAlpha(const Amg::Vector3D &v)
: Returns the hough tanAlpha [x] / [z]
const MuonGMR4::SpectrometerSector * msSector() const
Returns the associated chamber.