10#include "GaudiKernel/MsgStream.h"
30 std::vector<const InDet::PixelClusterOnTrack*>::const_iterator rotIter =
36 m_globalPosition.store(std::make_unique<const Amg::Vector3D>(*compROT.m_globalPosition));
42 std::vector<const InDet::PixelClusterOnTrack*>&& childrots,
43 std::vector<AssignmentProb>&& assgnProb)
56 if (
this != &compROT) {
67 std::vector<const InDet::PixelClusterOnTrack*>::const_iterator rotIter =
79 if (
this != &compROT) {
98 std::vector<const InDet::PixelClusterOnTrack*>::const_iterator rotIter =
109 <<
"] competing Pixel RIO_OnTrack objects" << std::endl;
111 out <<
" - GlobalPosition : ";
113 out <<
"null pointer" << std::endl;
124 <<
"] competing Pixel RIO_OnTrack objects" << std::endl;
126 out <<
" - GlobalPosition : ";
128 out <<
"null pointer" << std::endl;
Class for competing PixelClusters, it extends the Trk::CompetingRIOsOnTrack base class.
bool ROTsHaveCommonSurface(const bool withNonVanishingAssignProb=true) const
Have all the contained ROTs a common associated surface?
const Trk::Surface & associatedSurface() const
returns the surface for the local to global transformation .
const Amg::Vector3D & globalPosition() const
Interface method to get the global Position.
void clearChildRotVector()
private method to clear the Trk::RIO_OnTrack vector
unsigned int numberOfContainedROTs() const
Number of RIO_OnTracks to be contained by this CompetingRIOsOnTrack.
virtual ~CompetingPixelClustersOnTrack()
Destructor.
CompetingPixelClustersOnTrack & operator=(const CompetingPixelClustersOnTrack &compROT)
Assignment operator.
MsgStream & dump(MsgStream &out) const
returns some information about this MeasurementBase/CompetingPixelClustersOnTrack.
CxxUtils::CachedUniquePtr< const Amg::Vector3D > m_globalPosition
The global Position.
CompetingPixelClustersOnTrack()
Default Constructor for POOL.
std::vector< const InDet::PixelClusterOnTrack * > m_containedChildRots
The vector of contained InDet::PixelClusterOnTrack objects.
virtual void setLocalParametersAndErrorMatrix()
recalculate the LocalParameters and ErrorMatrix
CompetingRIOsOnTrack & operator=(const CompetingRIOsOnTrack &compROT)=default
Assignment operator.
virtual MsgStream & dump(MsgStream &out) const override
returns the some information about the base class members (avoid code duplication)
CompetingRIOsOnTrack()
Default Constructor for POOL.
const LocalParameters & localParameters() const
Interface method to get the LocalParameters.
Eigen::Matrix< double, 3, 1 > Vector3D
Ensure that the ATLAS eigen extensions are properly loaded.