BOSS 7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
MucG4Geo.h
Go to the documentation of this file.
1//$id$
2/*
3 * 2005/10/31 Zhengyun You Peking University
4 * Muc Geometry General for Simulation
5 * inherit from class SubDetectorG4Geo
6 */
7
8#ifndef MUC_G4_GEO_H
9#define MUC_G4_GEO_H
10
11#include "SubDetectorG4Geo.h"
12
13/**
14 * Class MucGeo contains all of the objects necessary to describe the
15 * muc geometry.
16 *
17 * @author Zhengyun You \URL{mailto:[email protected]}
18 *
19 */
20
22{
23 public:
24
25 /// Constructor.
26 MucG4Geo();
27
28 /// Destructor.
29 ~MucG4Geo();
30
31 /// Get a pointer to the single instance of MucG4Geo
32 static MucG4Geo *Instance();
33
34 /// Initialize the instance of G4Geo.
35 void InitFromGdml( const char *gdmlFile, const char *setupName );
36
37 /// Set default visual attributes;
38 void SetDefaultVis();
39
40 private:
41
42 // Pointer to the instance of MucG4Geo.
43 static MucG4Geo *m_pMucG4Geo;
44};
45
46#endif /* MUC_G4_GEO_H */
void InitFromGdml(const char *gdmlFile, const char *setupName)
Initialize the instance of G4Geo.
Definition: MucG4Geo.cxx:37
static MucG4Geo * Instance()
Get a pointer to the single instance of MucG4Geo.
Definition: MucG4Geo.cxx:57
MucG4Geo()
Constructor.
Definition: MucG4Geo.cxx:24
void SetDefaultVis()
Set default visual attributes;.
Definition: MucG4Geo.cxx:49
~MucG4Geo()
Destructor.
Definition: MucG4Geo.cxx:33