Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
G4tgrMaterialSimple.cc File Reference
#include "G4tgrMaterialSimple.hh"
#include "G4SystemOfUnits.hh"
#include "G4tgrUtils.hh"
#include "G4tgrMessenger.hh"
#include "G4UIcommand.hh"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const G4tgrMaterialSimple &mate)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const G4tgrMaterialSimple mate 
)

Definition at line 107 of file G4tgrMaterialSimple.cc.

References python.hepunit::cm3, g(), G4endl, G4tgrMaterial::theDensity, G4tgrMaterial::theName, and G4tgrMaterial::theNoComponents.

108 {
109  os << "G4tgrMaterialSimple= " << mate.theName
110  << " Z " << mate.theZ << " A " << mate.theA
111  << "density= " << mate.theDensity/g*cm3
112  << " g/cm3. Number of Components: " << mate.theNoComponents << G4endl;
113  return os;
114 }
G4double theDensity
function g(Y1, Y2, PT2)
Definition: hijing1.383.f:5205
G4String theName
G4int theNoComponents
#define G4endl
Definition: G4ios.hh:61