![]() |
EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_coresoftware/blob/master/simulation/g4simulation/g4detectors/PHG4BlockGeomv1.h>
Inheritance diagram for PHG4BlockGeomv1:
Collaboration diagram for PHG4BlockGeomv1:Public Member Functions | |
| PHG4BlockGeomv1 () | |
| PHG4BlockGeomv1 (const int layer, const double sizex, const double sizey, const double sizez, const double centerx, const double centery, const double centerz, const double zrot) | |
| ~PHG4BlockGeomv1 () override | |
| void | identify (std::ostream &os=std::cout) const override |
| int | get_layer () const override |
| double | get_width () const override |
| double | get_thickness () const override |
| double | get_length () const override |
| double | get_center_x () const override |
| double | get_center_y () const override |
| double | get_center_z () const override |
| double | get_z_rot () const override |
| double | get_size_x () const override |
| double | get_size_y () const override |
| double | get_size_z () const override |
| double | get_rot_matrix (const int i, const int j) const override |
| void | set_layer (const int i) override |
| void | set_size (const double sizex, const double sizey, const double sizez) override |
| void | set_z_rot (const double zrot) override |
| void | convert_local_to_global (double, double, double, double &, double &, double &) const override |
| void | set_center (const double centerx, const double centery, const double centerz) |
| void | convert_global_x_to_local (double, double, double, double &, double &, double &) const |
Public Member Functions inherited from PHG4BlockGeom | |
| ~PHG4BlockGeom () override | |
| virtual void | set_place (const double, const double, const double) |
| virtual void | convert_global_to_local (const double, const double, const double, double &, double &, double &) const |
Public Member Functions inherited from PHObject | |
| PHObject () | |
| ctor | |
| ~PHObject () override | |
| dtor | |
| virtual PHObject * | CloneMe () const |
| Virtual copy constructor. | |
| virtual PHObject * | clone () const final |
| PHObject * | Clone (const char *newname="") const final |
| void | Copy (TObject &object) const final |
| virtual void | Reset () |
| Clear Event. | |
| virtual int | isValid () const |
| isValid returns non zero if object contains vailid data | |
| virtual int | isValid (const float) const |
| virtual int | isValid (const double) const |
| virtual int | isValid (const int) const |
| virtual int | isValid (const unsigned int) const |
| virtual int | isImplemented (const float f) const |
| virtual int | isImplemented (const double f) const |
| virtual int | isImplemented (const int i) const |
| virtual int | isImplemented (const unsigned int i) const |
| virtual int | Integrate () const |
| virtual int | Integrate (PHObject *) |
| virtual void | CopyFrom (const PHObject *obj) |
Protected Member Functions | |
| void | _build_rot_matrix () |
Protected Member Functions inherited from PHG4BlockGeom | |
| PHG4BlockGeom () | |
Protected Attributes | |
| int | _layer |
| double | _size [3] |
| double | _center [3] |
| double | _rotation_z |
| double | _rot_matrix [3][3] |
Definition at line 10 of file PHG4BlockGeomv1.h.
View newest version in sPHENIX GitHub at line 10 of file PHG4BlockGeomv1.h
| PHG4BlockGeomv1::PHG4BlockGeomv1 | ( | ) |
Definition at line 8 of file PHG4BlockGeomv1.cc.
View newest version in sPHENIX GitHub at line 8 of file PHG4BlockGeomv1.cc
References _center, _rot_matrix, and _size.
| PHG4BlockGeomv1::PHG4BlockGeomv1 | ( | const int | layer, |
| const double | sizex, | ||
| const double | sizey, | ||
| const double | sizez, | ||
| const double | centerx, | ||
| const double | centery, | ||
| const double | centerz, | ||
| const double | zrot | ||
| ) |
Definition at line 19 of file PHG4BlockGeomv1.cc.
View newest version in sPHENIX GitHub at line 19 of file PHG4BlockGeomv1.cc
References _build_rot_matrix(), _center, and _size.
Here is the call graph for this function:
|
inlineoverride |
Definition at line 19 of file PHG4BlockGeomv1.h.
View newest version in sPHENIX GitHub at line 19 of file PHG4BlockGeomv1.h
|
protected |
Definition at line 92 of file PHG4BlockGeomv1.cc.
View newest version in sPHENIX GitHub at line 92 of file PHG4BlockGeomv1.cc
References _rot_matrix, _rotation_z, and cos().
Referenced by PHG4BlockGeomv1(), and set_z_rot().
Here is the call graph for this function:
Here is the caller graph for this function:| void PHG4BlockGeomv1::convert_global_x_to_local | ( | double | gx, |
| double | gy, | ||
| double | gz, | ||
| double & | lx, | ||
| double & | ly, | ||
| double & | lz | ||
| ) | const |
Definition at line 79 of file PHG4BlockGeomv1.cc.
View newest version in sPHENIX GitHub at line 79 of file PHG4BlockGeomv1.cc
References _center, and _rot_matrix.
|
overridevirtual |
Reimplemented from PHG4BlockGeom.
Definition at line 66 of file PHG4BlockGeomv1.cc.
View newest version in sPHENIX GitHub at line 66 of file PHG4BlockGeomv1.cc
References _center, and _rot_matrix.
|
inlineoverridevirtual |
Reimplemented from PHG4BlockGeom.
Definition at line 28 of file PHG4BlockGeomv1.h.
View newest version in sPHENIX GitHub at line 28 of file PHG4BlockGeomv1.h
References _center.
|
inlineoverridevirtual |
Reimplemented from PHG4BlockGeom.
Definition at line 29 of file PHG4BlockGeomv1.h.
View newest version in sPHENIX GitHub at line 29 of file PHG4BlockGeomv1.h
References _center.
|
inlineoverridevirtual |
Reimplemented from PHG4BlockGeom.
Definition at line 30 of file PHG4BlockGeomv1.h.
View newest version in sPHENIX GitHub at line 30 of file PHG4BlockGeomv1.h
References _center.
|
inlineoverridevirtual |
Reimplemented from PHG4BlockGeom.
Definition at line 24 of file PHG4BlockGeomv1.h.
View newest version in sPHENIX GitHub at line 24 of file PHG4BlockGeomv1.h
References _layer.
|
inlineoverridevirtual |
Reimplemented from PHG4BlockGeom.
Definition at line 27 of file PHG4BlockGeomv1.h.
View newest version in sPHENIX GitHub at line 27 of file PHG4BlockGeomv1.h
References _size.
|
inlineoverridevirtual |
Reimplemented from PHG4BlockGeom.
Definition at line 37 of file PHG4BlockGeomv1.h.
View newest version in sPHENIX GitHub at line 37 of file PHG4BlockGeomv1.h
References _rot_matrix.
|
inlineoverridevirtual |
Reimplemented from PHG4BlockGeom.
Definition at line 33 of file PHG4BlockGeomv1.h.
View newest version in sPHENIX GitHub at line 33 of file PHG4BlockGeomv1.h
References _size.
|
inlineoverridevirtual |
Reimplemented from PHG4BlockGeom.
Definition at line 34 of file PHG4BlockGeomv1.h.
View newest version in sPHENIX GitHub at line 34 of file PHG4BlockGeomv1.h
References _size.
|
inlineoverridevirtual |
Reimplemented from PHG4BlockGeom.
Definition at line 35 of file PHG4BlockGeomv1.h.
View newest version in sPHENIX GitHub at line 35 of file PHG4BlockGeomv1.h
References _size.
|
inlineoverridevirtual |
Reimplemented from PHG4BlockGeom.
Definition at line 26 of file PHG4BlockGeomv1.h.
View newest version in sPHENIX GitHub at line 26 of file PHG4BlockGeomv1.h
References _size.
|
inlineoverridevirtual |
Reimplemented from PHG4BlockGeom.
Definition at line 25 of file PHG4BlockGeomv1.h.
View newest version in sPHENIX GitHub at line 25 of file PHG4BlockGeomv1.h
References _size.
|
inlineoverridevirtual |
Reimplemented from PHG4BlockGeom.
Definition at line 31 of file PHG4BlockGeomv1.h.
View newest version in sPHENIX GitHub at line 31 of file PHG4BlockGeomv1.h
References _rotation_z.
|
overridevirtual |
identify Function from PHObject
| os | Output Stream |
Reimplemented from PHG4BlockGeom.
Definition at line 38 of file PHG4BlockGeomv1.cc.
View newest version in sPHENIX GitHub at line 38 of file PHG4BlockGeomv1.cc
References _center, _layer, _rotation_z, and _size.
| void PHG4BlockGeomv1::set_center | ( | const double | centerx, |
| const double | centery, | ||
| const double | centerz | ||
| ) |
Definition at line 58 of file PHG4BlockGeomv1.cc.
View newest version in sPHENIX GitHub at line 58 of file PHG4BlockGeomv1.cc
References _center.
|
inlineoverridevirtual |
Reimplemented from PHG4BlockGeom.
Definition at line 39 of file PHG4BlockGeomv1.h.
View newest version in sPHENIX GitHub at line 39 of file PHG4BlockGeomv1.h
References _layer.
|
overridevirtual |
Reimplemented from PHG4BlockGeom.
Definition at line 49 of file PHG4BlockGeomv1.cc.
View newest version in sPHENIX GitHub at line 49 of file PHG4BlockGeomv1.cc
References _size.
|
inlineoverridevirtual |
Reimplemented from PHG4BlockGeom.
Definition at line 44 of file PHG4BlockGeomv1.h.
View newest version in sPHENIX GitHub at line 44 of file PHG4BlockGeomv1.h
References _build_rot_matrix(), and _rotation_z.
Here is the call graph for this function:
|
protected |
Definition at line 57 of file PHG4BlockGeomv1.h.
View newest version in sPHENIX GitHub at line 57 of file PHG4BlockGeomv1.h
Referenced by convert_global_x_to_local(), convert_local_to_global(), get_center_x(), get_center_y(), get_center_z(), identify(), PHG4BlockGeomv1(), and set_center().
|
protected |
Definition at line 55 of file PHG4BlockGeomv1.h.
View newest version in sPHENIX GitHub at line 55 of file PHG4BlockGeomv1.h
Referenced by get_layer(), identify(), and set_layer().
|
protected |
Definition at line 61 of file PHG4BlockGeomv1.h.
View newest version in sPHENIX GitHub at line 61 of file PHG4BlockGeomv1.h
Referenced by _build_rot_matrix(), convert_global_x_to_local(), convert_local_to_global(), get_rot_matrix(), and PHG4BlockGeomv1().
|
protected |
Definition at line 58 of file PHG4BlockGeomv1.h.
View newest version in sPHENIX GitHub at line 58 of file PHG4BlockGeomv1.h
Referenced by _build_rot_matrix(), get_z_rot(), identify(), and set_z_rot().
|
protected |
Definition at line 56 of file PHG4BlockGeomv1.h.
View newest version in sPHENIX GitHub at line 56 of file PHG4BlockGeomv1.h
Referenced by get_length(), get_size_x(), get_size_y(), get_size_z(), get_thickness(), get_width(), identify(), PHG4BlockGeomv1(), and set_size().