LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
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.

Referenced by simb::operator<<().

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  }