![]() |
ATLAS Offline Software
|
Helper struct to delegate the EDM interactions with the space point container during the seeding from Acts to the Athena EDM. More...
#include <MdtSegmentSeedGenerator.h>
Public Types | |
| using | CalibCont_t = Segment::MeasVec |
| Abrivation of the collection of calibrated space points. | |
| using | HitVec = std::vector<const SpacePoint*> |
| using | HitLayVec = std::vector<HitVec> |
Public Member Functions | |
| const SegmentSeed * | parent () const |
| Returns the parent seed from which the state is constructed. | |
| bool | goodCandidate (const SpacePoint &testMdt) const |
| Returns whether the hit is a good candidate for seeding. | |
| double | candidateChi2 (const Acts::CalibrationContext &cctx, const Amg::Vector3D &seedPos, const Amg::Vector3D &seedDir, const double t0, const SpacePoint &candidate) const |
| Returns the pull of the candidate w.r.t. | |
| double | strawRadius (const SpacePoint &testMdt) const |
| Returns the outer tube radius of the space point. | |
| CalibCont_t | newContainer (const Acts::CalibrationContext &cctx) const |
| Creates a new candidate seed container. | |
| void | append (const Acts::CalibrationContext &cctx, const Amg::Vector3D &pos, const Amg::Vector3D &dir, const double t0, const SpacePoint &appendMe, CalibCont_t &appendTo) const |
| Appends the space point measurement to the candidate seed container Optionally, the hit may be calibrated. | |
| bool | stopSeeding (const std::size_t lowerLayer, const std::size_t upperLayer) const |
| Requests whether the seed line generation shall be stopped based on the pair of. | |
| bool | goodForSeeding (const Amg::Vector3D &tangentPos, const Amg::Vector3D &tangentDir) const |
| Selector function to remove the two line tangent seed using external constaints (e.g. | |
| const HitLayVec & | mdtHits () const |
| Returns the sorted Mdt hits. | |
| const HitLayVec & | strawHits () const |
| Returns the sorted Mdt hits. | |
| std::size_t | nMdtHits () const |
| Returns the number of all Mdt hits in the seed. | |
| const HitLayVec & | stripHits () const |
| Returns the sorted strip hits. | |
| std::size_t | nStripHits () const |
| Returns the number of all strip hits in the seed. | |
| std::size_t | firstLayerFrom2ndMl () const |
| Returns the layer index with hits from the second multilayer. | |
Protected Types | |
| using | SeedSelector_t |
| Selector function to sort out seed lines that are incompatible with external geometrical constaints e.g. | |
Protected Member Functions | |
| SeederStateBase (const SegmentSeed *parentSeed, const ISpacePointCalibrator *calibrator, const bool calibratedPull, SeedSelector_t &&seedSelector=nullptr) | |
| Protected constructor to prevent instantiation from anything else than the seeder state. | |
Private Attributes | |
| const SegmentSeed * | m_parent {} |
| const ISpacePointCalibrator * | m_calibrator {nullptr} |
| bool | m_calibratePull {false} |
| const SeedSelector_t | m_selector {nullptr} |
| HitLayVec | m_mdtLayers {} |
| Sorted Mdt hits per tube layer. | |
| HitLayVec | m_stripLayers {} |
| Sorted Strip hits per gasGap strip. | |
| std::size_t | m_nMdtHits {0} |
| Number of all Mdt tube hits. | |
| std::size_t | m_nStripHits {0} |
| Number of all strip hits. | |
| std::size_t | m_tubeLaySwitch {std::numeric_limits<std::size_t>::max()} |
| Index of the first tube-layer from the second multilayer. | |
Helper struct to delegate the EDM interactions with the space point container during the seeding from Acts to the Athena EDM.
Definition at line 22 of file MdtSegmentSeedGenerator.h.
Abrivation of the collection of calibrated space points.
Definition at line 45 of file MdtSegmentSeedGenerator.h.
|
inherited |
Definition at line 21 of file SpacePointPerLayerSplitter.h.
|
inherited |
Definition at line 20 of file SpacePointPerLayerSplitter.h.
|
protected |
Selector function to sort out seed lines that are incompatible with external geometrical constaints e.g.
beampot
Definition at line 26 of file MdtSegmentSeedGenerator.h.
|
explicitprotected |
Protected constructor to prevent instantiation from anything else than the seeder state.
| parentSeed | Pointer to the HoughSeed from which all the Mdt segment seeds are constructed |
| calibrator | Pointer to the calibrator to be used to construct the calibrated space points and (optionally) to refine the pull calculation |
| calibratedPull | First calibrate the space point before calculating the pull w.r.t. seed line |
| seedSelector | Utility function to reject bad drift circle seeds based on geometrical constaints |
Definition at line 23 of file MdtSegmentSeedGenerator.cxx.
| void MuonR4::SegmentFit::SeederStateBase::append | ( | const Acts::CalibrationContext & | cctx, |
| const Amg::Vector3D & | pos, | ||
| const Amg::Vector3D & | dir, | ||
| const double | t0, | ||
| const SpacePoint & | appendMe, | ||
| CalibCont_t & | appendTo ) const |
Appends the space point measurement to the candidate seed container Optionally, the hit may be calibrated.
| cctx | Calibration context to access the conditions data |
| pos | Reference position of the seed line |
| dir | Reference direction of the seed line |
| t0 | Offset in the time of arrival (Acts units) |
| appendMe | Space point candidate to append to the container |
| appendTo | Output container to which the space point is appended |
Definition at line 71 of file MdtSegmentSeedGenerator.cxx.
| double MuonR4::SegmentFit::SeederStateBase::candidateChi2 | ( | const Acts::CalibrationContext & | cctx, |
| const Amg::Vector3D & | seedPos, | ||
| const Amg::Vector3D & | seedDir, | ||
| const double | t0, | ||
| const SpacePoint & | candidate ) const |
Returns the pull of the candidate w.r.t.
the line & the time offset
| cctx | Calibration context to access the conditions data |
| seedPos | Reference position of the seed line |
| seedDir | Reference direction of the seed line |
| t0 | Offset in the time of arrival (Acts units) |
| candidate | Space point which chi2 is to be evaluated |
Definition at line 54 of file MdtSegmentSeedGenerator.cxx.
|
inlineinherited |
Returns the layer index with hits from the second multilayer.
Definition at line 47 of file SpacePointPerLayerSplitter.h.
| bool MuonR4::SegmentFit::SeederStateBase::goodCandidate | ( | const SpacePoint & | testMdt | ) | const |
Returns whether the hit is a good candidate for seeding.
| testMdt | Reference to the space point considered for seeding |
Definition at line 40 of file MdtSegmentSeedGenerator.cxx.
| bool MuonR4::SegmentFit::SeederStateBase::goodForSeeding | ( | const Amg::Vector3D & | tangentPos, |
| const Amg::Vector3D & | tangentDir ) const |
Selector function to remove the two line tangent seed using external constaints (e.g.
beamspot)
| tangentPos | Position of the seed line |
| tangentDir | Direction of the seed line |
Definition at line 85 of file MdtSegmentSeedGenerator.cxx.
Returns the sorted Mdt hits.
Definition at line 27 of file SpacePointPerLayerSplitter.h.
| SeederStateBase::CalibCont_t MuonR4::SegmentFit::SeederStateBase::newContainer | ( | const Acts::CalibrationContext & | cctx | ) | const |
Creates a new candidate seed container.
| cctx | Calibration context (defined by the interface) |
Definition at line 68 of file MdtSegmentSeedGenerator.cxx.
|
inlineinherited |
Returns the number of all Mdt hits in the seed.
Definition at line 35 of file SpacePointPerLayerSplitter.h.
|
inlineinherited |
Returns the number of all strip hits in the seed.
Definition at line 43 of file SpacePointPerLayerSplitter.h.
| const SegmentSeed * MuonR4::SegmentFit::SeederStateBase::parent | ( | ) | const |
Returns the parent seed from which the state is constructed.
Definition at line 33 of file MdtSegmentSeedGenerator.cxx.
| bool MuonR4::SegmentFit::SeederStateBase::stopSeeding | ( | const std::size_t | lowerLayer, |
| const std::size_t | upperLayer ) const |
Requests whether the seed line generation shall be stopped based on the pair of.
| lowerLayer | Index of the lower hit layer from which the seed circles are picked |
| upperLayer | Index of the upper hit layer from which the seed circles are picked |
Definition at line 80 of file MdtSegmentSeedGenerator.cxx.
Returns the sorted Mdt hits.
Definition at line 31 of file SpacePointPerLayerSplitter.h.
| double MuonR4::SegmentFit::SeederStateBase::strawRadius | ( | const SpacePoint & | testMdt | ) | const |
Returns the outer tube radius of the space point.
| testMdt | Reference to the Mdt space point of interest |
Definition at line 35 of file MdtSegmentSeedGenerator.cxx.
Returns the sorted strip hits.
Definition at line 39 of file SpacePointPerLayerSplitter.h.
|
private |
Definition at line 98 of file MdtSegmentSeedGenerator.h.
|
private |
Definition at line 97 of file MdtSegmentSeedGenerator.h.
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
private |
Definition at line 96 of file MdtSegmentSeedGenerator.h.
|
private |
Definition at line 99 of file MdtSegmentSeedGenerator.h.
|
privateinherited |
Sorted Strip hits per gasGap strip.
Definition at line 54 of file SpacePointPerLayerSplitter.h.
|
privateinherited |
Index of the first tube-layer from the second multilayer.
Definition at line 60 of file SpacePointPerLayerSplitter.h.