Skip to content
Snippets Groups Projects
Commit 959adadb authored by Christopher Rob Jones's avatar Christopher Rob Jones
Browse files

StateVector: Stream line printout

parent eedbbefe
No related branches found
No related tags found
1 merge request!4337Misc. improvements to support RICH 4D Reco
......@@ -43,7 +43,7 @@ namespace LHCb {
StateVector() = default;
/// Fill the ASCII output stream
std::ostream& fillStream( std::ostream& s ) const;
std::ostream& fillStream( std::ostream& os ) const;
/// Retrieve the number of state parameters
[[nodiscard]] unsigned int nParameters() const;
......@@ -132,12 +132,12 @@ namespace LHCb {
// Including forward declarations
inline std::ostream& LHCb::StateVector::fillStream( std::ostream& s ) const {
s << "{ "
<< "parameters : " << m_parameters << std::endl
<< "z : " << (float)m_z << std::endl
<< " }";
return s;
inline std::ostream& LHCb::StateVector::fillStream( std::ostream& os ) const {
return os << "{ parameters : " << m_parameters << " z : " << m_z << " }";
}
inline MsgStream& LHCb::StateVector::fillStream( MsgStream& os ) const {
return os << "{ parameters : " << m_parameters << " z : " << m_z << " }";
}
inline const Gaudi::TrackVector& LHCb::StateVector::parameters() const { return m_parameters; }
......@@ -198,12 +198,3 @@ inline void LHCb::StateVector::setTx( double value ) { m_parameters[2] = value;
inline void LHCb::StateVector::setTy( double value ) { m_parameters[3] = value; }
inline void LHCb::StateVector::setQOverP( double value ) { m_parameters[4] = value; }
inline MsgStream& LHCb::StateVector::fillStream( MsgStream& os ) const {
os << "{ "
<< "parameters : " << m_parameters << std::endl
<< "z : " << (float)m_z << std::endl
<< " }";
return os;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment