Functions
simb::gtruthaux Namespace Reference

Functions

std::string stringifyTLorentzVector (const TLorentzVector &tv4)
 

Function Documentation

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

Definition at line 78 of file GTruth.cxx.

78  {
79  std::ostringstream s;
80  s << "[ "
81  << std::setw(11) << tv4.X() << " "
82  << std::setw(11) << tv4.Y() << " "
83  << std::setw(11) << tv4.Z() << " "
84  << std::setw(11) << tv4.T() << " ]";
85  return s.str();
86  }
Q_EXPORT QTSManip setw(int w)
Definition: qtextstream.h:331
static QCString * s
Definition: config.cpp:1042