Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
#include <DefaultHepRepPoint.h>
Public Member Functions | |
DefaultHepRepPoint (HEPREP::HepRepInstance *instance, double x, double y, double z) | |
~DefaultHepRepPoint () | |
HEPREP::HepRepInstance * | getInstance () |
HEPREP::HepRepAttValue * | getAttValue (std::string lowerCaseName) |
HEPREP::HepRepPoint * | copy (HEPREP::HepRepInstance *parent) |
double | getX () |
double | getY () |
double | getZ () |
std::vector< double > * | getXYZ (std::vector< double > *xyz) |
double | getRho () |
double | getPhi () |
double | getTheta () |
double | getR () |
double | getEta () |
double | getX (double xVertex, double yVertex, double zVertex) |
double | getY (double xVertex, double yVertex, double zVertex) |
double | getZ (double xVertex, double yVertex, double zVertex) |
double | getRho (double xVertex, double yVertex, double zVertex) |
double | getPhi (double xVertex, double yVertex, double zVertex) |
double | getTheta (double xVertex, double yVertex, double zVertex) |
double | getR (double xVertex, double yVertex, double zVertex) |
double | getEta (double xVertex, double yVertex, double zVertex) |
Public Member Functions inherited from cheprep::DefaultHepRepAttribute | |
DefaultHepRepAttribute () | |
~DefaultHepRepAttribute () | |
std::set< HEPREP::HepRepAttValue * > | getAttValuesFromNode () |
void | addAttValue (HEPREP::HepRepAttValue *hepRepAttValue) |
void | addAttValue (std::string key, char *value, int showLabel) |
void | addAttValue (std::string key, std::string value, int showLabel) |
void | addAttValue (std::string key, int value, int showLabel) |
void | addAttValue (std::string key, int64 value, int showLabel) |
void | addAttValue (std::string key, double value, int showLabel) |
void | addAttValue (std::string key, bool value, int showLabel) |
void | addAttValue (std::string key, std::vector< double > value, int showLabel) |
void | addAttValue (std::string key, double red, double green, double blue, double alpha, int showLabel) |
HEPREP::HepRepAttValue * | getAttValueFromNode (std::string lowerCaseName) |
HEPREP::HepRepAttValue * | removeAttValue (std::string key) |
HEPREP::HepRepAttValue * | getAttValue (std::string name)=0 |
Public Member Functions inherited from HEPREP::HepRepAttribute | |
virtual | ~HepRepAttribute () |
Destructor. | |
virtual void | addAttValue (HepRepAttValue *attValue)=0 |
virtual void | addAttValue (std::string key, char *value, int showLabel=HepRepConstants::SHOW_NONE)=0 |
virtual void | addAttValue (std::string key, std::string value, int showLabel=HepRepConstants::SHOW_NONE)=0 |
virtual void | addAttValue (std::string key, int64 value, int showLabel=HepRepConstants::SHOW_NONE)=0 |
virtual void | addAttValue (std::string key, int value, int showLabel=HepRepConstants::SHOW_NONE)=0 |
virtual void | addAttValue (std::string key, double value, int showLabel=HepRepConstants::SHOW_NONE)=0 |
virtual void | addAttValue (std::string key, bool value, int showLabel=HepRepConstants::SHOW_NONE)=0 |
virtual void | addAttValue (std::string key, std::vector< double > value, int showLabel=HepRepConstants::SHOW_NONE)=0 |
virtual void | addAttValue (std::string key, double red, double green, double blue, double alpha=1.0, int showLabel=HepRepConstants::SHOW_NONE)=0 |
virtual HepRepAttValue * | removeAttValue (std::string key)=0 |
virtual HepRepAttValue * | getAttValue (std::string name)=0 |
virtual std::set< HepRepAttValue * > | getAttValuesFromNode ()=0 |
virtual HepRepAttValue * | getAttValueFromNode (std::string lowerCaseName)=0 |
Public Member Functions inherited from HEPREP::HepRepPoint | |
virtual | ~HepRepPoint () |
Destructor. | |
virtual double | getX ()=0 |
virtual double | getY ()=0 |
virtual double | getZ ()=0 |
virtual double | getRho ()=0 |
virtual double | getPhi ()=0 |
virtual double | getTheta ()=0 |
virtual double | getR ()=0 |
virtual double | getEta ()=0 |
virtual double | getX (double xVertex, double yVertex, double zVertex)=0 |
virtual double | getY (double xVertex, double yVertex, double zVertex)=0 |
virtual double | getZ (double xVertex, double yVertex, double zVertex)=0 |
virtual double | getRho (double xVertex, double yVertex, double zVertex)=0 |
virtual double | getPhi (double xVertex, double yVertex, double zVertex)=0 |
virtual double | getTheta (double xVertex, double yVertex, double zVertex)=0 |
virtual double | getR (double xVertex, double yVertex, double zVertex)=0 |
virtual double | getEta (double xVertex, double yVertex, double zVertex)=0 |
virtual std::vector< double > * | getXYZ (std::vector< double > *xyz)=0 |
virtual HepRepInstance * | getInstance ()=0 |
virtual HepRepPoint * | copy (HepRepInstance *parent)=0 |
Protected Attributes | |
double | x |
double | y |
double | z |
Definition at line 22 of file DefaultHepRepPoint.h.
cheprep::DefaultHepRepPoint::DefaultHepRepPoint | ( | HEPREP::HepRepInstance * | instance, |
double | x, | ||
double | y, | ||
double | z | ||
) |
Definition at line 17 of file DefaultHepRepPoint.cc.
cheprep::DefaultHepRepPoint::~DefaultHepRepPoint | ( | ) |
Definition at line 27 of file DefaultHepRepPoint.cc.
|
virtual |
Returns a deep copy of this point.
parent | to add the copy to. |
Implements HEPREP::HepRepPoint.
Definition at line 39 of file DefaultHepRepPoint.cc.
|
virtual |
Returns the attValue specified by name. This attValue is normally searched on the node itself and then on its type, moving up the typetree.
name | of attribute value. |
Implements cheprep::DefaultHepRepAttribute.
Definition at line 34 of file DefaultHepRepPoint.cc.
|
virtual |
Returns coordinate with respect to vertex at (0, 0, 0).
Implements HEPREP::HepRepPoint.
Definition at line 79 of file DefaultHepRepPoint.cc.
|
virtual |
Returns coordinate with respect to vertex at (xVertex, yVertex, zVertex).
Implements HEPREP::HepRepPoint.
Definition at line 116 of file DefaultHepRepPoint.cc.
|
virtual |
Returns associated instance (parent).
Implements HEPREP::HepRepPoint.
Definition at line 30 of file DefaultHepRepPoint.cc.
|
virtual |
Returns coordinate with respect to vertex at (0, 0, 0).
Implements HEPREP::HepRepPoint.
Definition at line 66 of file DefaultHepRepPoint.cc.
|
virtual |
Returns coordinate with respect to vertex at (xVertex, yVertex, zVertex).
Implements HEPREP::HepRepPoint.
Definition at line 102 of file DefaultHepRepPoint.cc.
|
virtual |
Returns coordinate with respect to vertex at (0, 0, 0).
Implements HEPREP::HepRepPoint.
Definition at line 74 of file DefaultHepRepPoint.cc.
|
virtual |
Returns coordinate with respect to vertex at (xVertex, yVertex, zVertex).
Implements HEPREP::HepRepPoint.
Definition at line 110 of file DefaultHepRepPoint.cc.
|
virtual |
Returns coordinate with respect to vertex at (0, 0, 0).
Implements HEPREP::HepRepPoint.
Definition at line 62 of file DefaultHepRepPoint.cc.
Referenced by getR(), and getTheta().
|
virtual |
Returns coordinate with respect to vertex at (xVertex, yVertex, zVertex).
Implements HEPREP::HepRepPoint.
Definition at line 96 of file DefaultHepRepPoint.cc.
|
virtual |
Returns coordinate with respect to vertex at (0, 0, 0).
Implements HEPREP::HepRepPoint.
Definition at line 70 of file DefaultHepRepPoint.cc.
Referenced by getEta().
|
virtual |
Returns coordinate with respect to vertex at (xVertex, yVertex, zVertex).
Implements HEPREP::HepRepPoint.
Definition at line 106 of file DefaultHepRepPoint.cc.
|
virtual |
Returns coordinate with respect to vertex at (0, 0, 0).
Implements HEPREP::HepRepPoint.
Definition at line 43 of file DefaultHepRepPoint.cc.
|
virtual |
Returns coordinate with respect to vertex at (xVertex, yVertex, zVertex).
Implements HEPREP::HepRepPoint.
Definition at line 84 of file DefaultHepRepPoint.cc.
|
virtual |
Returns coordinate with respect to vertex at (0, 0, 0).
xyz | list of three coordinates which are filled and returned. If null, a new list of three coordinates is allocated. |
Implements HEPREP::HepRepPoint.
Definition at line 55 of file DefaultHepRepPoint.cc.
|
virtual |
Returns coordinate with respect to vertex at (0, 0, 0).
Implements HEPREP::HepRepPoint.
Definition at line 47 of file DefaultHepRepPoint.cc.
|
virtual |
Returns coordinate with respect to vertex at (xVertex, yVertex, zVertex).
Implements HEPREP::HepRepPoint.
Definition at line 88 of file DefaultHepRepPoint.cc.
|
virtual |
Returns coordinate with respect to vertex at (0, 0, 0).
Implements HEPREP::HepRepPoint.
Definition at line 51 of file DefaultHepRepPoint.cc.
Referenced by getR(), and getTheta().
|
virtual |
Returns coordinate with respect to vertex at (xVertex, yVertex, zVertex).
Implements HEPREP::HepRepPoint.
Definition at line 92 of file DefaultHepRepPoint.cc.
|
protected |
|
protected |
|
protected |
Definition at line 28 of file DefaultHepRepPoint.h.
Referenced by copy(), getR(), getTheta(), getXYZ(), and getZ().