Download
|
User Forum
|
Contact Us
|
Bug Reports
Home
>
Examples
Loading...
Searching...
No Matches
extended
parameterisations
Par04
include
Par04ParallelFastWorld.hh
Go to the documentation of this file.
1
//
2
// ********************************************************************
3
// * License and Disclaimer *
4
// * *
5
// * The Geant4 software is copyright of the Copyright Holders of *
6
// * the Geant4 Collaboration. It is provided under the terms and *
7
// * conditions of the Geant4 Software License, included in the file *
8
// * LICENSE and available at http://cern.ch/geant4/license . These *
9
// * include a list of copyright holders. *
10
// * *
11
// * Neither the authors of this software system, nor their employing *
12
// * institutes,nor the agencies providing financial support for this *
13
// * work make any representation or warranty, express or implied, *
14
// * regarding this software system or assume any liability for its *
15
// * use. Please see the license in the file LICENSE and URL above *
16
// * for the full disclaimer and the limitation of liability. *
17
// * *
18
// * This code implementation is the result of the scientific and *
19
// * technical work of the GEANT4 collaboration. *
20
// * By using, copying, modifying or distributing the software (or *
21
// * any work based on the software) you agree to acknowledge its *
22
// * use in resulting scientific publications, and indicate your *
23
// * acceptance of all terms of the Geant4 Software license. *
24
// ********************************************************************
25
//
26
#ifndef PAR04PARALLELFASTWORLD_HH
27
#define PAR04PARALLELFASTWORLD_HH
28
29
#include "
Par04DetectorConstruction.hh
"
30
#include "G4VUserParallelWorld.hh"
31
#include "globals.hh"
32
33
class
Par04ParallelMessenger
;
34
class
Par04ParallelFullWorld
;
35
class
G4LogicalVolume
;
36
class
G4VPhysicalVolume
;
37
38
class
Par04ParallelFastWorld
:
public
G4VUserParallelWorld
39
{
40
public
:
41
Par04ParallelFastWorld
(
G4String
aWorldName,
42
const
Par04DetectorConstruction
* aMassDetector,
43
const
Par04ParallelFullWorld
* aParallelFull);
44
~Par04ParallelFastWorld
();
45
46
virtual
void
Construct
() final;
47
virtual
void
ConstructSD
() final;
48
49
void
Print
();
50
51
private:
52
/// Messenger that allows to modify geometry
53
const
Par04DetectorConstruction
*
fMassDetector
;
54
const
Par04ParallelFullWorld
*
fParallelFull
;
55
std
::vector<
G4LogicalVolume
*>
fLogicalCell
;
56
G4int
fNbOfLayers
= 1;
57
G4int
fNbOfSlices
= 1;
58
G4int
fNbOfRows
= 1;
59
G4double
fLayerThickness
= 0;
60
};
61
62
#endif
Par04DetectorConstruction.hh
G4LogicalVolume
G4String
G4VPhysicalVolume
G4VUserParallelWorld
Par04DetectorConstruction
Detector construction.
Definition
Doxymodules_parameterisations.h:79
Par04ParallelFastWorld
Definition
Par04ParallelFastWorld.hh:39
Par04ParallelFastWorld::fNbOfRows
G4int fNbOfRows
Definition
Par04ParallelFastWorld.hh:58
Par04ParallelFastWorld::fLayerThickness
G4double fLayerThickness
Definition
Par04ParallelFastWorld.hh:59
Par04ParallelFastWorld::fNbOfSlices
G4int fNbOfSlices
Definition
Par04ParallelFastWorld.hh:57
Par04ParallelFastWorld::fLogicalCell
std::vector< G4LogicalVolume * > fLogicalCell
Definition
Par04ParallelFastWorld.hh:55
Par04ParallelFastWorld::Construct
virtual void Construct() final
Definition
Par04ParallelFastWorld.cc:65
Par04ParallelFastWorld::Print
void Print()
Definition
Par04ParallelFastWorld.cc:203
Par04ParallelFastWorld::fNbOfLayers
G4int fNbOfLayers
Definition
Par04ParallelFastWorld.hh:56
Par04ParallelFastWorld::fParallelFull
const Par04ParallelFullWorld * fParallelFull
Definition
Par04ParallelFastWorld.hh:54
Par04ParallelFastWorld::ConstructSD
virtual void ConstructSD() final
Definition
Par04ParallelFastWorld.cc:190
Par04ParallelFastWorld::~Par04ParallelFastWorld
~Par04ParallelFastWorld()
Par04ParallelFastWorld::fMassDetector
const Par04DetectorConstruction * fMassDetector
Messenger that allows to modify geometry.
Definition
Par04ParallelFastWorld.hh:53
Par04ParallelFullWorld
Definition
Par04ParallelFullWorld.hh:38
Par04ParallelMessenger
Parallel messenger.
Definition
Par04ParallelMessenger.hh:49
std
Generated on Tue Jan 30 2024 12:18:45 for Geant4 examples by
1.9.8
Applications
|
User Support
|
Publications
|
Collaboration