BOSS 7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
EmcG4Geo.h
Go to the documentation of this file.
1//$id$
2/*
3 * 2007/05/15 Miao He <[email protected]>
4 * Emc Geometry General for Simulation
5 * inherit from class SubDetectorG4Geo
6 */
7
8#ifndef EMC_G4_GEO_H
9#define EMC_G4_GEO_H
10
11#include "SubDetectorG4Geo.h"
12
13/**
14 * Class EmcGeo contains all of the objects necessary to describe the
15 * Emc geometry.
16 */
17
19{
20 public:
21
22 /// Constructor.
23 EmcG4Geo();
24
25 /// Destructor.
26 ~EmcG4Geo();
27
28 /// Get a pointer to the single instance of EmcG4Geo
29 static EmcG4Geo *Instance();
30
31 /// Initialize the instance of G4Geo.
32 void InitFromGdml( const char *gdmlFile, const char *setupName );
33
34 /// Set default visual attributes;
35 void SetDefaultVis();
36
37 private:
38
39 // Pointer to the instance of MucG4Geo.
40 static EmcG4Geo *m_pEmcG4Geo;
41
42
43};
44
45#endif /* EMC_G4_GEO_H */
static EmcG4Geo * Instance()
Get a pointer to the single instance of EmcG4Geo.
Definition: EmcG4Geo.cxx:52
~EmcG4Geo()
Destructor.
Definition: EmcG4Geo.cxx:31
void SetDefaultVis()
Set default visual attributes;.
Definition: EmcG4Geo.cxx:47
void InitFromGdml(const char *gdmlFile, const char *setupName)
Initialize the instance of G4Geo.
Definition: EmcG4Geo.cxx:35
EmcG4Geo()
Constructor.
Definition: EmcG4Geo.cxx:22