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"

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 247 of file G4PhysicsTable.cc.

References G4endl, and G4PhysicsTable::GetFlag().

00249 {
00250   // Printout Physics Vector
00251   size_t i=0;
00252   for (G4PhysicsTableIterator itr=right.begin(); itr!=right.end(); ++itr)
00253   {
00254     out << std::setw(8) << i << "-th Vector   ";
00255     out << ": Type    " << G4int((*itr)->GetType()) ;
00256     out << ": Flag    ";
00257     if (right.GetFlag(i))
00258     {
00259       out << " T";
00260     } 
00261     else
00262     {
00263       out << " F";
00264     } 
00265     out << G4endl;
00266     out << *(*itr);
00267     i +=1;
00268   }
00269   out << G4endl;
00270   return out; 
00271 }


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