ATLAS Offline Software
|
#include <CompetingSCT_ClustersOnTrack.h>
Public Types | |
typedef double | AssignmentProb |
Type def of Assignment probability: probability for a certain RIO_OnTrack to be assigned to the track. More... | |
Public Member Functions | |
CompetingSCT_ClustersOnTrack () | |
Default Constructor for POOL. More... | |
CompetingSCT_ClustersOnTrack (const CompetingSCT_ClustersOnTrack &compROT) | |
Copy Constructor. More... | |
CompetingSCT_ClustersOnTrack & | operator= (const CompetingSCT_ClustersOnTrack &compROT) |
Assignment operator. More... | |
CompetingSCT_ClustersOnTrack & | operator= (CompetingSCT_ClustersOnTrack &&compROT) noexcept |
Default move assignment operator. More... | |
CompetingSCT_ClustersOnTrack (std::vector< const InDet::SCT_ClusterOnTrack * > &&childrots, std::vector< AssignmentProb > &&assgnProb) | |
Constructor with all parameters: PLEASE do not use directly, but call InDet::CompetingSCT_ClustersOnTrackTool, otherwise inconsistency of the data will be very probable. More... | |
virtual | ~CompetingSCT_ClustersOnTrack () |
Destructor. More... | |
CompetingSCT_ClustersOnTrack * | clone () const |
needed to avoid excessive RTTI More... | |
const Trk::Surface & | associatedSurface () const |
returns the surface for the local to global transformation . More... | |
const Amg::Vector3D & | globalPosition () const |
Interface method to get the global Position. More... | |
unsigned int | numberOfContainedROTs () const |
Number of RIO_OnTracks to be contained by this CompetingRIOsOnTrack. More... | |
const std::vector< const InDet::SCT_ClusterOnTrack * > & | containedROTs () const |
returns the vector of SCT_ClusterOnTrack objects . More... | |
const InDet::SCT_ClusterOnTrack & | rioOnTrack (unsigned int) const |
returns the RIO_OnTrack (also known as ROT) objects depending on the integer More... | |
MsgStream & | dump (MsgStream &out) const |
returns some information about this MeasurementBase/CompetingSCT_ClustersOnTrack. More... | |
std::ostream & | dump (std::ostream &out) const |
returns some information about this MeasurementBase/CompetingSCT_ClustersOnTrack. More... | |
virtual void | setLocalParametersAndErrorMatrix () |
recalculate the LocalParameters and ErrorMatrix More... | |
std::unique_ptr< CompetingRIOsOnTrack > | uniqueClone () const |
NVI Clone. More... | |
unsigned int | indexOfMaxAssignProb () const |
Index of the ROT with the highest assignment probability. More... | |
AssignmentProb | assignmentProbability (unsigned int indx) const |
returns the AssignmentProbability depending on the integer. More... | |
virtual bool | type (MeasurementBaseType::Type type) const override final |
Extended method checking the type. More... | |
const LocalParameters & | localParameters () const |
Interface method to get the LocalParameters. More... | |
const Amg::MatrixX & | localCovariance () const |
Interface method to get the localError. More... | |
Protected Attributes | |
std::vector< AssignmentProb > | m_assignProb |
assignment probabilities of the ROTs More... | |
LocalParameters | m_localParams |
Amg::MatrixX | m_localCovariance |
Private Member Functions | |
void | clearChildRotVector () |
private method to clear the Trk::RIO_OnTrack vector More... | |
bool | ROTsHaveCommonSurface (const bool withNonVanishingAssignProb=true) const |
Have all the contained ROTs a common associated surface? If withNonVanishingAssignProb==true just the ROTs with non-vanishing assignment probabilities are checked. More... | |
Private Attributes | |
CxxUtils::CachedUniquePtr< const Amg::Vector3D > | m_globalPosition |
The global position. More... | |
std::vector< const InDet::SCT_ClusterOnTrack * > | m_containedChildRots |
The vector of contained InDet::SCT_ClusterOnTrack objects. More... | |
Friends | |
class | CompetingSCT_ClustersOnTrackTool |
InDet::CompetingSCT_ClustersOnTrackTool is a friend to allow for updates of the assignment probabilities. More... | |
Class for competing SCT_Clusters, it extends the Trk::CompetingRIOsOnTrack base class.
This class is used by the Deterministic Annealing Filter to handle several SCT_ClusterOnTrack in one detector element, which compete against each other in being assigned to a track. In contrast to the InDet::CompetingTRT_DriftCirclesOnTrack all competing measurements of the InDet::CompetingSCT_ClustersOnTrack have to be on the same detector element (i.e. have a common associated surface). localParameters() and localErrorMatrix() return the mean values according to the weights (assignment probabilities).
Definition at line 44 of file CompetingSCT_ClustersOnTrack.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.
InDet::CompetingSCT_ClustersOnTrack::CompetingSCT_ClustersOnTrack | ( | ) |
Definition at line 19 of file CompetingSCT_ClustersOnTrack.cxx.
InDet::CompetingSCT_ClustersOnTrack::CompetingSCT_ClustersOnTrack | ( | const CompetingSCT_ClustersOnTrack & | compROT | ) |
InDet::CompetingSCT_ClustersOnTrack::CompetingSCT_ClustersOnTrack | ( | std::vector< const InDet::SCT_ClusterOnTrack * > && | childrots, |
std::vector< AssignmentProb > && | assgnProb | ||
) |
Constructor with all parameters: PLEASE do not use directly, but call InDet::CompetingSCT_ClustersOnTrackTool, otherwise inconsistency of the data will be very probable.
Definition at line 41 of file CompetingSCT_ClustersOnTrack.cxx.
|
virtual |
Destructor.
Definition at line 93 of file CompetingSCT_ClustersOnTrack.cxx.
|
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 127 of file CompetingSCT_ClustersOnTrack.h.
|
private |
private method to clear the Trk::RIO_OnTrack vector
Definition at line 99 of file CompetingSCT_ClustersOnTrack.cxx.
|
inlinevirtual |
needed to avoid excessive RTTI
Implements Trk::CompetingRIOsOnTrack.
Definition at line 121 of file CompetingSCT_ClustersOnTrack.h.
|
inline |
returns the vector of SCT_ClusterOnTrack objects .
Definition at line 133 of file CompetingSCT_ClustersOnTrack.h.
|
virtual |
returns some information about this MeasurementBase/CompetingSCT_ClustersOnTrack.
Reimplemented from Trk::CompetingRIOsOnTrack.
Definition at line 106 of file CompetingSCT_ClustersOnTrack.cxx.
|
virtual |
returns some information about this MeasurementBase/CompetingSCT_ClustersOnTrack.
Reimplemented from Trk::CompetingRIOsOnTrack.
Definition at line 124 of file CompetingSCT_ClustersOnTrack.cxx.
|
inlinevirtual |
Interface method to get the global Position.
Implements Trk::MeasurementBase.
Definition at line 145 of file CompetingSCT_ClustersOnTrack.h.
|
inherited |
Index of the ROT with the highest assignment probability.
Definition at line 101 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 155 of file CompetingSCT_ClustersOnTrack.h.
|
noexcept |
InDet::CompetingSCT_ClustersOnTrack & InDet::CompetingSCT_ClustersOnTrack::operator= | ( | const CompetingSCT_ClustersOnTrack & | compROT | ) |
|
inlinevirtual |
returns the RIO_OnTrack (also known as ROT) objects depending on the integer
Implements Trk::CompetingRIOsOnTrack.
Definition at line 139 of file CompetingSCT_ClustersOnTrack.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 143 of file CompetingSCT_ClustersOnTrack.cxx.
|
virtual |
recalculate the LocalParameters and ErrorMatrix
Reimplemented from Trk::CompetingRIOsOnTrack.
Definition at line 149 of file CompetingSCT_ClustersOnTrack.cxx.
|
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 |
InDet::CompetingSCT_ClustersOnTrackTool is a friend to allow for updates of the assignment probabilities.
Definition at line 50 of file CompetingSCT_ClustersOnTrack.h.
|
protectedinherited |
assignment probabilities of the ROTs
Definition at line 125 of file CompetingRIOsOnTrack.h.
|
private |
The vector of contained InDet::SCT_ClusterOnTrack objects.
Definition at line 109 of file CompetingSCT_ClustersOnTrack.h.
|
private |
The global position.
Definition at line 106 of file CompetingSCT_ClustersOnTrack.h.
|
protectedinherited |
Definition at line 112 of file MeasurementBase.h.
|
protectedinherited |
Definition at line 111 of file MeasurementBase.h.