![]() |
ATLAS Offline Software
|
Class for competing MuonClusters, it extends the Trk::CompetingRIOsOnTrack base class. More...
#include <CompetingMuonClustersOnTrack.h>
Public Types | |
| typedef double | AssignmentProb |
| Type def of Assignment probability: probability for a certain RIO_OnTrack to be assigned to the track. | |
Public Member Functions | |
| CompetingMuonClustersOnTrack ()=default | |
| Default Constructor for POOL. | |
| CompetingMuonClustersOnTrack (const CompetingMuonClustersOnTrack &compROT) | |
| Copy Constructor. | |
| CompetingMuonClustersOnTrack (CompetingMuonClustersOnTrack &&compROT)=default | |
| Move constructor. | |
| CompetingMuonClustersOnTrack & | operator= (const CompetingMuonClustersOnTrack &compROT) noexcept |
| Assignment operator. | |
| CompetingMuonClustersOnTrack & | operator= (CompetingMuonClustersOnTrack &&compROT) noexcept=default |
| CompetingMuonClustersOnTrack (std::vector< std::unique_ptr< const MuonClusterOnTrack > > &&childrots, std::vector< AssignmentProb > &&assgnProb) | |
| Constructor with all parameters: PLEASE do not use directly, but call Muon::CompetingMuonClustersOnTrackTool, otherwise inconsistency of the data will be very probable. | |
| CompetingMuonClustersOnTrack (Trk::LocalParameters &&locPars, Amg::MatrixX &&error, const Trk::Surface *assSurf, std::vector< std::unique_ptr< const MuonClusterOnTrack > > &&childrots, std::vector< AssignmentProb > &&assgnProb) | |
| constructor taking the local parameters + error matrix + associated surface directly, instead of using the base-class to recalculate them | |
| virtual | ~CompetingMuonClustersOnTrack ()=default |
| Destructor. | |
| CompetingMuonClustersOnTrack * | clone () const |
| needed to avoid excessive RTTI | |
| const Trk::Surface & | associatedSurface () const |
| returns the surface for the local to global transformation . | |
| const Trk::Surface * | associatedSurfaceRaw () const |
| const Amg::Vector3D & | globalPosition () const |
| Interface method to get the global Position. | |
| unsigned int | numberOfContainedROTs () const |
| Number of RIO_OnTracks to be contained by this CompetingRIOsOnTrack. | |
| const std::vector< std::unique_ptr< const MuonClusterOnTrack > > & | containedROTs () const |
| returns the vector of SCT_ClusterOnTrack objects . | |
| const MuonClusterOnTrack & | rioOnTrack (unsigned int) const |
| returns the RIO_OnTrack (also known as ROT) objects depending on the integer | |
| MsgStream & | dump (MsgStream &out) const |
| returns some information about this MeasurementBase/CompetingMuonClustersOnTrack. | |
| std::ostream & | dump (std::ostream &out) const |
| returns some information about this MeasurementBase/CompetingMuonClustersOnTrack. | |
| std::unique_ptr< CompetingRIOsOnTrack > | uniqueClone () const |
| NVI Clone. | |
| unsigned int | indexOfMaxAssignProb () const |
| Index of the ROT with the highest assignment probability. | |
| AssignmentProb | assignmentProbability (unsigned int indx) const |
| returns the AssignmentProbability depending on the integer. | |
| virtual void | setLocalParametersAndErrorMatrix () |
| recalculate the LocalParameters and ErrorMatrix | |
| virtual bool | type (MeasurementBaseType::Type type) const override final |
| Extended method checking the type. | |
| const LocalParameters & | localParameters () const |
| Interface method to get the LocalParameters. | |
| const Amg::MatrixX & | localCovariance () const |
| Interface method to get the localError. | |
| const Surface * | surfacePtr () |
| return the ptr we hold useful for tests | |
| const Surface * | release () noexcept |
| release ala unique_ptr release | |
| void | destroySurface () noexcept |
| destroySurface deletes the ptr if not null and the surface has not a associatedDetectorElement Usefull also for testing | |
Static Public Member Functions | |
| static const Surface * | cloneHelper (const Surface *input) |
| Helper for cloning or not when we need depending on if we have an associatedDetectorElement. | |
Protected Attributes | |
| std::vector< AssignmentProb > | m_assignProb |
| assignment probabilities of the ROTs | |
| LocalParameters | m_localParams |
| Amg::MatrixX | m_localCovariance |
| const Surface * | m_associatedSurface |
Private Member Functions | |
| bool | ROTsHaveCommonSurface (const bool withNonVanishingAssignProb=true) const |
| Have all the contained ROTs a common associated surface? | |
Private Attributes | |
| CxxUtils::CachedUniquePtr< const Amg::Vector3D > | m_globalPosition {} |
| The global Position. | |
| std::vector< std::unique_ptr< const MuonClusterOnTrack > > | m_containedChildRots {} |
| The vector of contained Muon::MuonClusterOnTrack objects. | |
Friends | |
| class | CompetingMuonClustersOnTrackTool |
| Muon::CompetingMuonClustersOnTrackTool is a friend to allow for updates of the assignment probabilities. | |
Class for competing MuonClusters, it extends the Trk::CompetingRIOsOnTrack base class.
This class is used for two use cases:
Definition at line 51 of file CompetingMuonClustersOnTrack.h.
|
inherited |
Type def of Assignment probability: probability for a certain RIO_OnTrack to be assigned to the track.
Definition at line 69 of file CompetingRIOsOnTrack.h.
|
default |
Default Constructor for POOL.
| Muon::CompetingMuonClustersOnTrack::CompetingMuonClustersOnTrack | ( | const CompetingMuonClustersOnTrack & | compROT | ) |
Copy Constructor.
Definition at line 20 of file CompetingMuonClustersOnTrack.cxx.
|
default |
Move constructor.
| Muon::CompetingMuonClustersOnTrack::CompetingMuonClustersOnTrack | ( | std::vector< std::unique_ptr< const MuonClusterOnTrack > > && | childrots, |
| std::vector< AssignmentProb > && | assgnProb ) |
Constructor with all parameters: PLEASE do not use directly, but call Muon::CompetingMuonClustersOnTrackTool, otherwise inconsistency of the data will be very probable.
| childrots | a vector of MuonClusterOnTrack objects that form the CompetingMuonClustersOnTrack |
| assgnProb | a vector with the assignment probabilities for each of the child ROTs |
Definition at line 26 of file CompetingMuonClustersOnTrack.cxx.
| Muon::CompetingMuonClustersOnTrack::CompetingMuonClustersOnTrack | ( | Trk::LocalParameters && | locPars, |
| Amg::MatrixX && | error, | ||
| const Trk::Surface * | assSurf, | ||
| std::vector< std::unique_ptr< const MuonClusterOnTrack > > && | childrots, | ||
| std::vector< AssignmentProb > && | assgnProb ) |
constructor taking the local parameters + error matrix + associated surface directly, instead of using the base-class to recalculate them
| locPars | the Trk::LocalParameters of the new CompetingMuonClustersOnTrack |
| error | the Amg::MatrixX of the new CompetingMuonClustersOnTrack |
| assSurf | the surface at which the local parameters and erro are expressed |
| childrots | a vector of MuonClusterOnTrack objects that form the CompetingMuonClustersOnTrack |
| assgnProb | a vector with the assignment probabilities for each of the child ROTs |
Definition at line 35 of file CompetingMuonClustersOnTrack.cxx.
|
virtualdefault |
Destructor.
|
inlineinherited |
returns the AssignmentProbability depending on the integer.
Definition at line 139 of file CompetingRIOsOnTrack.h.
|
inlinevirtual |
returns the surface for the local to global transformation .
Implements Trk::MeasurementBase.
Definition at line 159 of file CompetingMuonClustersOnTrack.h.
|
inline |
Definition at line 168 of file CompetingMuonClustersOnTrack.h.
|
inlinevirtual |
needed to avoid excessive RTTI
Implements Trk::CompetingRIOsOnTrack.
Definition at line 153 of file CompetingMuonClustersOnTrack.h.
|
inlinestaticinherited |
Helper for cloning or not when we need depending on if we have an associatedDetectorElement.
Definition at line 213 of file SurfaceHolderImpl.h.
|
inline |
returns the vector of SCT_ClusterOnTrack objects .
Definition at line 180 of file CompetingMuonClustersOnTrack.h.
|
inlinenoexceptinherited |
destroySurface deletes the ptr if not null and the surface has not a associatedDetectorElement Usefull also for testing
Definition at line 201 of file SurfaceHolderImpl.h.
|
virtual |
returns some information about this MeasurementBase/CompetingMuonClustersOnTrack.
Reimplemented from Trk::CompetingRIOsOnTrack.
Definition at line 71 of file CompetingMuonClustersOnTrack.cxx.
|
virtual |
returns some information about this MeasurementBase/CompetingMuonClustersOnTrack.
Reimplemented from Trk::CompetingRIOsOnTrack.
Definition at line 83 of file CompetingMuonClustersOnTrack.cxx.
|
inlinevirtual |
Interface method to get the global Position.
Implements Trk::MeasurementBase.
Definition at line 191 of file CompetingMuonClustersOnTrack.h.
|
inherited |
Index of the ROT with the highest assignment probability.
Definition at line 100 of file CompetingRIOsOnTrack.cxx.
|
inlineinherited |
Interface method to get the localError.
Definition at line 138 of file MeasurementBase.h.
|
inlineinherited |
Interface method to get the LocalParameters.
Definition at line 132 of file MeasurementBase.h.
|
inlinevirtual |
Number of RIO_OnTracks to be contained by this CompetingRIOsOnTrack.
Implements Trk::CompetingRIOsOnTrack.
Definition at line 174 of file CompetingMuonClustersOnTrack.h.
|
defaultnoexcept |
|
noexcept |
Assignment operator.
Definition at line 50 of file CompetingMuonClustersOnTrack.cxx.
|
inlinenoexceptinherited |
|
inlinevirtual |
returns the RIO_OnTrack (also known as ROT) objects depending on the integer
Implements Trk::CompetingRIOsOnTrack.
Definition at line 185 of file CompetingMuonClustersOnTrack.h.
|
privatevirtual |
Have all the contained ROTs a common associated surface?
If withNonVanishingAssignProb==true just the ROTs with non-vanishing assignment probabilities are checked.
Implements Trk::CompetingRIOsOnTrack.
Definition at line 98 of file CompetingMuonClustersOnTrack.cxx.
|
virtualinherited |
recalculate the LocalParameters and ErrorMatrix
Reimplemented in InDet::CompetingSCT_ClustersOnTrack, and InDet::CompetingTRT_DriftCirclesOnTrack.
Definition at line 33 of file CompetingRIOsOnTrack.cxx.
|
inlineinherited |
|
inlinefinaloverridevirtualinherited |
Extended method checking the type.
Implements Trk::MeasurementBase.
Definition at line 116 of file CompetingRIOsOnTrack.h.
|
inlineinherited |
NVI Clone.
Definition at line 88 of file CompetingRIOsOnTrack.h.
|
friend |
Muon::CompetingMuonClustersOnTrackTool is a friend to allow for updates of the assignment probabilities.
Definition at line 59 of file CompetingMuonClustersOnTrack.h.
|
protectedinherited |
assignment probabilities of the ROTs
Definition at line 125 of file CompetingRIOsOnTrack.h.
|
protectedinherited |
Definition at line 221 of file SurfaceHolderImpl.h.
|
private |
The vector of contained Muon::MuonClusterOnTrack objects.
Definition at line 141 of file CompetingMuonClustersOnTrack.h.
|
private |
|
protectedinherited |
Definition at line 112 of file MeasurementBase.h.
|
protectedinherited |
Definition at line 111 of file MeasurementBase.h.