Geant4 VMC
Version 6.7
Toggle main menu visibility
Main Page
Topics
Namespaces
Namespace List
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
~
Variables
c
d
e
f
g
i
l
m
n
p
r
s
t
y
z
Typedefs
Enumerations
Enumerator
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
k
o
s
t
Functions
Variables
Typedefs
Enumerations
Enumerator
f
k
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
source
geometry
src
TG4PostDetConstruction.cxx
Go to the documentation of this file.
1
//------------------------------------------------
2
// The Geant4 Virtual Monte Carlo package
3
// Copyright (C) 2007 - 2014 Ivana Hrivnacova
4
// All rights reserved.
5
//
6
// For the licensing terms see geant4_vmc/LICENSE.
7
// Contact: root-vmc@cern.ch
8
//-------------------------------------------------
9
14
15
#ifdef USE_G4ROOT
16
17
#include "
TG4PostDetConstruction.h
"
18
#include "
TG4GeometryManager.h
"
19
#include "
TG4Globals.h
"
20
21
//_____________________________________________________________________________
22
TG4PostDetConstruction::TG4PostDetConstruction()
23
: TVirtualUserPostDetConstruction()
24
{
26
}
27
28
//_____________________________________________________________________________
29
TG4PostDetConstruction::~TG4PostDetConstruction()
30
{
32
}
33
34
//
35
// public methods
36
//
37
38
//_____________________________________________________________________________
39
void
TG4PostDetConstruction::Initialize(TG4RootDetectorConstruction* dc)
40
{
42
// --
43
44
G4cout <<
"TG4PostDetConstruction::Initialize"
<< G4endl;
45
TG4GeometryManager::Instance
()->
SetRootDetectorConstruction
(dc);
46
TG4GeometryManager::Instance
()->
ConstructGeometry
();
47
}
48
49
//_____________________________________________________________________________
50
void
TG4PostDetConstruction::InitializeSDandField()
51
{
53
// --
54
55
G4cout <<
"TG4PostDetConstruction::InitializeSDandField"
<< G4endl;
56
TG4GeometryManager::Instance
()->
ConstructSDandField
();
57
}
58
59
#endif
TG4GeometryManager.h
Definition of the TG4GeometryManager class.
TG4Globals.h
Definition of the TG4Globals class and basic container types.
TG4PostDetConstruction.h
Definition of the TG4PostDetConstruction class.
TG4GeometryManager::ConstructSDandField
void ConstructSDandField()
Definition
TG4GeometryManager.cxx:819
TG4GeometryManager::ConstructGeometry
void ConstructGeometry()
Definition
TG4GeometryManager.cxx:797
TG4GeometryManager::SetRootDetectorConstruction
void SetRootDetectorConstruction(TG4RootDetectorConstruction *rootDetectorConstruction)
Definition
TG4GeometryManager.h:215
TG4GeometryManager::Instance
static TG4GeometryManager * Instance()
Definition
TG4GeometryManager.h:189
Generated on Tue Apr 1 2025 13:04:46 for Geant4 VMC by
1.13.2