Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CCalGeometryConfiguration Class Reference

#include <CCalGeometryConfiguration.hh>

Public Member Functions

 ~CCalGeometryConfiguration ()
 
int getConstructFlag (const G4String &n)
 
G4String getFileName (const G4String &n)
 
CCalGeometryConfTable & getConfTable ()
 

Static Public Member Functions

static CCalGeometryConfigurationgetInstance ()
 

Detailed Description

Definition at line 37 of file CCalGeometryConfiguration.hh.

Constructor & Destructor Documentation

CCalGeometryConfiguration::~CCalGeometryConfiguration ( )
inline

Definition at line 49 of file CCalGeometryConfiguration.hh.

49 {}

Member Function Documentation

CCalGeometryConfTable& CCalGeometryConfiguration::getConfTable ( )
inline

Definition at line 56 of file CCalGeometryConfiguration.hh.

56  {
57  return theConfiguration;
58  }
int CCalGeometryConfiguration::getConstructFlag ( const G4String n)

Definition at line 48 of file CCalGeometryConfiguration.cc.

48  {
49  int flag = -1;
50  CCalGeometryConfIterator it = theConfiguration.find(n);
51 
52  if (it != theConfiguration.end())
53  flag = (*it).second.ConstructFlag;
54  else {
55  G4cerr << "ERROR: In CCalGeometryConfiguration::getConstructFlag(const G4String& n)"
56  << G4endl
57  << " " << n << " not found in configuration file" << G4endl;
58  }
59 
60  return flag;
61 }
#define G4endl
Definition: G4ios.hh:61
G4GLOB_DLL std::ostream G4cerr

Here is the caller graph for this function:

G4String CCalGeometryConfiguration::getFileName ( const G4String n)

Definition at line 63 of file CCalGeometryConfiguration.cc.

63  {
64  G4String fn;
65  CCalGeometryConfIterator it = theConfiguration.find(n);
66 
67  if (it != theConfiguration.end())
68  fn = (*it).second.FileName;
69  else {
70  G4cerr << "ERROR: In CCalGeometryConfiguration::getConstructFlag(const G4String& n)"
71  << G4endl
72  << " " << n << " not found in configuration file" << G4endl;
73  }
74 
75  return fn;
76 }
#define G4endl
Definition: G4ios.hh:61
G4GLOB_DLL std::ostream G4cerr

Here is the caller graph for this function:

CCalGeometryConfiguration * CCalGeometryConfiguration::getInstance ( )
static

Definition at line 41 of file CCalGeometryConfiguration.cc.

41  {
42  if (!instance)
44  return instance;
45 }
static MCTruthManager * instance

Here is the caller graph for this function:


The documentation for this class was generated from the following files: