Analysis Software
Documentation for sPHENIX simulation software
|
#include <JETSCAPE/blob/main/external_packages/cornelius.h>
Public Member Functions | |
GeneralElement () | |
~GeneralElement () | |
double * | get_centroid () |
double * | get_normal () |
GeneralElement () | |
~GeneralElement () | |
double * | get_centroid () |
double * | get_normal () |
GeneralElement () | |
~GeneralElement () | |
double * | get_centroid () |
double * | get_normal () |
GeneralElement () | |
~GeneralElement () | |
double * | get_centroid () |
double * | get_normal () |
Protected Member Functions | |
virtual void | calculate_centroid () |
virtual void | calculate_normal () |
void | check_normal_direction (double *normal, double *out) |
virtual void | calculate_centroid () |
virtual void | calculate_normal () |
void | check_normal_direction (double *normal, double *out) |
virtual void | calculate_centroid () |
virtual void | calculate_normal () |
void | check_normal_direction (double *normal, double *out) |
virtual void | calculate_centroid () |
virtual void | calculate_normal () |
void | check_normal_direction (double *normal, double *out) |
Protected Attributes | |
double * | centroid |
double * | normal |
int | normal_calculated |
int | centroid_calculated |
Static Protected Attributes | |
static const int | DIM = 4 |
General class for elements. All other element classes are inherited from this.
Definition at line 40 of file cornelius.cpp.
View newest version in sPHENIX GitHub at line 40 of file cornelius.cpp
GeneralElement::GeneralElement | ( | ) |
Constructor allocates memory for centroid and normal.
Definition at line 63 of file cornelius.cpp.
View newest version in sPHENIX GitHub at line 63 of file cornelius.cpp
GeneralElement::~GeneralElement | ( | ) |
Destructor frees memory.
Definition at line 76 of file cornelius.cpp.
View newest version in sPHENIX GitHub at line 76 of file cornelius.cpp
GeneralElement::GeneralElement | ( | ) |
GeneralElement::~GeneralElement | ( | ) |
GeneralElement::GeneralElement | ( | ) |
GeneralElement::~GeneralElement | ( | ) |
GeneralElement::GeneralElement | ( | ) |
GeneralElement::~GeneralElement | ( | ) |
|
inlineprotectedvirtual |
Reimplemented in Polyhedron, Polyhedron, Polygon, Polygon, Line, Line, Polyhedron, Polyhedron, Polygon, Polygon, Line, and Line.
Definition at line 25 of file cornelius.h.
View newest version in sPHENIX GitHub at line 25 of file cornelius.h
|
inlineprotectedvirtual |
Reimplemented in Polyhedron, Polyhedron, Polygon, Polygon, Line, Line, Polyhedron, Polyhedron, Polygon, Polygon, Line, and Line.
Definition at line 31 of file cornelius.h.
View newest version in sPHENIX GitHub at line 31 of file cornelius.h
|
inlineprotectedvirtual |
Reimplemented in Polyhedron, Polyhedron, Polygon, Polygon, Line, Line, Polyhedron, Polyhedron, Polygon, Polygon, Line, and Line.
Definition at line 48 of file cornelius.cpp.
View newest version in sPHENIX GitHub at line 48 of file cornelius.cpp
|
inlineprotectedvirtual |
Reimplemented in Polyhedron, Polyhedron, Polygon, Polygon, Line, Line, Polyhedron, Polyhedron, Polygon, Polygon, Line, and Line.
Definition at line 48 of file cornelius.cpp.
View newest version in sPHENIX GitHub at line 48 of file cornelius.cpp
|
inlineprotectedvirtual |
Reimplemented in Polyhedron, Polyhedron, Polygon, Polygon, Line, Line, Polyhedron, Polyhedron, Polygon, Polygon, Line, and Line.
Definition at line 26 of file cornelius.h.
View newest version in sPHENIX GitHub at line 26 of file cornelius.h
|
inlineprotectedvirtual |
Reimplemented in Polyhedron, Polyhedron, Polygon, Polygon, Line, Line, Polyhedron, Polyhedron, Polygon, Polygon, Line, and Line.
Definition at line 32 of file cornelius.h.
View newest version in sPHENIX GitHub at line 32 of file cornelius.h
|
inlineprotectedvirtual |
Reimplemented in Polyhedron, Polyhedron, Polygon, Polygon, Line, Line, Polyhedron, Polyhedron, Polygon, Polygon, Line, and Line.
Definition at line 49 of file cornelius.cpp.
View newest version in sPHENIX GitHub at line 49 of file cornelius.cpp
|
inlineprotectedvirtual |
Reimplemented in Polyhedron, Polyhedron, Polygon, Polygon, Line, Line, Polyhedron, Polyhedron, Polygon, Polygon, Line, and Line.
Definition at line 49 of file cornelius.cpp.
View newest version in sPHENIX GitHub at line 49 of file cornelius.cpp
Checks if the normal is pointing into right direction. If the normal is pointing in the wrong direction, it is turned to the right direction.
[in/out] | normal The normal vector | |
[in] | out | Vector pointing into outward direction. |
Definition at line 91 of file cornelius.cpp.
View newest version in sPHENIX GitHub at line 91 of file cornelius.cpp
References dot_product(), and i.
double* GeneralElement::get_centroid | ( | ) |
double* GeneralElement::get_centroid | ( | ) |
double* GeneralElement::get_centroid | ( | ) |
double * GeneralElement::get_centroid | ( | ) |
Returns the centroid as a (double*) always in 4d.
Definition at line 115 of file cornelius.cpp.
View newest version in sPHENIX GitHub at line 115 of file cornelius.cpp
Referenced by Cornelius::find_surface_2d(), Cornelius::find_surface_4d(), and Cornelius::surface_3d().
double* GeneralElement::get_normal | ( | ) |
double* GeneralElement::get_normal | ( | ) |
double* GeneralElement::get_normal | ( | ) |
double * GeneralElement::get_normal | ( | ) |
Returns the normal as a (double*) always in 4d.
Definition at line 129 of file cornelius.cpp.
View newest version in sPHENIX GitHub at line 129 of file cornelius.cpp
Referenced by Cornelius::find_surface_2d(), Cornelius::find_surface_4d(), and Cornelius::surface_3d().
|
protected |
Definition at line 44 of file cornelius.cpp.
View newest version in sPHENIX GitHub at line 44 of file cornelius.cpp
|
protected |
Definition at line 47 of file cornelius.cpp.
View newest version in sPHENIX GitHub at line 47 of file cornelius.cpp
|
staticprotected |
Definition at line 43 of file cornelius.cpp.
View newest version in sPHENIX GitHub at line 43 of file cornelius.cpp
|
protected |
Definition at line 45 of file cornelius.cpp.
View newest version in sPHENIX GitHub at line 45 of file cornelius.cpp
|
protected |
Definition at line 46 of file cornelius.cpp.
View newest version in sPHENIX GitHub at line 46 of file cornelius.cpp