Geant4
9.6.p02
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
geant4_9_6_p02
source
visualization
HepRep
include
cheprep
DefaultHepRepPoint.h
Go to the documentation of this file.
1
// Copyright FreeHEP, 2005.
2
#ifndef CHEPREP_DEFAULTHEPREPPOINT_H
3
#define CHEPREP_DEFAULTHEPREPPOINT_H 1
4
5
#include "
cheprep/config.h
"
6
7
#include <string>
8
#include <vector>
9
10
#include "
HEPREP/HepRepInstance.h
"
11
#include "
HEPREP/HepRepWriter.h
"
12
#include "
HEPREP/HepRepAttValue.h
"
13
#include "
HEPREP/HepRepPoint.h
"
14
15
#include "
DefaultHepRepAttribute.h
"
16
21
namespace
cheprep {
22
23
class
DefaultHepRepPoint
:
public
DefaultHepRepAttribute
,
public
virtual
HEPREP::HepRepPoint
{
24
25
private
:
26
HEPREP::HepRepInstance
* instance;
27
28
protected
:
29
double
x
,
y
,
z
;
30
31
public
:
32
DefaultHepRepPoint
(
HEPREP::HepRepInstance
* instance,
double
x
,
double
y
,
double
z
);
33
~DefaultHepRepPoint
();
34
35
HEPREP::HepRepInstance
*
getInstance
();
36
37
HEPREP::HepRepAttValue
*
getAttValue
(std::string lowerCaseName);
38
39
HEPREP::HepRepPoint
*
copy
(
HEPREP::HepRepInstance
* parent);
40
double
getX
();
41
double
getY
();
42
double
getZ
();
43
std::vector<double>*
getXYZ
(std::vector<double>* xyz);
44
double
getRho
();
45
double
getPhi
();
46
double
getTheta
();
47
double
getR
();
48
double
getEta
();
49
double
getX
(
double
xVertex,
double
yVertex,
double
zVertex);
50
double
getY
(
double
xVertex,
double
yVertex,
double
zVertex);
51
double
getZ
(
double
xVertex,
double
yVertex,
double
zVertex);
52
double
getRho
(
double
xVertex,
double
yVertex,
double
zVertex);
53
double
getPhi
(
double
xVertex,
double
yVertex,
double
zVertex);
54
double
getTheta
(
double
xVertex,
double
yVertex,
double
zVertex);
55
double
getR
(
double
xVertex,
double
yVertex,
double
zVertex);
56
double
getEta
(
double
xVertex,
double
yVertex,
double
zVertex);
57
};
58
59
}
// cheprep
60
61
62
#endif
Generated on Sat May 25 2013 14:34:14 for Geant4 by
1.8.4