Helper struct to delegate the EDM interactions with the space point container during the seeding.
More...
#include <MdtSegmentSeedGenerator.h>
|
| 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.
|
| 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.
|
Helper struct to delegate the EDM interactions with the space point container during the seeding.
Definition at line 21 of file MdtSegmentSeedGenerator.h.
◆ CalibCont_t
◆ HitLayVec
◆ HitVec
◆ SeederStateBase()
Protected constructor to instantiate the.
Definition at line 23 of file MdtSegmentSeedGenerator.cxx.
25 :
SpacePointPerLayerSplitter(const SpacePointBucket &bucket)
Constructor taking a complete bucket.
const SegmentSeed * m_parent
const ISpacePointCalibrator * m_calibrator
◆ append()
Appends the space point measurement to the candidate seed container Optionally, the hit may be calibrated.
- Parameters
-
| 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 69 of file MdtSegmentSeedGenerator.cxx.
74 {
75 const EventContext& ctx{*cctx.get<const EventContext*>()};
76 appendTo.push_back(
m_calibrator->calibrate(ctx, &appendMe, pos, dir,
t0));
77 }
◆ candidateChi2()
| 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
- Parameters
-
| 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 52 of file MdtSegmentSeedGenerator.cxx.
56 {
58 const EventContext& ctx{*cctx.get<const EventContext*>()};
59 auto calibSp =
m_calibrator->calibrate(ctx, &candidate, seedPos, seedDir,
t0);
60 assert(calibSp != nullptr);
61 return SeedingAux::chi2Term(seedPos, seedDir, *calibSp);
62 }
63 return SeedingAux::chi2Term(seedPos, seedDir, candidate);
64 }
◆ firstLayerFrom2ndMl()
| std::size_t MuonR4::SpacePointPerLayerSplitter::firstLayerFrom2ndMl |
( |
| ) |
const |
|
inlineinherited |
Returns the layer index with hits from the second multilayer.
Definition at line 47 of file SpacePointPerLayerSplitter.h.
47 {
49 }
std::size_t m_tubeLaySwitch
Index of the first tube-layer from the second multilayer.
◆ goodCandidate()
| bool MuonR4::SegmentFit::SeederStateBase::goodCandidate |
( |
const SpacePoint & | testMdt | ) |
const |
Returns whether the hit is a good candidate for seeding.
- Parameters
-
| testMdt | Reference to the space point considered for seeding |
Definition at line 38 of file MdtSegmentSeedGenerator.cxx.
38 {
39 switch (testMdt.type()) {
43 Muon::MdtDriftCircleStatus::MdtStatusDriftTime;
46 return true;
47 default:
48 return false;
49 }
50 return false;
51 }
MdtDriftCircleStatus status() const
Returns the status of the measurement.
MdtDriftCircle_v1 MdtDriftCircle
UncalibMeasType
Define the type of the uncalibrated measurement.
◆ mdtHits()
| const HitLayVec & MuonR4::SpacePointPerLayerSplitter::mdtHits |
( |
| ) |
const |
|
inlineinherited |
Returns the sorted Mdt hits.
Definition at line 27 of file SpacePointPerLayerSplitter.h.
27 {
29 }
HitLayVec m_mdtLayers
Sorted Mdt hits per tube layer.
◆ newContainer()
Creates a new candidate seed container.
- Parameters
-
| cctx | Calibration context (defined by the interface) |
Definition at line 66 of file MdtSegmentSeedGenerator.cxx.
66 {
68 }
std::vector< std::unique_ptr< CalibratedSpacePoint > > CalibCont_t
Abrivation of the collection of calibrated space points.
◆ nMdtHits()
| std::size_t MuonR4::SpacePointPerLayerSplitter::nMdtHits |
( |
| ) |
const |
|
inlineinherited |
Returns the number of all Mdt hits in the seed.
Definition at line 35 of file SpacePointPerLayerSplitter.h.
35 {
37 }
std::size_t m_nMdtHits
Number of all Mdt tube hits.
◆ nStripHits()
| std::size_t MuonR4::SpacePointPerLayerSplitter::nStripHits |
( |
| ) |
const |
|
inlineinherited |
Returns the number of all strip hits in the seed.
Definition at line 43 of file SpacePointPerLayerSplitter.h.
43 {
45 }
std::size_t m_nStripHits
Number of all strip hits.
◆ parent()
| const SegmentSeed * MuonR4::SegmentFit::SeederStateBase::parent |
( |
| ) |
const |
◆ stopSeeding()
| 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.
- Parameters
-
| 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 78 of file MdtSegmentSeedGenerator.cxx.
79 {
81 }
std::size_t firstLayerFrom2ndMl() const
Returns the layer index with hits from the second multilayer.
◆ strawHits()
| const HitLayVec & MuonR4::SpacePointPerLayerSplitter::strawHits |
( |
| ) |
const |
|
inlineinherited |
◆ strawRadius()
| double MuonR4::SegmentFit::SeederStateBase::strawRadius |
( |
const SpacePoint & | testMdt | ) |
const |
Returns the outer tube radius of the space point.
- Parameters
-
| testMdt | Reference to the Mdt space point of interest |
Definition at line 33 of file MdtSegmentSeedGenerator.cxx.
33 {
37 }
double tubeRadius() const
Adds the thickness of the tube wall onto the radius.
const MuonGMR4::MdtReadoutElement * readoutElement() const
Retrieve the associated MdtReadoutElement.
◆ stripHits()
| const HitLayVec & MuonR4::SpacePointPerLayerSplitter::stripHits |
( |
| ) |
const |
|
inlineinherited |
Returns the sorted strip hits.
Definition at line 39 of file SpacePointPerLayerSplitter.h.
39 {
41 }
HitLayVec m_stripLayers
Sorted Strip hits per gasGap strip.
◆ m_calibratePull
| bool MuonR4::SegmentFit::SeederStateBase::m_calibratePull {false} |
|
private |
◆ m_calibrator
◆ m_mdtLayers
| HitLayVec MuonR4::SpacePointPerLayerSplitter::m_mdtLayers {} |
|
privateinherited |
◆ m_nMdtHits
| std::size_t MuonR4::SpacePointPerLayerSplitter::m_nMdtHits {0} |
|
privateinherited |
◆ m_nStripHits
| std::size_t MuonR4::SpacePointPerLayerSplitter::m_nStripHits {0} |
|
privateinherited |
◆ m_parent
| const SegmentSeed* MuonR4::SegmentFit::SeederStateBase::m_parent {} |
|
private |
◆ m_stripLayers
| HitLayVec MuonR4::SpacePointPerLayerSplitter::m_stripLayers {} |
|
privateinherited |
◆ m_tubeLaySwitch
| std::size_t MuonR4::SpacePointPerLayerSplitter::m_tubeLaySwitch {std::numeric_limits<std::size_t>::max()} |
|
privateinherited |
The documentation for this struct was generated from the following files: