DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Simple container for a physics vector. More...
#include <Segmentation.h>
Public Member Functions | |
Vector3D (double x_val=0., double y_val=0., double z_val=0.) | |
Default constructor. More... | |
template<typename T > | |
Vector3D (const T &v) | |
Constructor using a foreign vector class. Requires methods x(), y() and z() More... | |
double | x () const |
Access to x value (required for use with ROOT GenVector) More... | |
double | y () const |
Access to y value (required for use with ROOT GenVector) More... | |
double | z () const |
Access to z value (required for use with ROOT GenVector) More... | |
template<> | |
Vector3D (double x_val, double y_val, double z_val, Vector3D::Cartesian(&)()) | |
template<> | |
Vector3D (double rho_val, double phi_val, double z_val, Vector3D::Cylindrical(&)()) | |
template<> | |
Vector3D (double r_val, double phi_val, double theta_val, Vector3D::Spherical(&)()) | |
Public Attributes | |
double | X |
double | Y |
double | Z |
Simple container for a physics vector.
Definition at line 48 of file Segmentation.h.
|
inline |
Default constructor.
Definition at line 50 of file Segmentation.h.
|
inline |
Constructor using a foreign vector class. Requires methods x(), y() and z()
Definition at line 54 of file Segmentation.h.
|
inline |
Cartesian c'tor - example:
Vector3D v( x, y, c , Vector3D::cartesian ) ;
Definition at line 326 of file Vector3D.h.
|
inline |
Cylindrical c'tor - example:
Vector3D v( rho, phi, z , Vector3D::cylindrical ) ;
Definition at line 336 of file Vector3D.h.
|
inline |
Spherical c'tor - example:
Vector3D v( r, phi, theta , Vector3D::spherical ) ;
Definition at line 347 of file Vector3D.h.
|
inline |
Access to x value (required for use with ROOT GenVector)
Definition at line 60 of file Segmentation.h.
|
inline |
Access to y value (required for use with ROOT GenVector)
Definition at line 64 of file Segmentation.h.
|
inline |
Access to z value (required for use with ROOT GenVector)
Definition at line 68 of file Segmentation.h.
double dd4hep::DDSegmentation::Vector3D::X |
Definition at line 71 of file Segmentation.h.
double dd4hep::DDSegmentation::Vector3D::Y |
Definition at line 71 of file Segmentation.h.
double dd4hep::DDSegmentation::Vector3D::Z |
Definition at line 71 of file Segmentation.h.