Geant4
9.6.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
* @version $Id: DefaultHepRepPoint.h,v 1.3 2005-06-02 21:28:45 duns Exp $
20
*/
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
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:23
cheprep::DefaultHepRepPoint
Definition:
DefaultHepRepPoint.h:23
cheprep::DefaultHepRepPoint::getPhi
double getPhi()
Definition:
DefaultHepRepPoint.cc:67
cheprep::DefaultHepRepPoint::y
double y
Definition:
DefaultHepRepPoint.h:29
cheprep::DefaultHepRepPoint::getTheta
double getTheta()
Definition:
DefaultHepRepPoint.cc:71
cheprep::DefaultHepRepPoint::getZ
double getZ()
Definition:
DefaultHepRepPoint.cc:52
cheprep::DefaultHepRepPoint::getY
double getY()
Definition:
DefaultHepRepPoint.cc:48
cheprep::DefaultHepRepPoint::getX
double getX()
Definition:
DefaultHepRepPoint.cc:44
cheprep::DefaultHepRepPoint::getAttValue
HEPREP::HepRepAttValue * getAttValue(std::string lowerCaseName)
Definition:
DefaultHepRepPoint.cc:35
cheprep::DefaultHepRepPoint::getXYZ
std::vector< double > * getXYZ(std::vector< double > *xyz)
Definition:
DefaultHepRepPoint.cc:56
cheprep::DefaultHepRepPoint::getRho
double getRho()
Definition:
DefaultHepRepPoint.cc:63
cheprep::DefaultHepRepPoint::getInstance
HEPREP::HepRepInstance * getInstance()
Definition:
DefaultHepRepPoint.cc:31
cheprep::DefaultHepRepPoint::copy
HEPREP::HepRepPoint * copy(HEPREP::HepRepInstance *parent)
Definition:
DefaultHepRepPoint.cc:40
cheprep::DefaultHepRepPoint::~DefaultHepRepPoint
~DefaultHepRepPoint()
Definition:
DefaultHepRepPoint.cc:28
cheprep::DefaultHepRepPoint::x
double x
Definition:
DefaultHepRepPoint.h:29
cheprep::DefaultHepRepPoint::getEta
double getEta()
Definition:
DefaultHepRepPoint.cc:80
cheprep::DefaultHepRepPoint::z
double z
Definition:
DefaultHepRepPoint.h:29
cheprep::DefaultHepRepPoint::getR
double getR()
Definition:
DefaultHepRepPoint.cc:75
config.h
cheprep
Definition:
AbstractXMLWriter.h:13
geant4-v9.6.0
source
visualization
HepRep
include
cheprep
DefaultHepRepPoint.h
Generated by
1.9.6