LArSoft  v06_85_00
Liquid Argon Software toolkit - http://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 55 of file GTruth.cxx.

References s.

Referenced by simb::operator<<().

55  {
56  std::ostringstream s;
57  s << "[ "
58  << std::setw(11) << tv4.X() << " "
59  << std::setw(11) << tv4.Y() << " "
60  << std::setw(11) << tv4.Z() << " "
61  << std::setw(11) << tv4.T() << " ]";
62  return s.str();
63  }
Float_t s
Definition: plot.C:23