EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_coresoftware/blob/master/offline/packages/intt/CylinderGeomIntt.h>
Public Member Functions | |
CylinderGeomIntt () | |
CylinderGeomIntt (const int layer, const double strip_x, const double strip_y, const double strip_z0, const double strip_z1, const int nstrips_z_sensor0, const int nstrips_z_sensor1, const int nstrips_phi_cell, const int nladders_layer, const double ladder_z0, const double ladder_z1, const double sensor_radius, const double strip_x_offset, const double offsetphi, const double offsetrot) | |
void | identify (std::ostream &os=std::cout) const override |
double | get_thickness () const override |
double | get_strip_y_spacing () const override |
double | get_strip_z_spacing () const override |
double | get_strip_tilt () const override |
void | set_layer (const int i) override |
int | get_layer () const override |
double | get_radius () const override |
void | find_segment_center (const int segment_z_bin, const int segment_phi_bin, double location[]) override |
void | find_strip_center (const int segment_z_bin, const int segment_phi_bin, const int strip_column, const int strip_index, double location[]) override |
void | find_strip_index_values (const int segment_z_bin, const double ypos, const double zpos, int &strip_y_index, int &strip_z_index) override |
bool | load_geometry () |
void | find_strip_center_localcoords (const int segment_z_bin, const int strip_y_index, const int strip_z_index, double location[]) |
void | find_indices_from_segment_center (int &segment_z_bin, int &segment_phi_bin, double location[]) |
TVector3 | get_local_from_world_coords (const int segment_z_bin, const int segment_phi_bin, TVector3 world) |
void | find_indices_from_world_location (int &segment_z_bin, int &segment_phi_bin, double location[]) |
double | get_strip_phi_tilt () const |
Public Member Functions inherited from PHG4CylinderGeom | |
~PHG4CylinderGeom () override | |
void | identify (std::ostream &os=std::cout) const override |
virtual double | get_zmin () const |
virtual double | get_zmax () const |
virtual int | get_nscint () const |
virtual double | get_tiltangle () const |
virtual double | get_phi_slat_zero () const |
virtual void | set_radius (const double) |
virtual void | set_thickness (const double) |
virtual void | set_zmin (const double) |
virtual void | set_zmax (const double) |
virtual void | set_nscint (const int) |
virtual void | set_tiltangle (const double) |
virtual void | set_phi_slat_zero (const double) |
virtual void | find_strip_center_local_coords (const int, const int, const int, double[]) |
virtual int | get_N_strip_columns () const |
virtual int | get_N_strips_per_column () const |
virtual int | get_N_sensors_in_layer () const |
virtual double | get_pixel_z () const |
virtual double | get_pixel_x () const |
virtual double | get_pixel_thickness () const |
virtual void | ImportParameters (const PHParameters &) |
load parameters from PHParameters, which interface to Database/XML/ROOT files | |
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 Attributes | |
int | m_Layer |
int | m_NStripsPhiCell |
int | m_NStripsZSensor [2] |
double | m_StripX |
double | m_StripY |
double | m_SensorRadius |
double | m_StripXOffset |
double | m_OffsetPhi |
double | m_OffsetRot |
double | m_dPhi |
double | m_StripZ [2] |
double | m_LadderZ [2] |
Additional Inherited Members | |
Protected Member Functions inherited from PHG4CylinderGeom | |
PHG4CylinderGeom () | |
Definition at line 11 of file CylinderGeomIntt.h.
View newest version in sPHENIX GitHub at line 11 of file CylinderGeomIntt.h
CylinderGeomIntt::CylinderGeomIntt | ( | ) |
Definition at line 11 of file CylinderGeomIntt.cc.
View newest version in sPHENIX GitHub at line 11 of file CylinderGeomIntt.cc
References m_LadderZ, m_NStripsZSensor, and m_StripZ.
|
inline |
Definition at line 15 of file CylinderGeomIntt.h.
View newest version in sPHENIX GitHub at line 15 of file CylinderGeomIntt.h
References m_dPhi, m_LadderZ, m_NStripsZSensor, M_PI, and m_StripZ.
void CylinderGeomIntt::find_indices_from_segment_center | ( | int & | segment_z_bin, |
int & | segment_phi_bin, | ||
double | location[] | ||
) |
Definition at line 96 of file CylinderGeomIntt.cc.
View newest version in sPHENIX GitHub at line 96 of file CylinderGeomIntt.cc
References m_dPhi, m_LadderZ, m_OffsetPhi, M_PI, and phi.
Referenced by MakeActsGeometry::getInttHitSetKeyFromCoords().
void CylinderGeomIntt::find_indices_from_world_location | ( | int & | segment_z_bin, |
int & | segment_phi_bin, | ||
double | location[] | ||
) |
Definition at line 73 of file CylinderGeomIntt.cc.
View newest version in sPHENIX GitHub at line 73 of file CylinderGeomIntt.cc
References m_dPhi, m_LadderZ, m_OffsetPhi, M_PI, phi, and round().
Referenced by PHTruthClustering::G4ClusterSize(), and SvtxTruthEval::G4ClusterSize().
|
overridevirtual |
Reimplemented from PHG4CylinderGeom.
Definition at line 59 of file CylinderGeomIntt.cc.
View newest version in sPHENIX GitHub at line 59 of file CylinderGeomIntt.cc
References cos(), m_dPhi, m_LadderZ, m_OffsetPhi, m_SensorRadius, and phi.
Referenced by find_strip_center(), get_local_from_world_coords(), MakeActsGeometry::getInttHitSetKeyFromCoords(), PHActsSiliconSeeding::matchInttClusters(), PHGenFitTrkProp::ReFitTrack(), PHGenFitTrkFitter::ReFitTrack(), and PHGenFitTrkProp::TrkrClusterToPHGenFitMeasurement().
|
overridevirtual |
Reimplemented from PHG4CylinderGeom.
Definition at line 122 of file CylinderGeomIntt.cc.
View newest version in sPHENIX GitHub at line 122 of file CylinderGeomIntt.cc
References find_segment_center(), m_dPhi, m_NStripsPhiCell, m_NStripsZSensor, m_OffsetPhi, m_OffsetRot, m_StripXOffset, m_StripY, m_StripZ, and phi.
void CylinderGeomIntt::find_strip_center_localcoords | ( | const int | segment_z_bin, |
const int | strip_y_index, | ||
const int | strip_z_index, | ||
double | location[] | ||
) |
Definition at line 190 of file CylinderGeomIntt.cc.
View newest version in sPHENIX GitHub at line 190 of file CylinderGeomIntt.cc
References m_NStripsPhiCell, m_NStripsZSensor, m_StripY, and m_StripZ.
Referenced by InttClusterizer::ClusterLadderCells(), and PHG4InttHitReco::process_event().
|
overridevirtual |
Reimplemented from PHG4CylinderGeom.
Definition at line 154 of file CylinderGeomIntt.cc.
View newest version in sPHENIX GitHub at line 154 of file CylinderGeomIntt.cc
References m_NStripsPhiCell, m_NStripsZSensor, m_StripY, and m_StripZ.
Referenced by PHTruthClustering::G4ClusterSize(), SvtxTruthEval::G4ClusterSize(), and PHG4InttHitReco::process_event().
|
inlineoverridevirtual |
Reimplemented from PHG4CylinderGeom.
Definition at line 83 of file CylinderGeomIntt.h.
View newest version in sPHENIX GitHub at line 83 of file CylinderGeomIntt.h
References m_Layer.
Referenced by identify().
TVector3 CylinderGeomIntt::get_local_from_world_coords | ( | const int | segment_z_bin, |
const int | segment_phi_bin, | ||
TVector3 | world | ||
) |
Definition at line 40 of file CylinderGeomIntt.cc.
View newest version in sPHENIX GitHub at line 40 of file CylinderGeomIntt.cc
References find_segment_center(), m_dPhi, m_OffsetPhi, m_OffsetRot, and phi.
Referenced by PHTruthClustering::G4ClusterSize(), and SvtxTruthEval::G4ClusterSize().
|
inlineoverridevirtual |
Reimplemented from PHG4CylinderGeom.
Definition at line 88 of file CylinderGeomIntt.h.
View newest version in sPHENIX GitHub at line 88 of file CylinderGeomIntt.h
References m_SensorRadius.
Referenced by identify().
|
inline |
Definition at line 104 of file CylinderGeomIntt.h.
View newest version in sPHENIX GitHub at line 104 of file CylinderGeomIntt.h
References m_OffsetRot.
Referenced by PHGenFitTrkProp::ReFitTrack().
|
inlineoverridevirtual |
Reimplemented from PHG4CylinderGeom.
Definition at line 72 of file CylinderGeomIntt.h.
View newest version in sPHENIX GitHub at line 72 of file CylinderGeomIntt.h
|
inlineoverridevirtual |
Reimplemented from PHG4CylinderGeom.
Definition at line 62 of file CylinderGeomIntt.h.
View newest version in sPHENIX GitHub at line 62 of file CylinderGeomIntt.h
References m_StripY.
Referenced by InttClusterizer::ClusterLadderCells(), PHTruthClustering::G4ClusterSize(), SvtxTruthEval::G4ClusterSize(), and PHG4InttHitReco::process_event().
|
inlineoverridevirtual |
Reimplemented from PHG4CylinderGeom.
Definition at line 67 of file CylinderGeomIntt.h.
View newest version in sPHENIX GitHub at line 67 of file CylinderGeomIntt.h
References m_StripZ.
Referenced by InttClusterizer::ClusterLadderCells(), PHTruthClustering::G4ClusterSize(), SvtxTruthEval::G4ClusterSize(), and PHG4InttHitReco::process_event().
|
inlineoverridevirtual |
Reimplemented from PHG4CylinderGeom.
Definition at line 57 of file CylinderGeomIntt.h.
View newest version in sPHENIX GitHub at line 57 of file CylinderGeomIntt.h
References m_StripX.
|
overridevirtual |
identify Function from PHObject
os | Output Stream |
Reimplemented from PHObject.
Definition at line 28 of file CylinderGeomIntt.cc.
View newest version in sPHENIX GitHub at line 28 of file CylinderGeomIntt.cc
References get_layer(), and get_radius().
bool CylinderGeomIntt::load_geometry | ( | ) |
Definition at line 35 of file CylinderGeomIntt.cc.
View newest version in sPHENIX GitHub at line 35 of file CylinderGeomIntt.cc
|
inlineoverridevirtual |
Reimplemented from PHG4CylinderGeom.
Definition at line 78 of file CylinderGeomIntt.h.
View newest version in sPHENIX GitHub at line 78 of file CylinderGeomIntt.h
References m_Layer.
|
protected |
Definition at line 119 of file CylinderGeomIntt.h.
View newest version in sPHENIX GitHub at line 119 of file CylinderGeomIntt.h
Referenced by CylinderGeomIntt(), find_indices_from_segment_center(), find_indices_from_world_location(), find_segment_center(), find_strip_center(), and get_local_from_world_coords().
|
protected |
Definition at line 122 of file CylinderGeomIntt.h.
View newest version in sPHENIX GitHub at line 122 of file CylinderGeomIntt.h
Referenced by CylinderGeomIntt(), find_indices_from_segment_center(), find_indices_from_world_location(), and find_segment_center().
|
protected |
Definition at line 110 of file CylinderGeomIntt.h.
View newest version in sPHENIX GitHub at line 110 of file CylinderGeomIntt.h
Referenced by get_layer(), and set_layer().
|
protected |
Definition at line 111 of file CylinderGeomIntt.h.
View newest version in sPHENIX GitHub at line 111 of file CylinderGeomIntt.h
Referenced by find_strip_center(), find_strip_center_localcoords(), and find_strip_index_values().
|
protected |
Definition at line 112 of file CylinderGeomIntt.h.
View newest version in sPHENIX GitHub at line 112 of file CylinderGeomIntt.h
Referenced by CylinderGeomIntt(), find_strip_center(), find_strip_center_localcoords(), and find_strip_index_values().
|
protected |
Definition at line 117 of file CylinderGeomIntt.h.
View newest version in sPHENIX GitHub at line 117 of file CylinderGeomIntt.h
Referenced by find_indices_from_segment_center(), find_indices_from_world_location(), find_segment_center(), find_strip_center(), and get_local_from_world_coords().
|
protected |
Definition at line 118 of file CylinderGeomIntt.h.
View newest version in sPHENIX GitHub at line 118 of file CylinderGeomIntt.h
Referenced by find_strip_center(), get_local_from_world_coords(), and get_strip_phi_tilt().
|
protected |
Definition at line 115 of file CylinderGeomIntt.h.
View newest version in sPHENIX GitHub at line 115 of file CylinderGeomIntt.h
Referenced by find_segment_center(), and get_radius().
|
protected |
Definition at line 113 of file CylinderGeomIntt.h.
View newest version in sPHENIX GitHub at line 113 of file CylinderGeomIntt.h
Referenced by get_thickness().
|
protected |
Definition at line 116 of file CylinderGeomIntt.h.
View newest version in sPHENIX GitHub at line 116 of file CylinderGeomIntt.h
Referenced by find_strip_center().
|
protected |
Definition at line 114 of file CylinderGeomIntt.h.
View newest version in sPHENIX GitHub at line 114 of file CylinderGeomIntt.h
Referenced by find_strip_center(), find_strip_center_localcoords(), find_strip_index_values(), and get_strip_y_spacing().
|
protected |
Definition at line 121 of file CylinderGeomIntt.h.
View newest version in sPHENIX GitHub at line 121 of file CylinderGeomIntt.h
Referenced by CylinderGeomIntt(), find_strip_center(), find_strip_center_localcoords(), find_strip_index_values(), and get_strip_z_spacing().