Geant4
10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
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
17
/**
18
* @author Mark Donszelmann
19
*/
20
namespace
cheprep
{
21
22
class
DefaultHepRepPoint
:
public
DefaultHepRepAttribute
,
public
virtual
HEPREP::HepRepPoint
{
23
24
private
:
25
HEPREP::HepRepInstance
* instance;
26
27
protected
:
28
double
x
,
y
,
z
;
29
30
public
:
31
DefaultHepRepPoint
(
HEPREP::HepRepInstance
* instance,
double
x
,
double
y
,
double
z
);
32
~DefaultHepRepPoint
();
33
34
HEPREP::HepRepInstance
*
getInstance
();
35
36
HEPREP::HepRepAttValue
*
getAttValue
(std::string lowerCaseName);
37
38
HEPREP::HepRepPoint
*
copy
(
HEPREP::HepRepInstance
* parent);
39
double
getX
();
40
double
getY
();
41
double
getZ
();
42
std::vector<double>*
getXYZ
(std::vector<double>* xyz);
43
double
getRho
();
44
double
getPhi
();
45
double
getTheta
();
46
double
getR
();
47
double
getEta
();
48
double
getX
(
double
xVertex,
double
yVertex,
double
zVertex);
49
double
getY
(
double
xVertex,
double
yVertex,
double
zVertex);
50
double
getZ
(
double
xVertex,
double
yVertex,
double
zVertex);
51
double
getRho
(
double
xVertex,
double
yVertex,
double
zVertex);
52
double
getPhi
(
double
xVertex,
double
yVertex,
double
zVertex);
53
double
getTheta
(
double
xVertex,
double
yVertex,
double
zVertex);
54
double
getR
(
double
xVertex,
double
yVertex,
double
zVertex);
55
double
getEta
(
double
xVertex,
double
yVertex,
double
zVertex);
56
};
57
58
}
// cheprep
59
60
61
#endif
DefaultHepRepAttribute.h
HepRepAttValue.h
HepRepInstance.h
HepRepPoint.h
HepRepWriter.h
HEPREP::HepRepAttValue
Definition:
HepRepAttValue.h:24
HEPREP::HepRepInstance
Definition:
HepRepInstance.h:29
HEPREP::HepRepPoint
Definition:
HepRepPoint.h:25
cheprep::DefaultHepRepAttribute
Definition:
DefaultHepRepAttribute.h:22
cheprep::DefaultHepRepPoint
Definition:
DefaultHepRepPoint.h:22
cheprep::DefaultHepRepPoint::getPhi
double getPhi()
Definition:
DefaultHepRepPoint.cc:66
cheprep::DefaultHepRepPoint::y
double y
Definition:
DefaultHepRepPoint.h:28
cheprep::DefaultHepRepPoint::getTheta
double getTheta()
Definition:
DefaultHepRepPoint.cc:70
cheprep::DefaultHepRepPoint::getZ
double getZ()
Definition:
DefaultHepRepPoint.cc:51
cheprep::DefaultHepRepPoint::getY
double getY()
Definition:
DefaultHepRepPoint.cc:47
cheprep::DefaultHepRepPoint::getX
double getX()
Definition:
DefaultHepRepPoint.cc:43
cheprep::DefaultHepRepPoint::getAttValue
HEPREP::HepRepAttValue * getAttValue(std::string lowerCaseName)
Definition:
DefaultHepRepPoint.cc:34
cheprep::DefaultHepRepPoint::getXYZ
std::vector< double > * getXYZ(std::vector< double > *xyz)
Definition:
DefaultHepRepPoint.cc:55
cheprep::DefaultHepRepPoint::getRho
double getRho()
Definition:
DefaultHepRepPoint.cc:62
cheprep::DefaultHepRepPoint::getInstance
HEPREP::HepRepInstance * getInstance()
Definition:
DefaultHepRepPoint.cc:30
cheprep::DefaultHepRepPoint::copy
HEPREP::HepRepPoint * copy(HEPREP::HepRepInstance *parent)
Definition:
DefaultHepRepPoint.cc:39
cheprep::DefaultHepRepPoint::~DefaultHepRepPoint
~DefaultHepRepPoint()
Definition:
DefaultHepRepPoint.cc:27
cheprep::DefaultHepRepPoint::x
double x
Definition:
DefaultHepRepPoint.h:28
cheprep::DefaultHepRepPoint::getEta
double getEta()
Definition:
DefaultHepRepPoint.cc:79
cheprep::DefaultHepRepPoint::z
double z
Definition:
DefaultHepRepPoint.h:28
cheprep::DefaultHepRepPoint::getR
double getR()
Definition:
DefaultHepRepPoint.cc:74
config.h
cheprep
Definition:
AbstractXMLWriter.h:12
geant4-v10.7.0
source
visualization
HepRep
include
cheprep
DefaultHepRepPoint.h
Generated by
1.9.6