ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
DefaultHepRepPoint.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file DefaultHepRepPoint.h
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
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
geant4
tree
geant4-10.6-release
source
visualization
HepRep
include
cheprep
DefaultHepRepPoint.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:25:54
using
1.8.2 with
ECCE GitHub integration