diff --git a/Event/MCEvent/include/Event/MCVertex.h b/Event/MCEvent/include/Event/MCVertex.h index 2e6afc363e05aece05d1ea85f33c81caef29b3da..b9e7d2d2dfe4f5fa18bcb6525ab0642ae4a78b1b 100644 --- a/Event/MCEvent/include/Event/MCVertex.h +++ b/Event/MCEvent/include/Event/MCVertex.h @@ -80,15 +80,6 @@ namespace LHCb { }; friend std::ostream& operator<<( std::ostream&, MCVertexType ); - /// BUGGY not-a-Copy Constructor - [[deprecated]] explicit MCVertex( const LHCb::MCVertex* right ) - : KeyedObject<int>() // note: key is _not_ copied... - , m_position( right->position() ) - , m_time( right->time() ) - , m_type( right->type() ) - , m_mother( right->mother() ) - , m_products( right->products() ) {} - // Copy Constructor MCVertex( const LHCb::MCVertex& right ) : KeyedObject<int>() // note: key is _not_ copied... @@ -117,7 +108,7 @@ namespace LHCb { /// position time 4-vector [[nodiscard]] Gaudi::XYZTPoint position4vector() const { - return {m_position.X(), m_position.Y(), m_position.Z(), m_time}; + return { m_position.X(), m_position.Y(), m_position.Z(), m_time }; } /// Returns true if this vertex is a primary vertex @@ -201,9 +192,9 @@ namespace LHCb { friend std::ostream& operator<<( std::ostream& str, const MCVertex& obj ) { return obj.fillStream( str ); } private: - Gaudi::XYZPoint m_position{0.0, 0.0, 0.0}; ///< Position in LHCb reference system - double m_time{0.0}; ///< Time since pp interaction - MCVertexType m_type{MCVertex::MCVertexType::Unknown}; ///< How the vertex was made + Gaudi::XYZPoint m_position{ 0.0, 0.0, 0.0 }; ///< Position in LHCb reference system + double m_time{ 0.0 }; ///< Time since pp interaction + MCVertexType m_type{ MCVertex::MCVertexType::Unknown }; ///< How the vertex was made SmartRef<LHCb::MCParticle> m_mother; ///< Pointer to parent particle that decay or otherwise end in this vertex SmartRefVector<LHCb::MCParticle> m_products; ///< Pointer to daughter particles