Geant4
v4-10.4-release
메인 페이지
관련된 페이지
모듈
네임스페이스
클래스
파일들
파일 목록
파일 멤버
모두
클래스
네임스페이스들
파일들
함수
변수
타입정의
열거형 타입
열거형 멤버
Friends
매크로
그룹들
페이지들
source
geometry
divisions
include
G4PVDivisionFactory.hh
이 파일의 문서화 페이지로 가기
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
//
27
// $Id: G4PVDivisionFactory.hh 66356 2012-12-18 09:02:32Z gcosmo $
28
//
29
//
30
// class G4PVDivisionFactory
31
//
32
// Class description:
33
//
34
// Implementation of the interfaces for creating volumes divisions
35
// (defined in G4VPVDivisionFactory) for G4PVDivision type.
36
37
// Author: Ivana Hrivnacova, 4.5.2004 (Ivana.Hrivnacova@cern.ch)
38
// ------------------------------------------------------------------------
39
#ifndef G4PVDIVISION_FACTORY_HH
40
#define G4PVDIVISION_FACTORY_HH
41
42
#include "
geomdefs.hh
"
43
#include "
G4VPVDivisionFactory.hh
"
44
45
class
G4LogicalVolume
;
46
47
class
G4PVDivisionFactory
:
public
G4VPVDivisionFactory
48
{
49
public
:
// with description
50
51
virtual
~G4PVDivisionFactory
();
52
53
virtual
G4VPhysicalVolume
*
CreatePVDivision
(
54
const
G4String
& pName,
55
G4LogicalVolume
* pLogical,
56
G4LogicalVolume
* pMother,
57
const
EAxis
pAxis,
58
const
G4int
nReplicas,
59
const
G4double
width
,
60
const
G4double
offset );
61
// Create division - with number of divisions and width.
62
63
virtual
G4VPhysicalVolume
*
CreatePVDivision
(
64
const
G4String
& pName,
65
G4LogicalVolume
* pLogical,
66
G4LogicalVolume
* pMotherLogical,
67
const
EAxis
pAxis,
68
const
G4int
nReplicas,
69
const
G4double
offset );
70
// Create division - with number of divisions.
71
72
virtual
G4VPhysicalVolume
*
CreatePVDivision
(
73
const
G4String
& pName,
74
G4LogicalVolume
* pLogical,
75
G4LogicalVolume
* pMotherLogical,
76
const
EAxis
pAxis,
77
const
G4double
width,
78
const
G4double
offset );
79
// Create division - with width.
80
81
virtual
G4VPhysicalVolume
*
CreatePVDivision
(
82
const
G4String
& pName,
83
G4LogicalVolume
* pLogical,
84
G4LogicalVolume
* pMotherLogical,
85
const
G4VPVParameterisation
* param);
86
// Create division - with parameterisation.
87
88
virtual
G4bool
IsPVDivision
(
const
G4VPhysicalVolume
* pv)
const
;
89
// Returns true if pv is division.
90
91
static
G4PVDivisionFactory
*
GetInstance
();
92
// Create the unique instance of the singleton.
93
94
protected
:
95
96
G4PVDivisionFactory
();
97
98
};
99
100
#endif
G4PVDivisionFactory
Definition:
G4PVDivisionFactory.hh:47
geomdefs.hh
G4String
Definition:
examples/extended/parallel/TopC/ParN02/AnnotatedFiles/G4String.hh:45
G4PVDivisionFactory::GetInstance
static G4PVDivisionFactory * GetInstance()
Definition:
G4PVDivisionFactory.cc:55
G4double
double G4double
Definition:
G4Types.hh:76
G4bool
bool G4bool
Definition:
G4Types.hh:79
width
#define width
G4PVDivisionFactory::G4PVDivisionFactory
G4PVDivisionFactory()
Definition:
G4PVDivisionFactory.cc:40
G4PVDivisionFactory::IsPVDivision
virtual G4bool IsPVDivision(const G4VPhysicalVolume *pv) const
Definition:
G4PVDivisionFactory.cc:153
G4PVDivisionFactory::CreatePVDivision
virtual G4VPhysicalVolume * CreatePVDivision(const G4String &pName, G4LogicalVolume *pLogical, G4LogicalVolume *pMother, const EAxis pAxis, const G4int nReplicas, const G4double width, const G4double offset)
Definition:
G4PVDivisionFactory.cc:67
G4PVDivisionFactory::~G4PVDivisionFactory
virtual ~G4PVDivisionFactory()
Definition:
G4PVDivisionFactory.cc:49
G4int
int G4int
Definition:
G4Types.hh:78
EAxis
EAxis
Definition:
geomdefs.hh:54
G4LogicalVolume
Definition:
G4LogicalVolume.hh:190
G4VPVDivisionFactory
Definition:
G4VPVDivisionFactory.hh:48
G4VPhysicalVolume
Definition:
G4VPhysicalVolume.hh:82
G4VPVParameterisation
Definition:
G4VPVParameterisation.hh:72
G4VPVDivisionFactory.hh
다음에 의해 생성됨 :
1.8.5