ECCE @ EIC Software
 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 
23 
24  private:
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