Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4PhysicsTable.cc File Reference
#include <iostream>
#include <fstream>
#include <iomanip>
#include "G4PhysicsVector.hh"
#include "G4PhysicsTable.hh"
#include "G4PhysicsVectorType.hh"
#include "G4LPhysicsFreeVector.hh"
#include "G4PhysicsLogVector.hh"
#include "G4PhysicsFreeVector.hh"
#include "G4PhysicsOrderedFreeVector.hh"
#include "G4PhysicsLinearVector.hh"
#include "G4PhysicsLnVector.hh"
Include dependency graph for G4PhysicsTable.cc:

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &out, G4PhysicsTable &right)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  out,
G4PhysicsTable right 
)

Definition at line 248 of file G4PhysicsTable.cc.

250 {
251  // Printout Physics Vector
252  size_t i=0;
253  for (G4PhysicsTableIterator itr=right.begin(); itr!=right.end(); ++itr)
254  {
255  out << std::setw(8) << i << "-th Vector ";
256  out << ": Type " << G4int((*itr)->GetType()) ;
257  out << ": Flag ";
258  if (right.GetFlag(i))
259  {
260  out << " T";
261  }
262  else
263  {
264  out << " F";
265  }
266  out << G4endl;
267  out << *(*itr);
268  i +=1;
269  }
270  out << G4endl;
271  return out;
272 }
int G4int
Definition: G4Types.hh:78
G4PhysicsTable::iterator G4PhysicsTableIterator
#define G4endl
Definition: G4ios.hh:61
G4bool GetFlag(size_t i) const

Here is the call graph for this function: