BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
DetectorDescription/G4Geo/include/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:youzy@hep.pku.cn}
18 *
19 */
20
21class MucG4Geo : public SubDetectorG4Geo {
22public:
23 /// Constructor.
24 MucG4Geo();
25
26 /// Destructor.
27 ~MucG4Geo();
28
29 /// Get a pointer to the single instance of MucG4Geo
30 static MucG4Geo* Instance();
31
32 /// Initialize the instance of G4Geo.
33 void InitFromGdml( const char* gdmlFile, const char* setupName );
34
35 /// Set default visual attributes;
36 void SetDefaultVis();
37
38private:
39 // Pointer to the instance of MucG4Geo.
40 static MucG4Geo* m_pMucG4Geo;
41};
42
43#endif /* MUC_G4_GEO_H */
void InitFromGdml(const char *gdmlFile, const char *setupName)
Initialize the instance of G4Geo.
Definition MucG4Geo.cxx:31
static MucG4Geo * Instance()
Get a pointer to the single instance of MucG4Geo.
Definition MucG4Geo.cxx:47
MucG4Geo()
Constructor.
Definition MucG4Geo.cxx:21
void SetDefaultVis()
Set default visual attributes;.
Definition MucG4Geo.cxx:41
~MucG4Geo()
Destructor.
Definition MucG4Geo.cxx:29
SubDetectorG4Geo()
Constructor.