30 template<>
MELAOutputStreamer& MELAOutputStreamer::operator<< <TLorentzVector>(TLorentzVector
const& val){
31 theFile <<
"{" << val.X() <<
", " << val.Y() <<
", " << val.Z() <<
", " << val.T() <<
", " << val.M() <<
"}";
32 if (
stdout_ptr) *
stdout_ptr <<
"{" << val.X() <<
", " << val.Y() <<
", " << val.Z() <<
", " << val.T() <<
", " << val.M() <<
"}";
36 *
this <<
"(" << val.
id <<
") (X,Y,Z,T,M)=( "
46 *
this <<
"(" << val.first <<
") (X,Y,Z,T,M)=( "
47 << val.second.X() <<
" , "
48 << val.second.Y() <<
" , "
49 << val.second.Z() <<
" , "
50 << val.second.T() <<
" , "
51 << val.second.M() <<
" )";
55 *
this <<
"(" << val.
id <<
") (X,Y,Z,T,M)=( "
65 *
this <<
"\tHas " << val.
getNMothers() <<
" mothers" << endl;
67 *
this <<
"\t\tV" << ip <<
' ' << *part << endl;
71 *
this <<
"\tHas " << val.
getNDaughters() <<
" daughters" << endl;
73 *
this <<
"\t\tW fermion ";
if (val.
getWFermion()) *
this << *(val.
getWFermion());
else *
this <<
"N/A"; *
this << endl;
80 *
this <<
"\tHas " << val.
getNMothers() <<
" mothers" << endl;
82 *
this <<
"\t\tV" << ip <<
' ' << *part << endl;
86 *
this <<
"\tHas " << val.
getNSortedVs() <<
" sorted Vs" << endl;
89 *
this <<
"\t\tV" << ip <<
' ' << *part << endl;
91 for (
auto const& dau:part->getDaughters()){
92 *
this <<
"\t\t- V" << ip << ivd <<
' ' << *dau << endl;
101 *
this <<
"\t\tV" << ip <<
' ' << *part << endl;
108 *
this <<
"\t\tV" << ip <<
' ' << *part << endl;
115 *
this <<
"\t\tV" << ip <<
' ' << *part << endl;
122 *
this <<
"\t\tTop" << ip << ' ' << static_cast<MELAParticle const>(*part) << endl;
123 {
MELAParticle* bottom=part->getPartnerParticle();
if (bottom) *
this <<
"\t\t- Top" << ip <<
" b " <<
' ' << *bottom << endl; }
124 {
MELAParticle* Wf=part->getWFermion();
if (Wf) *
this <<
"\t\t- Top" << ip <<
" Wf " <<
' ' << *Wf << endl; }
125 {
MELAParticle* Wfb=part->getWAntifermion();
if (Wfb) *
this <<
"\t\t- Top" << ip <<
" Wfb " <<
' ' << *Wfb << endl; }