VGM
Version 5.5
Toggle main menu visibility
Loading...
Searching...
No Matches
packages
Geant4GM
include
Geant4GM
solids
Trd.h
Go to the documentation of this file.
1
// $Id$
2
3
// -----------------------------------------------------------------------
4
// The Geant4GM package of the Virtual Geometry Model
5
// Copyright (C) 2007, Ivana Hrivnacova
6
// All rights reserved.
7
//
8
// For the licensing terms see vgm/LICENSE.
9
// Contact: ivana@ipno.in2p3.fr
10
// -----------------------------------------------------------------------
11
13
//
19
20
#ifndef GEANT4_GM_TRD_H
21
#define GEANT4_GM_TRD_H
22
23
#include "
BaseVGM/solids/VTrd.h
"
24
25
#include <string>
26
27
class
G4Trd;
28
class
G4ReflectedSolid;
29
30
namespace
Geant4GM
{
31
32
class
Trd
:
public
BaseVGM::VTrd
33
{
34
public
:
35
Trd
(
const
std::string& name,
double
hx1,
double
hx2,
double
hy1,
double
hy2,
36
double
hz);
37
Trd
(G4Trd* trd, G4ReflectedSolid* reflTrd = 0);
38
virtual
~Trd
();
39
40
// methods
41
virtual
std::string
Name
()
const
;
42
virtual
double
XHalfLengthMinusZ
()
const
;
43
virtual
double
XHalfLengthPlusZ
()
const
;
44
virtual
double
YHalfLengthMinusZ
()
const
;
45
virtual
double
YHalfLengthPlusZ
()
const
;
46
virtual
double
ZHalfLength
()
const
;
47
48
protected
:
49
Trd
();
50
Trd
(
const
Trd
& rhs);
51
52
private
:
53
bool
fIsReflected;
54
G4Trd* fTrd;
55
};
56
57
}
// namespace Geant4GM
58
59
#endif
// GEANT4_GM_TRD_H
VTrd.h
BaseVGM::VTrd
The ABC for trd solids.
Definition
VTrd.h:30
Geant4GM::Trd::Trd
Trd()
Definition
Trd.cxx:71
Geant4GM::Trd::Trd
Trd(const std::string &name, double hx1, double hx2, double hy1, double hy2, double hz)
Definition
Trd.cxx:32
Geant4GM::Trd::Name
virtual std::string Name() const
Return the name of this solid.
Definition
Trd.cxx:90
Geant4GM::Trd::XHalfLengthMinusZ
virtual double XHalfLengthMinusZ() const
Return the half-length along x at the surface positioned at -hz in mm.
Definition
Trd.cxx:93
Geant4GM::Trd::XHalfLengthPlusZ
virtual double XHalfLengthPlusZ() const
Return the half-length along x at the surface positioned at +hz in mm.
Definition
Trd.cxx:102
Geant4GM::Trd::YHalfLengthMinusZ
virtual double YHalfLengthMinusZ() const
Return the half-length along y at the surface positioned at -hz in mm.
Definition
Trd.cxx:111
Geant4GM::Trd::YHalfLengthPlusZ
virtual double YHalfLengthPlusZ() const
Return thehalf-length along y at the surface positioned at +hz in mm.
Definition
Trd.cxx:120
Geant4GM::Trd::~Trd
virtual ~Trd()
Definition
Trd.cxx:84
Geant4GM::Trd::ZHalfLength
virtual double ZHalfLength() const
Return the half-length along the z axis in mm.
Definition
Trd.cxx:129
Geant4GM
VGM implementation for Geant4.
Definition
Element.h:29
Generated on
for VGM by
1.17.0