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
11#include "HEPREP/HepRepWriter.h"
13#include "HEPREP/HepRepPoint.h"
14
16
17/**
18 * @author Mark Donszelmann
19 * @version $Id: DefaultHepRepPoint.h,v 1.3 2005-06-02 21:28:45 duns Exp $
20 */
21namespace cheprep {
22
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);
34
36
37 HEPREP::HepRepAttValue* getAttValue(std::string lowerCaseName);
38
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
HEPREP::HepRepAttValue * getAttValue(std::string lowerCaseName)
std::vector< double > * getXYZ(std::vector< double > *xyz)
HEPREP::HepRepInstance * getInstance()
HEPREP::HepRepPoint * copy(HEPREP::HepRepInstance *parent)