|  | ATLAS Offline Software
    | 
 
 
 
Go to the documentation of this file.
   10 #include "GaudiKernel/MsgStream.h" 
   19   , m_containedChildRots()
 
   28   , m_containedChildRots()
 
   30   std::vector<const InDet::PixelClusterOnTrack*>::const_iterator rotIter =
 
   31     compROT.m_containedChildRots.begin();
 
   32   for (; rotIter != compROT.m_containedChildRots.end(); ++rotIter) {
 
   33     m_containedChildRots.push_back((*rotIter)->clone());
 
   35   if (compROT.m_globalPosition) {
 
   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)
 
   46   , m_containedChildRots(std::move(childrots))
 
   49   setLocalParametersAndErrorMatrix();
 
   56   if (
this != &compROT) {
 
   67     std::vector<const InDet::PixelClusterOnTrack*>::const_iterator rotIter =
 
   79   if (
this != &compROT) {
 
   83     clearChildRotVector();
 
   84     m_containedChildRots = std::move(compROT.m_containedChildRots);
 
   85     m_globalPosition = std::move(compROT.m_globalPosition);
 
   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;
 
  
virtual MsgStream & dump(MsgStream &out) const override
returns the some information about the base class members (avoid code duplication)
CompetingPixelClustersOnTrack & operator=(const CompetingPixelClustersOnTrack &compROT)
Assignment operator.
MsgStream & dump(MsgStream &out) const
returns some information about this MeasurementBase/CompetingPixelClustersOnTrack.
void clearChildRotVector()
private method to clear the Trk::RIO_OnTrack vector
const Trk::Surface & associatedSurface() const
returns the surface for the local to global transformation .
bool ROTsHaveCommonSurface(const bool withNonVanishingAssignProb=true) const
Have all the contained ROTs a common associated surface? If withNonVanishingAssignProb==true just the...
std::vector< const InDet::PixelClusterOnTrack * > m_containedChildRots
The vector of contained InDet::PixelClusterOnTrack objects.
CompetingRIOsOnTrack & operator=(const CompetingRIOsOnTrack &compROT)=default
Assignment operator.
CompetingPixelClustersOnTrack()
Default Constructor for POOL.
unsigned int numberOfContainedROTs() const
Number of RIO_OnTracks to be contained by this CompetingRIOsOnTrack.
const Amg::Vector3D & globalPosition() const
Interface method to get the global Position.
Ensure that the ATLAS eigen extensions are properly loaded.
Eigen::Matrix< double, 3, 1 > Vector3D
const LocalParameters & localParameters() const
Interface method to get the LocalParameters.
virtual ~CompetingPixelClustersOnTrack()
Destructor.
CxxUtils::CachedUniquePtr< const Amg::Vector3D > m_globalPosition
The global Position.