Geant4 9.6.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 23 of file DefaultHepRepPoint.h.
cheprep::DefaultHepRepPoint::DefaultHepRepPoint | ( | HEPREP::HepRepInstance * | instance, |
double | x, | ||
double | y, | ||
double | z | ||
) |
Definition at line 18 of file DefaultHepRepPoint.cc.
cheprep::DefaultHepRepPoint::~DefaultHepRepPoint | ( | ) |
Definition at line 28 of file DefaultHepRepPoint.cc.
|
virtual |
Returns a deep copy of this point.
parent | to add the copy to. |
Implements HEPREP::HepRepPoint.
Definition at line 40 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 35 of file DefaultHepRepPoint.cc.
|
virtual |
Returns coordinate with respect to vertex at (0, 0, 0).
Implements HEPREP::HepRepPoint.
Definition at line 80 of file DefaultHepRepPoint.cc.
|
virtual |
Returns coordinate with respect to vertex at (xVertex, yVertex, zVertex).
Implements HEPREP::HepRepPoint.
Definition at line 117 of file DefaultHepRepPoint.cc.
|
virtual |
Returns associated instance (parent).
Implements HEPREP::HepRepPoint.
Definition at line 31 of file DefaultHepRepPoint.cc.
|
virtual |
Returns coordinate with respect to vertex at (0, 0, 0).
Implements HEPREP::HepRepPoint.
Definition at line 67 of file DefaultHepRepPoint.cc.
|
virtual |
Returns coordinate with respect to vertex at (xVertex, yVertex, zVertex).
Implements HEPREP::HepRepPoint.
Definition at line 103 of file DefaultHepRepPoint.cc.
|
virtual |
Returns coordinate with respect to vertex at (0, 0, 0).
Implements HEPREP::HepRepPoint.
Definition at line 75 of file DefaultHepRepPoint.cc.
|
virtual |
Returns coordinate with respect to vertex at (xVertex, yVertex, zVertex).
Implements HEPREP::HepRepPoint.
Definition at line 111 of file DefaultHepRepPoint.cc.
|
virtual |
Returns coordinate with respect to vertex at (0, 0, 0).
Implements HEPREP::HepRepPoint.
Definition at line 63 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 97 of file DefaultHepRepPoint.cc.
|
virtual |
Returns coordinate with respect to vertex at (0, 0, 0).
Implements HEPREP::HepRepPoint.
Definition at line 71 of file DefaultHepRepPoint.cc.
Referenced by getEta().
|
virtual |
Returns coordinate with respect to vertex at (xVertex, yVertex, zVertex).
Implements HEPREP::HepRepPoint.
Definition at line 107 of file DefaultHepRepPoint.cc.
|
virtual |
Returns coordinate with respect to vertex at (0, 0, 0).
Implements HEPREP::HepRepPoint.
Definition at line 44 of file DefaultHepRepPoint.cc.
|
virtual |
Returns coordinate with respect to vertex at (xVertex, yVertex, zVertex).
Implements HEPREP::HepRepPoint.
Definition at line 85 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 56 of file DefaultHepRepPoint.cc.
|
virtual |
Returns coordinate with respect to vertex at (0, 0, 0).
Implements HEPREP::HepRepPoint.
Definition at line 48 of file DefaultHepRepPoint.cc.
|
virtual |
Returns coordinate with respect to vertex at (xVertex, yVertex, zVertex).
Implements HEPREP::HepRepPoint.
Definition at line 89 of file DefaultHepRepPoint.cc.
|
virtual |
Returns coordinate with respect to vertex at (0, 0, 0).
Implements HEPREP::HepRepPoint.
Definition at line 52 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 93 of file DefaultHepRepPoint.cc.
|
protected |
|
protected |
|
protected |
Definition at line 29 of file DefaultHepRepPoint.h.
Referenced by copy(), getR(), getTheta(), getXYZ(), and getZ().