#include <iostream>#include "globals.hh"#include "G4QPDGCodeVector.hh"Go to the source code of this file.
Data Structures | |
| class | G4QDecayChan |
Defines | |
| #define | G4QDecayChan_h 1 |
Functions | |
| std::ostream & | operator<< (std::ostream &lhs, G4QDecayChan &rhs) |
| #define G4QDecayChan_h 1 |
Definition at line 42 of file G4QDecayChan.hh.
| std::ostream& operator<< | ( | std::ostream & | lhs, | |
| G4QDecayChan & | rhs | |||
| ) |
Definition at line 128 of file G4QDecayChan.cc.
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 }
1.4.7