Geant4 VMC
Version 6.6
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:822
TG4GeometryManager::ConstructGeometry
void ConstructGeometry()
Definition
TG4GeometryManager.cxx:800
TG4GeometryManager::SetRootDetectorConstruction
void SetRootDetectorConstruction(TG4RootDetectorConstruction *rootDetectorConstruction)
Definition
TG4GeometryManager.h:215
TG4GeometryManager::Instance
static TG4GeometryManager * Instance()
Definition
TG4GeometryManager.h:189
Generated on Thu Oct 17 2024 08:29:40 for Geant4 VMC by
1.12.0