Functions
gtruthaux Namespace Reference

Functions

std::string stringifyTLorentzVector (const TLorentzVector &tv4)
 

Function Documentation

std::string gtruthaux::stringifyTLorentzVector ( const TLorentzVector &  tv4)

Definition at line 127 of file GTruth.cxx.

127  {
128  std::ostringstream s;
129  s << "[ "
130  << std::setw(11) << tv4.X() << " "
131  << std::setw(11) << tv4.Y() << " "
132  << std::setw(11) << tv4.Z() << " "
133  << std::setw(11) << tv4.T() << " ]";
134  return s.str();
135  }
Q_EXPORT QTSManip setw(int w)
Definition: qtextstream.h:331
static QCString * s
Definition: config.cpp:1042