#include "G4QDecayChanVector.hh"
#include <algorithm>
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &lhs, G4QDecayChan &rhs) |
std::ostream& operator<< | ( | std::ostream & | lhs, | |
G4QDecayChan & | rhs | |||
) |
Definition at line 128 of file G4QDecayChan.cc.
References G4QDecayChan::GetDecayChanLimit(), G4QDecayChan::GetVecOfSecHadrons(), and CLHEP::detail::n.
00129 { 00130 lhs << "[L=" << rhs.GetDecayChanLimit(); 00131 G4QPDGCodeVector VSH = rhs.GetVecOfSecHadrons(); 00132 G4int n = VSH.size(); 00133 lhs << ", N=" << n << ": "; 00134 for (int i=0; i<n; i++) 00135 { 00136 if(!i) lhs << ":"; 00137 else lhs << ","; 00138 lhs << VSH[i]->GetPDGCode(); 00139 } 00140 lhs << "]"; 00141 return lhs; 00142 }