Geant4-11
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

◆ operator<<()

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

Definition at line 96 of file G4tgrMaterialSimple.cc.

97{
98 os << "G4tgrMaterialSimple= " << mate.theName << " Z " << mate.theZ << " A "
99 << mate.theA << "density= " << mate.theDensity / g * cm3
100 << " g/cm3. Number of Components: " << mate.theNoComponents << G4endl;
101 return os;
102}
static constexpr double cm3
Definition: G4SIunits.hh:101
static constexpr double g
Definition: G4SIunits.hh:168
#define G4endl
Definition: G4ios.hh:57
G4double theDensity
G4String theName
G4int theNoComponents