ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CylinderGeomIntt Class Reference

#include <coresoftware/blob/master/offline/packages/intt/CylinderGeomIntt.h>

+ Inheritance diagram for CylinderGeomIntt:
+ Collaboration diagram for CylinderGeomIntt:

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 PHObjectCloneMe () const
 Virtual copy constructor.
 
virtual PHObjectclone () const final
 
PHObjectClone (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 ()
 

Detailed Description

Definition at line 11 of file CylinderGeomIntt.h.

View newest version in sPHENIX GitHub at line 11 of file CylinderGeomIntt.h

Constructor & Destructor Documentation

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.

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 
)
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.

Member Function Documentation

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().

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void CylinderGeomIntt::find_segment_center ( const int  segment_z_bin,
const int  segment_phi_bin,
double  location[] 
)
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 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().

+ Here is the caller graph for this function:

void CylinderGeomIntt::find_strip_center ( const int  segment_z_bin,
const int  segment_phi_bin,
const int  strip_column,
const int  strip_index,
double  location[] 
)
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, phi, CLHEP::HepRotation::rotateZ(), and CLHEP::Hep3Vector::x().

+ Here is the call graph for this function:

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, m_StripZ, and BTOF::zpos.

Referenced by InttClusterizer::ClusterLadderCells(), and PHG4InttHitReco::process_event().

+ Here is the caller graph for this function:

void CylinderGeomIntt::find_strip_index_values ( const int  segment_z_bin,
const double  ypos,
const double  zpos,
int strip_y_index,
int strip_z_index 
)
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 int(), m_NStripsPhiCell, m_NStripsZSensor, m_StripY, m_StripZ, and BTOF::zpos.

Referenced by PHTruthClustering::G4ClusterSize(), SvtxTruthEval::G4ClusterSize(), and PHG4InttHitReco::process_event().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int CylinderGeomIntt::get_layer ( ) const
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().

+ Here is the caller graph for this function:

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(), local, m_dPhi, m_OffsetPhi, m_OffsetRot, and phi.

Referenced by PHTruthClustering::G4ClusterSize(), and SvtxTruthEval::G4ClusterSize().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

double CylinderGeomIntt::get_radius ( ) const
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().

+ Here is the caller graph for this function:

double CylinderGeomIntt::get_strip_phi_tilt ( ) const
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().

+ Here is the caller graph for this function:

double CylinderGeomIntt::get_strip_tilt ( ) const
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

double CylinderGeomIntt::get_strip_y_spacing ( ) const
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().

+ Here is the caller graph for this function:

double CylinderGeomIntt::get_strip_z_spacing ( ) const
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().

+ Here is the caller graph for this function:

double CylinderGeomIntt::get_thickness ( ) const
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.

void CylinderGeomIntt::identify ( std::ostream &  os = std::cout) const
overridevirtual

identify Function from PHObject

Parameters
osOutput 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().

+ Here is the call graph for this function:

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

void CylinderGeomIntt::set_layer ( const int  i)
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.

Member Data Documentation

double CylinderGeomIntt::m_dPhi
protected
double CylinderGeomIntt::m_LadderZ[2]
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().

int CylinderGeomIntt::m_Layer
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().

int CylinderGeomIntt::m_NStripsPhiCell
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().

int CylinderGeomIntt::m_NStripsZSensor[2]
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().

double CylinderGeomIntt::m_OffsetPhi
protected
double CylinderGeomIntt::m_OffsetRot
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().

double CylinderGeomIntt::m_SensorRadius
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().

double CylinderGeomIntt::m_StripX
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().

double CylinderGeomIntt::m_StripXOffset
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().

double CylinderGeomIntt::m_StripY
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().

double CylinderGeomIntt::m_StripZ[2]
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().


The documentation for this class was generated from the following files: