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
11#include "HEPREP/HepRepWriter.h"
13#include "HEPREP/HepRepPoint.h"
14
16
17/**
18 * @author Mark Donszelmann
19 */
20namespace cheprep {
21
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);
33
35
36 HEPREP::HepRepAttValue* getAttValue(std::string lowerCaseName);
37
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
HEPREP::HepRepAttValue * getAttValue(std::string lowerCaseName)
std::vector< double > * getXYZ(std::vector< double > *xyz)
HEPREP::HepRepInstance * getInstance()
HEPREP::HepRepPoint * copy(HEPREP::HepRepInstance *parent)