#include <iostream>
#include "globals.hh"
#include "G4QDecayChanVector.hh"
Go to the source code of this file.
◆ operator<<()
std::ostream & operator<< |
( |
std::ostream & |
lhs, |
|
|
G4QParticle & |
rhs |
|
) |
| |
Definition at line 129 of file G4QParticle.cc.
130{
132 lhs <<
G4endl <<
"Particle with PDG=" << rhsQPDG <<
", Spin=" << rhs.
GetSpin()
134 lhs<<
" Quark Content of the Particle="<<rhs.
GetQContent()<<
", Decay Channels:"<<
G4endl;
137 for (
int i=0; i<
n; i++)
138 {
139 lhs << DCV[i]->GetDecayChanLimit() << "PDG codes";
141 G4int m_value = PCV.size();
142 for (int j=0; j<m_value; j++)
143 {
144 if(!j) lhs << ":";
145 else lhs << ",";
146 lhs << PCV[j]->GetPDGCode() ;
147 }
148 }
149 return lhs;
150}
std::vector< G4QDecayChan * > G4QDecayChanVector
std::vector< G4QPDGCode * > G4QPDGCodeVector
G4QPDGCode GetQPDG() const
G4QDecayChanVector GetDecayVector()