Geant4
v4-10.4-release
메인 페이지
관련된 페이지
모듈
네임스페이스
클래스
파일들
파일 목록
파일 멤버
•
모두
클래스
네임스페이스들
파일들
함수
변수
타입정의
열거형 타입
열거형 멤버
Friends
매크로
그룹들
페이지들
source
geometry
solids
CSG
include
G4UOrb.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:$
28
//
29
//
30
// --------------------------------------------------------------------
31
// GEANT 4 class header file
32
//
33
// G4UOrb
34
//
35
// Class description:
36
//
37
// Wrapper class for G4Orb to make use of VecGeom Orb.
38
39
// History:
40
// 30.10.13 G.Cosmo, CERN/PH
41
// --------------------------------------------------------------------
42
#ifndef G4ORB_HH
43
#define G4ORB_HH
44
45
#include "
G4UAdapter.hh
"
46
47
#if ( defined(G4GEOM_USE_USOLIDS) || defined(G4GEOM_USE_PARTIAL_USOLIDS) )
48
49
#include <volumes/UnplacedOrb.h>
50
51
#include "
G4Polyhedron.hh
"
52
53
class
G4UOrb :
public
G4UAdapter<vecgeom::UnplacedOrb>
54
{
55
using
Shape_t = vecgeom::UnplacedOrb;
56
using
Base_t = G4UAdapter<vecgeom::UnplacedOrb>;
57
58
public
:
// with description
59
60
G4UOrb(
const
G4String
& pName,
G4double
pRmax);
61
62
~G4UOrb() ;
63
64
void
ComputeDimensions(
G4VPVParameterisation
*
p
,
65
const
G4int
n
,
66
const
G4VPhysicalVolume
* pRep);
67
68
G4VSolid
* Clone()
const
;
69
70
G4double
GetRadius()
const
;
71
void
SetRadius(
G4double
newRmax);
72
G4double
GetRadialTolerance()
const
;
73
74
inline
G4GeometryType
GetEntityType()
const
;
75
76
void
BoundingLimits(
G4ThreeVector
& pMin,
G4ThreeVector
& pMax)
const
;
77
78
G4bool
CalculateExtent(
const
EAxis
pAxis,
79
const
G4VoxelLimits
& pVoxelLimit,
80
const
G4AffineTransform
& pTransform,
81
G4double
& pmin,
G4double
& pmax)
const
;
82
83
G4Polyhedron
* CreatePolyhedron()
const
;
84
85
public
:
// without description
86
87
G4UOrb(__void__&);
88
// Fake default constructor for usage restricted to direct object
89
// persistency for clients requiring preallocation of memory for
90
// persistifiable objects.
91
92
G4UOrb(
const
G4UOrb& rhs);
93
G4UOrb& operator=(
const
G4UOrb& rhs);
94
// Copy constructor and assignment operator.
95
};
96
97
// --------------------------------------------------------------------
98
// Inline methods
99
// --------------------------------------------------------------------
100
101
inline
G4GeometryType
G4UOrb::GetEntityType()
const
102
{
103
return
"G4Orb"
;
104
}
105
106
#endif // G4GEOM_USE_USOLIDS
107
108
#endif
G4VoxelLimits
Definition:
G4VoxelLimits.hh:62
G4VSolid
Definition:
G4VSolid.hh:87
p
const char * p
Definition:
xmltok.h:285
G4UAdapter.hh
G4String
Definition:
examples/extended/parallel/TopC/ParN02/AnnotatedFiles/G4String.hh:45
G4Polyhedron.hh
G4Polyhedron
Definition:
G4Polyhedron.hh:115
G4double
double G4double
Definition:
G4Types.hh:76
G4bool
bool G4bool
Definition:
G4Types.hh:79
G4AffineTransform
Definition:
G4AffineTransform.hh:74
CLHEP::Hep3Vector
Definition:
ThreeVector.h:41
G4int
int G4int
Definition:
G4Types.hh:78
EAxis
EAxis
Definition:
geomdefs.hh:54
G4VPhysicalVolume
Definition:
G4VPhysicalVolume.hh:82
G4VPVParameterisation
Definition:
G4VPVParameterisation.hh:72
n
Char_t n[5]
Definition:
comparison_ascii.C:55
다음에 의해 생성됨 :
1.8.5