Main Page
Namespaces
Classes
Package Documentation
CVS Directory
WorkBook
Offline Guide
Release schedule
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
SimG4Core
Geometry
interface
DDDWorld.h
Go to the documentation of this file.
1
#ifndef SimG4Core_DDDWorld_h
2
#define SimG4Core_DDDWorld_h
3
4
#include "G4VPhysicalVolume.hh"
5
#include "
SimG4Core/Geometry/interface/DDGeometryReturnType.h
"
6
7
class
DDG4Builder
;
8
class
DDCompactView
;
9
10
class
DDDWorld
{
11
public
:
12
DDDWorld
(
const
DDCompactView
*,
G4LogicalVolumeToDDLogicalPartMap
&,
SensitiveDetectorCatalog
&,
bool
check
=
false
);
13
~DDDWorld
();
14
static
void
SetAsWorld
(G4VPhysicalVolume *
pv
);
15
static
void
WorkerSetAsWorld
(G4VPhysicalVolume *pv);
16
const
G4VPhysicalVolume *
GetWorldVolume
()
const
{
return
m_world
; }
17
18
// In order to share the world volume with the worker threads, we
19
// need a non-const pointer. Thread-safety is handled inside Geant4
20
// with TLS. Should we consider a friend declaration here in order
21
// to avoid misuse?
22
G4VPhysicalVolume *
GetWorldVolumeForWorker
()
const
{
return
m_world
; }
23
24
private
:
25
G4VPhysicalVolume *
m_world
;
26
};
27
28
#endif
DDG4Builder
Definition:
DDG4Builder.h:22
DDDWorld::GetWorldVolume
const G4VPhysicalVolume * GetWorldVolume() const
Definition:
DDDWorld.h:16
DDGeometryReturnType.h
DDDWorld::SetAsWorld
static void SetAsWorld(G4VPhysicalVolume *pv)
Definition:
DDDWorld.cc:30
DDCompactView
Compact representation of the geometrical detector hierarchy.
Definition:
DDCompactView.h:80
DDDWorld::~DDDWorld
~DDDWorld()
Definition:
DDDWorld.cc:28
MetAnalyzer.pv
def pv(vc)
Definition:
MetAnalyzer.py:7
DDDWorld::m_world
G4VPhysicalVolume * m_world
Definition:
DDDWorld.h:25
DDMapper< G4LogicalVolume *, DDLogicalPart >
SensitiveDetectorCatalog
Definition:
SensitiveDetectorCatalog.h:8
DDDWorld
Definition:
DDDWorld.h:10
DDDWorld::DDDWorld
DDDWorld(const DDCompactView *, G4LogicalVolumeToDDLogicalPartMap &, SensitiveDetectorCatalog &, bool check=false)
Definition:
DDDWorld.cc:13
DDDWorld::GetWorldVolumeForWorker
G4VPhysicalVolume * GetWorldVolumeForWorker() const
Definition:
DDDWorld.h:22
DDDWorld::WorkerSetAsWorld
static void WorkerSetAsWorld(G4VPhysicalVolume *pv)
Definition:
DDDWorld.cc:39
trackerTree.check
def check(config)
Definition:
trackerTree.py:14
Generated for CMSSW Reference Manual by
1.8.11