BOSS
7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
DetectorDescription/G4Geo/G4Geo-00-00-13/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
18
class
EmcG4Geo
:
public
SubDetectorG4Geo
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 */
SubDetectorG4Geo.h
EmcG4Geo
Definition:
DetectorDescription/G4Geo/G4Geo-00-00-13/G4Geo/EmcG4Geo.h:19
EmcG4Geo::Instance
static EmcG4Geo * Instance()
Get a pointer to the single instance of EmcG4Geo.
Definition:
EmcG4Geo.cxx:52
EmcG4Geo::~EmcG4Geo
~EmcG4Geo()
Destructor.
Definition:
EmcG4Geo.cxx:31
EmcG4Geo::SetDefaultVis
void SetDefaultVis()
Set default visual attributes;.
Definition:
EmcG4Geo.cxx:47
EmcG4Geo::InitFromGdml
void InitFromGdml(const char *gdmlFile, const char *setupName)
Initialize the instance of G4Geo.
Definition:
EmcG4Geo.cxx:35
EmcG4Geo::EmcG4Geo
EmcG4Geo()
Constructor.
Definition:
EmcG4Geo.cxx:22
SubDetectorG4Geo
Definition:
DetectorDescription/G4Geo/G4Geo-00-00-13/G4Geo/SubDetectorG4Geo.h:31
source
DetectorDescription
G4Geo
G4Geo-00-00-13
G4Geo
EmcG4Geo.h
Generated by
1.9.6