G4QDecayChan.hh File Reference

#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 Documentation

#define G4QDecayChan_h   1

Definition at line 42 of file G4QDecayChan.hh.


Function Documentation

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 }


Generated on Mon May 27 17:51:04 2013 for Geant4 by  doxygen 1.4.7