ATLAS Offline Software
|
#include <CompetingPixelClustersOnTrack.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 | |
CompetingPixelClustersOnTrack () | |
Default Constructor for POOL. More... | |
CompetingPixelClustersOnTrack (const CompetingPixelClustersOnTrack &compROT) | |
Copy Constructor. More... | |
CompetingPixelClustersOnTrack & | operator= (const CompetingPixelClustersOnTrack &compROT) |
Assignment operator. More... | |
CompetingPixelClustersOnTrack & | operator= (CompetingPixelClustersOnTrack &&compROT) noexcept |
CompetingPixelClustersOnTrack (std::vector< const InDet::PixelClusterOnTrack * > &&childrots, std::vector< AssignmentProb > &&assgnProb) | |
Constructor with all parameters: PLEASE do not use directly, but call InDet::CompetingPixelClustersOnTrackTool, otherwise inconsistency of the data will be very probable. More... | |
virtual | ~CompetingPixelClustersOnTrack () |
Destructor. More... | |
CompetingPixelClustersOnTrack * | clone () const |
needed to avoid excessive RTTI More... | |
std::unique_ptr< CompetingPixelClustersOnTrack > | uniqueClone () const |
NVI method returning unique_ptr clone. 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::PixelClusterOnTrack * > & | containedROTs () const |
returns the vector of PixelClusterOnTrack objects . More... | |
const InDet::PixelClusterOnTrack & | 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/CompetingPixelClustersOnTrack. More... | |
std::ostream & | dump (std::ostream &out) const |
returns some information about this MeasurementBase/CompetingPixelClustersOnTrack. 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 void | setLocalParametersAndErrorMatrix () |
recalculate the LocalParameters and ErrorMatrix 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::PixelClusterOnTrack * > | m_containedChildRots |
The vector of contained InDet::PixelClusterOnTrack objects. More... | |
Friends | |
class | CompetingPixelClustersOnTrackTool |
InDet::CompetingPixelClustersOnTrackTool is a friend to allow for updates of the assignment probabilities. More... | |
Class for competing PixelClusters, it extends the Trk::CompetingRIOsOnTrack base class.
This class is used by the Deterministic Annealing Filter to handle several PixelClusterOnTrack 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::CompetingPixelClustersOnTrack 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 46 of file CompetingPixelClustersOnTrack.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::CompetingPixelClustersOnTrack::CompetingPixelClustersOnTrack | ( | ) |
Definition at line 16 of file CompetingPixelClustersOnTrack.cxx.
InDet::CompetingPixelClustersOnTrack::CompetingPixelClustersOnTrack | ( | const CompetingPixelClustersOnTrack & | compROT | ) |
InDet::CompetingPixelClustersOnTrack::CompetingPixelClustersOnTrack | ( | std::vector< const InDet::PixelClusterOnTrack * > && | childrots, |
std::vector< AssignmentProb > && | assgnProb | ||
) |
Constructor with all parameters: PLEASE do not use directly, but call InDet::CompetingPixelClustersOnTrackTool, otherwise inconsistency of the data will be very probable.
Definition at line 41 of file CompetingPixelClustersOnTrack.cxx.
|
virtual |
Destructor.
Definition at line 90 of file CompetingPixelClustersOnTrack.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 129 of file CompetingPixelClustersOnTrack.h.
|
private |
private method to clear the Trk::RIO_OnTrack vector
Definition at line 96 of file CompetingPixelClustersOnTrack.cxx.
|
inlinevirtual |
needed to avoid excessive RTTI
Implements Trk::CompetingRIOsOnTrack.
Definition at line 123 of file CompetingPixelClustersOnTrack.h.
|
inline |
returns the vector of PixelClusterOnTrack objects .
Definition at line 135 of file CompetingPixelClustersOnTrack.h.
|
virtual |
returns some information about this MeasurementBase/CompetingPixelClustersOnTrack.
Reimplemented from Trk::CompetingRIOsOnTrack.
Definition at line 105 of file CompetingPixelClustersOnTrack.cxx.
|
virtual |
returns some information about this MeasurementBase/CompetingPixelClustersOnTrack.
Reimplemented from Trk::CompetingRIOsOnTrack.
Definition at line 120 of file CompetingPixelClustersOnTrack.cxx.
|
virtual |
Interface method to get the global Position.
Implements Trk::MeasurementBase.
Definition at line 142 of file CompetingPixelClustersOnTrack.cxx.
|
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 147 of file CompetingPixelClustersOnTrack.h.
|
noexcept |
Definition at line 76 of file CompetingPixelClustersOnTrack.cxx.
InDet::CompetingPixelClustersOnTrack & InDet::CompetingPixelClustersOnTrack::operator= | ( | const CompetingPixelClustersOnTrack & | compROT | ) |
|
inlinevirtual |
returns the RIO_OnTrack (also known as ROT) objects depending on the integer
Implements Trk::CompetingRIOsOnTrack.
Definition at line 141 of file CompetingPixelClustersOnTrack.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 136 of file CompetingPixelClustersOnTrack.cxx.
|
virtualinherited |
recalculate the LocalParameters and ErrorMatrix
Reimplemented in InDet::CompetingTRT_DriftCirclesOnTrack, and InDet::CompetingSCT_ClustersOnTrack.
Definition at line 34 of file CompetingRIOsOnTrack.cxx.
|
inlinefinaloverridevirtualinherited |
Extended method checking the type.
Implements Trk::MeasurementBase.
Definition at line 116 of file CompetingRIOsOnTrack.h.
|
inline |
NVI method returning unique_ptr clone.
Definition at line 75 of file CompetingPixelClustersOnTrack.h.
|
friend |
InDet::CompetingPixelClustersOnTrackTool is a friend to allow for updates of the assignment probabilities.
Definition at line 52 of file CompetingPixelClustersOnTrack.h.
|
protectedinherited |
assignment probabilities of the ROTs
Definition at line 125 of file CompetingRIOsOnTrack.h.
|
private |
The vector of contained InDet::PixelClusterOnTrack objects.
Definition at line 111 of file CompetingPixelClustersOnTrack.h.
|
private |
The global Position.
Definition at line 108 of file CompetingPixelClustersOnTrack.h.
|
protectedinherited |
Definition at line 112 of file MeasurementBase.h.
|
protectedinherited |
Definition at line 111 of file MeasurementBase.h.