Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4tgrMaterialMixture.cc File Reference
#include "G4tgrMaterialMixture.hh"
#include "G4SystemOfUnits.hh"
#include "G4tgrUtils.hh"
#include "G4tgrMessenger.hh"
Include dependency graph for G4tgrMaterialMixture.cc:

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 95 of file G4tgrMaterialMixture.cc.

96 {
97  os << "G4tgrMaterialMixture=: " << mate.theName << G4endl
98  << "density= " << mate.theDensity/g*cm3
99  << " g/cm3. Number of Components: " << mate.theNoComponents << G4endl;
100  for (G4int ii=0; ii<mate.theNoComponents; ii++)
101  {
102  os << '\t' << mate.theComponents[ii]
103  << '\t' << mate.theFractions[ii] << G4endl;
104  }
105  return os;
106 }
int G4int
Definition: G4Types.hh:78
G4double theDensity
function g(Y1, Y2, PT2)
Definition: hijing1.383.f:5205
G4String theName
G4int theNoComponents
static constexpr double cm3
Definition: G4SIunits.hh:121
#define G4endl
Definition: G4ios.hh:61
std::vector< G4double > theFractions
std::vector< G4String > theComponents

Here is the call graph for this function: