Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
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 
21 namespace cheprep {
22 
24 
25  private:
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
DefaultHepRepPoint(HEPREP::HepRepInstance *instance, double x, double y, double z)
HEPREP::HepRepInstance * getInstance()
HEPREP::HepRepPoint * copy(HEPREP::HepRepInstance *parent)
std::vector< double > * getXYZ(std::vector< double > *xyz)
HEPREP::HepRepAttValue * getAttValue(std::string lowerCaseName)
HEPREP::HepRepInstance * instance