BOSS 7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/G4Geo/G4Geo/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
21class MucG4Geo : public SubDetectorG4Geo
22{
23 public:
24
25 /// Constructor.
27
28 /// Destructor.
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;
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.
MucG4Geo()
Constructor.
static MucG4Geo * Instance()
Get a pointer to the single instance of MucG4Geo.
void SetDefaultVis()
Set default visual attributes;.
~MucG4Geo()
Destructor.