#include <CCalGeometryConfiguration.hh>
◆ CCalGeometryConfIterator
◆ CCalGeometryConfTable
◆ ~CCalGeometryConfiguration()
CCalGeometryConfiguration::~CCalGeometryConfiguration |
( |
| ) |
|
|
inline |
◆ CCalGeometryConfiguration()
CCalGeometryConfiguration::CCalGeometryConfiguration |
( |
| ) |
|
|
private |
Definition at line 78 of file CCalGeometryConfiguration.cc.
83 G4String pathName = getenv(
"CCAL_CONFPATH");
84 G4String fileenv = getenv(
"CCAL_GEOMETRYCONF");
85 if (!pathName || !fileenv) {
87 ed <<
"ERROR: CCAL_GEOMETRYCONF and/or CCAL_CONFPATH not set" <<
G4endl 88 <<
" Set them to the geometry configuration file/path" <<
G4endl;
89 G4Exception(
"CCalGeometryConfiguration::CCalGeometryConfiguration()",
94 G4cout <<
" ==> Opening file " << fileenv <<
"..." <<
G4endl;
99 G4Exception(
"CCalGeometryConfiguration::CCalGeometryConfiguration()",
111 is >> gcinfo.ConstructFlag >>
jump;
113 G4cout <<
"CCalGeometryConfiguration constructor: Read \"" << name
114 <<
"\" \"" << gcinfo.FileName <<
"\"" <<
tab << gcinfo.ConstructFlag
CCalGeometryConfTable theConfiguration
bool openGeomFile(std::ifstream &is, const G4String &pathname, const G4String &filename)
std::ostringstream G4ExceptionDescription
std::istream & jump(std::istream &)
std::ifstream & readName(std::ifstream &, G4String &)
G4GLOB_DLL std::ostream G4cout
std::ostream & tab(std::ostream &)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
◆ getConfTable()
◆ getConstructFlag()
int CCalGeometryConfiguration::getConstructFlag |
( |
const G4String & |
n | ) |
|
Definition at line 48 of file CCalGeometryConfiguration.cc.
53 flag = (*it).second.ConstructFlag;
55 G4cerr <<
"ERROR: In CCalGeometryConfiguration::getConstructFlag(const G4String& n)" 57 <<
" " << n <<
" not found in configuration file" <<
G4endl;
CCalGeometryConfTable theConfiguration
std::map< G4String, GCInfo, std::less< G4String > >::iterator CCalGeometryConfIterator
G4GLOB_DLL std::ostream G4cerr
◆ getFileName()
Definition at line 63 of file CCalGeometryConfiguration.cc.
68 fn = (*it).second.FileName;
70 G4cerr <<
"ERROR: In CCalGeometryConfiguration::getConstructFlag(const G4String& n)" 72 <<
" " << n <<
" not found in configuration file" <<
G4endl;
CCalGeometryConfTable theConfiguration
std::map< G4String, GCInfo, std::less< G4String > >::iterator CCalGeometryConfIterator
G4GLOB_DLL std::ostream G4cerr
◆ getInstance()
◆ instance
◆ theConfiguration
The documentation for this class was generated from the following files: