BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/G4Geo/G4Geo/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
18class EmcG4Geo : public SubDetectorG4Geo
19{
20 public:
21
22 /// Constructor.
24
25 /// Destructor.
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;
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 */
~EmcG4Geo()
Destructor.
void SetDefaultVis()
Set default visual attributes;.
void InitFromGdml(const char *gdmlFile, const char *setupName)
Initialize the instance of G4Geo.
EmcG4Geo()
Constructor.
static EmcG4Geo * Instance()
Get a pointer to the single instance of EmcG4Geo.