Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 
21 namespace 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::HepRepInstance * getInstance()
std::vector< double > * getXYZ(std::vector< double > *xyz)
HEPREP::HepRepPoint * copy(HEPREP::HepRepInstance *parent)
DefaultHepRepPoint(HEPREP::HepRepInstance *instance, double x, double y, double z)
HEPREP::HepRepAttValue * getAttValue(std::string lowerCaseName)