BOSS
8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
DetectorDescription/G4Geo/include/G4Geo/EmcG4Geo.h
Go to the documentation of this file.
1
//$id$
2
/*
3
* 2007/05/15 Miao He <hem@ihep.ac.cn>
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
public
:
20
/// Constructor.
21
EmcG4Geo
();
22
23
/// Destructor.
24
~EmcG4Geo
();
25
26
/// Get a pointer to the single instance of EmcG4Geo
27
static
EmcG4Geo
*
Instance
();
28
29
/// Initialize the instance of G4Geo.
30
void
InitFromGdml
(
const
char
* gdmlFile,
const
char
* setupName );
31
32
/// Set default visual attributes;
33
void
SetDefaultVis
();
34
35
private
:
36
// Pointer to the instance of MucG4Geo.
37
static
EmcG4Geo
* m_pEmcG4Geo;
38
};
39
40
#endif
/* EMC_G4_GEO_H */
SubDetectorG4Geo.h
EmcG4Geo::Instance
static EmcG4Geo * Instance()
Get a pointer to the single instance of EmcG4Geo.
Definition
EmcG4Geo.cxx:43
EmcG4Geo::~EmcG4Geo
~EmcG4Geo()
Destructor.
Definition
EmcG4Geo.cxx:29
EmcG4Geo::SetDefaultVis
void SetDefaultVis()
Set default visual attributes;.
Definition
EmcG4Geo.cxx:41
EmcG4Geo::InitFromGdml
void InitFromGdml(const char *gdmlFile, const char *setupName)
Initialize the instance of G4Geo.
Definition
EmcG4Geo.cxx:31
EmcG4Geo::EmcG4Geo
EmcG4Geo()
Constructor.
Definition
EmcG4Geo.cxx:21
SubDetectorG4Geo::SubDetectorG4Geo
SubDetectorG4Geo()
Constructor.
Definition
SubDetectorG4Geo.cxx:15
8.0.0
BOSS_Source
DetectorDescription
G4Geo
include
G4Geo
EmcG4Geo.h
Generated by
1.16.1