Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CCalDetector.cc File Reference
#include "CCalDetector.hh"
#include <fstream>
#include "CCalGeometryConfiguration.hh"
#include "CCalutils.hh"
Include dependency graph for CCalDetector.cc:

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const CCalDetector &det)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const CCalDetector det 
)

Definition at line 111 of file CCalDetector.cc.

111  {
112  os << "Detector \"" << det.detectorName
113  << "\" read from " << det.fileName << "." << G4endl;
114 
115  os << "With " << det.theDetectorsInside.size()
116  << " detectors inside { "<< G4endl;
117 
118  for (unsigned int i=0; i<det.theDetectorsInside.size(); i++)
119  os << det.theDetectorsInside[i] << G4endl;
120 
121  os << "}" << G4endl;
122 
123  return os;
124 }
G4String fileName
G4String detectorName
CCalDetectorTable theDetectorsInside
#define G4endl
Definition: G4ios.hh:61