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

#include <G4GIDI_map.hh>

Public Member Functions

 G4GIDI_map (std::string &dataDirectory)
 
 ~G4GIDI_map ()
 
std::string path (void)
 
std::string fileName (void)
 

Public Attributes

GIDI::statusMessageReporting smr
 
GIDI::MCGIDI_mapmap
 

Detailed Description

Definition at line 38 of file G4GIDI_map.hh.

Constructor & Destructor Documentation

G4GIDI_map::G4GIDI_map ( std::string &  dataDirectory)

Definition at line 37 of file G4GIDI_map.cc.

37  {
38 
40  map = MCGIDI_map_readFile( &smr, NULL, dataDirectory.c_str( ) );
41  if( !smr_isOk( &smr ) ) {
42  smr_print( &smr, 1 );
43  throw 1;
44  }
45 }
MCGIDI_map * MCGIDI_map_readFile(statusMessageReporting *smr, const char *basePath, const char *mapFileName)
Definition: MCGIDI_map.cc:93
void smr_print(statusMessageReporting *smr, int clear)
int smr_isOk(statusMessageReporting *smr)
int smr_initialize(statusMessageReporting *smr, enum smr_status verbosity, int append)
GIDI::statusMessageReporting smr
Definition: G4GIDI_map.hh:41
GIDI::MCGIDI_map * map
Definition: G4GIDI_map.hh:42

Here is the call graph for this function:

G4GIDI_map::~G4GIDI_map ( void  )

Definition at line 49 of file G4GIDI_map.cc.

49  {
50 
51  if( map != NULL ) MCGIDI_map_free( NULL, map );
52  smr_release( &smr );
53 }
void smr_release(statusMessageReporting *smr)
void * MCGIDI_map_free(statusMessageReporting *smr, MCGIDI_map *map)
Definition: MCGIDI_map.cc:173
GIDI::statusMessageReporting smr
Definition: G4GIDI_map.hh:41
GIDI::MCGIDI_map * map
Definition: G4GIDI_map.hh:42

Here is the call graph for this function:

Member Function Documentation

std::string G4GIDI_map::fileName ( void  )

Definition at line 57 of file G4GIDI_map.cc.

57  {
58 
59  return( map->mapFileName );
60 }
GIDI::MCGIDI_map * map
Definition: G4GIDI_map.hh:42
std::string G4GIDI_map::path ( void  )

Definition at line 64 of file G4GIDI_map.cc.

64  {
65 
66  return( map->path );
67 }
GIDI::MCGIDI_map * map
Definition: G4GIDI_map.hh:42

Member Data Documentation

GIDI::MCGIDI_map* G4GIDI_map::map

Definition at line 42 of file G4GIDI_map.hh.

Definition at line 41 of file G4GIDI_map.hh.


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