Loading [MathJax]/jax/output/SVG/config.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
15 <<
", chi2: "<<(seg->chiSquared() / seg->numberDoF())
16 <<
", nPrec: "<<seg->nPrecisionHits()<<
", nPhi: "<<seg->nPhiLayers()
17 <<
", nTrigEta: "<<seg->nTrigEtaLayers()<<std::endl;
40 auto searched_itr =
other.segments().begin();
42 searched_itr =
std::find(searched_itr,
other.segments().end(), seg);
43 if (searched_itr ==
other.segments().end()) {
72 return secA->
side() == secB->
side() &&
const SpacePointBucket * parentBucket() const
Returns the bucket out of which the seed was formed.
int sector() const
Returns the sector of the MS-sector.
int8_t side() const
Returns the side of the MS-sector 1 -> A side ; -1 -> C side.
A spectrometer sector forms the envelope of all chambers that are placed in the same MS sector & laye...
std::string find(const std::string &s)
return a remapped string
Placeholder for what will later be the muon segment EDM representation.
Class describing a MuonSegment.
std::unordered_set< const SpacePointBucket * > m_buckets
std::string identString() const
Returns a string encoding the chamber index & the sector of the MS sector.
bool operator<(const MsTrackSeed &other) const
Returns if all segments of this seed are also in the seed as well.
constexpr unsigned numberOfSectors()
return total number of sectors
Location
Enum defining whether the seed is made in the endcap / barrel.
Location location() const
Returns the location of the seed.
const Amg::Vector3D & position() const
Returns the global segment position.
const Segment * detailedSegment(const xAOD::MuonSegment &seg)
Helper function to navigate from the xAOD::MuonSegment to the MuonR4::Segment.
std::string toString(const Translation3D &translation, int precision=4)
GeoPrimitvesToStringConverter.
const SegmentSeed * parent() const
Returns the seed out of which the segment was built.
bool operator==(const MsTrackSeed &other) const
Equality operator.
const MuonGMR4::SpectrometerSector * msSector() const
Returns the associated MS sector.
void setPosition(Amg::Vector3D &&pos)
set the seed's position
MsTrackSeed(const Location loc)
Constructor with location defintion.
const std::vector< const Segment * > & detailedSegments() const
Returns the list of detailed segments.
Eigen::Matrix< double, 3, 1 > Vector3D
This header ties the generic definitions in this package.
const MuonGMR4::SpectrometerSector * msSector() const
Returns the associated MS sector.
const std::unordered_set< const SpacePointBucket * > & buckets() const
Returns the list of associated buckets.
const Amg::Vector3D & position() const
Returns the seed's position.
std::ostream & operator<<(std::ostream &ostr, const MuonR4::MsTrackSeed &seed)
void addSegment(const xAOD::MuonSegment *seg)
Append a segment to the seed.
Scalar mag2() const
mag2 method - forward to squaredNorm()
float distance(const Amg::Vector3D &p1, const Amg::Vector3D &p2)
calculates the distance between two point in 3D space
static bool compatibleSectors(const MuonGMR4::SpectrometerSector *secA, const MuonGMR4::SpectrometerSector *secB)
Returns whether two spectrometer sectors may be compatbile.
std::vector< const Segment * > m_detSegments
std::vector< const xAOD::MuonSegment * > m_segments
const std::vector< const xAOD::MuonSegment * > & segments() const
Returns the vector of associated segments.