Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4QDecayChan.hh File Reference
#include <iostream>
#include "globals.hh"
#include "G4QPDGCodeVector.hh"

Go to the source code of this file.

Classes

class  G4QDecayChan
 

Functions

std::ostream & operator<< (std::ostream &lhs, G4QDecayChan &rhs)
 

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream &  lhs,
G4QDecayChan rhs 
)

Definition at line 128 of file G4QDecayChan.cc.

129{
130 lhs << "[L=" << rhs.GetDecayChanLimit();
132 G4int n = VSH.size();
133 lhs << ", N=" << n << ": ";
134 for (int i=0; i<n; i++)
135 {
136 if(!i) lhs << ":";
137 else lhs << ",";
138 lhs << VSH[i]->GetPDGCode();
139 }
140 lhs << "]";
141 return lhs;
142}
std::vector< G4QPDGCode * > G4QPDGCodeVector
int G4int
Definition: G4Types.hh:66
G4QPDGCodeVector GetVecOfSecHadrons()
Definition: G4QDecayChan.hh:94
G4double GetDecayChanLimit() const
Definition: G4QDecayChan.hh:92