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

#include <fun4all_coresoftware/blob/master/simulation/g4simulation/g4detectors/PHG4CylinderGeomv4.h>

+ Inheritance diagram for PHG4CylinderGeomv4:
+ Collaboration diagram for PHG4CylinderGeomv4:

Public Member Functions

 PHG4CylinderGeomv4 ()
 
 PHG4CylinderGeomv4 (const int lnsensors, const int lnz, const int nspc, int nsc, const int nstag, const double lr, const double rs, const double szs, const double sps, const double sxo, double syo, const double szsp, const double sys, const double tck, const double st)
 
 ~PHG4CylinderGeomv4 () override
 
void identify (std::ostream &os=std::cout) 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
 
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
 
int get_N_strip_columns () const override
 
int get_N_strips_per_column () const override
 
int get_N_sensors_in_layer () const override
 
double get_sensor_x_offset () const
 
double get_sensor_y_offset () const
 
- Public Member Functions inherited from PHG4CylinderGeom
 ~PHG4CylinderGeom () 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_index_values (const int, const double, const double, int &, int &)
 
virtual void find_strip_center_local_coords (const int, const int, const int, double[])
 
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 N_sensors_in_layer
 
int layer
 
double layer_radius
 
double radius_stagger
 
int layer_NZ
 
double segment_z_step
 
double segment_phi_step
 
double sensor_x_offset
 
double sensor_y_offset
 
int N_strip_columns
 
int N_strips_per_column
 
int N_staggers
 
double strip_z_spacing
 
double strip_y_spacing
 
double thickness
 
double strip_tilt
 

Additional Inherited Members

- Protected Member Functions inherited from PHG4CylinderGeom
 PHG4CylinderGeom ()
 

Detailed Description

Definition at line 10 of file PHG4CylinderGeomv4.h.

View newest version in sPHENIX GitHub at line 10 of file PHG4CylinderGeomv4.h

Constructor & Destructor Documentation

PHG4CylinderGeomv4::PHG4CylinderGeomv4 ( )

Definition at line 7 of file PHG4CylinderGeomv4.cc.

View newest version in sPHENIX GitHub at line 7 of file PHG4CylinderGeomv4.cc

PHG4CylinderGeomv4::PHG4CylinderGeomv4 ( const int  lnsensors,
const int  lnz,
const int  nspc,
int  nsc,
const int  nstag,
const double  lr,
const double  rs,
const double  szs,
const double  sps,
const double  sxo,
double  syo,
const double  szsp,
const double  sys,
const double  tck,
const double  st 
)
inline

Definition at line 14 of file PHG4CylinderGeomv4.h.

View newest version in sPHENIX GitHub at line 14 of file PHG4CylinderGeomv4.h

PHG4CylinderGeomv4::~PHG4CylinderGeomv4 ( )
inlineoverride

Definition at line 47 of file PHG4CylinderGeomv4.h.

View newest version in sPHENIX GitHub at line 47 of file PHG4CylinderGeomv4.h

Member Function Documentation

void PHG4CylinderGeomv4::find_segment_center ( const int  segment_z_bin,
const int  segment_phi_bin,
double  location[] 
)
overridevirtual

Reimplemented from PHG4CylinderGeom.

Definition at line 51 of file PHG4CylinderGeomv4.cc.

View newest version in sPHENIX GitHub at line 51 of file PHG4CylinderGeomv4.cc

References cos(), layer_NZ, layer_radius, N_staggers, phi, radius_stagger, segment_phi_step, and segment_z_step.

Referenced by find_strip_center().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4CylinderGeomv4::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 74 of file PHG4CylinderGeomv4.cc.

View newest version in sPHENIX GitHub at line 74 of file PHG4CylinderGeomv4.cc

References cos(), find_segment_center(), N_strip_columns, N_strips_per_column, phi, segment_phi_step, sensor_x_offset, sensor_y_offset, strip_y_spacing, strip_z_spacing, x, and y.

+ Here is the call graph for this function:

int PHG4CylinderGeomv4::get_layer ( ) const
inlineoverridevirtual

Reimplemented from PHG4CylinderGeom.

Definition at line 53 of file PHG4CylinderGeomv4.h.

View newest version in sPHENIX GitHub at line 53 of file PHG4CylinderGeomv4.h

References layer.

int PHG4CylinderGeomv4::get_N_sensors_in_layer ( ) const
inlineoverridevirtual

Reimplemented from PHG4CylinderGeom.

Definition at line 65 of file PHG4CylinderGeomv4.h.

View newest version in sPHENIX GitHub at line 65 of file PHG4CylinderGeomv4.h

References N_sensors_in_layer.

int PHG4CylinderGeomv4::get_N_strip_columns ( ) const
inlineoverridevirtual

Reimplemented from PHG4CylinderGeom.

Definition at line 63 of file PHG4CylinderGeomv4.h.

View newest version in sPHENIX GitHub at line 63 of file PHG4CylinderGeomv4.h

References N_strip_columns.

int PHG4CylinderGeomv4::get_N_strips_per_column ( ) const
inlineoverridevirtual

Reimplemented from PHG4CylinderGeom.

Definition at line 64 of file PHG4CylinderGeomv4.h.

View newest version in sPHENIX GitHub at line 64 of file PHG4CylinderGeomv4.h

References N_strips_per_column.

double PHG4CylinderGeomv4::get_radius ( ) const
inlineoverridevirtual

Reimplemented from PHG4CylinderGeom.

Definition at line 54 of file PHG4CylinderGeomv4.h.

View newest version in sPHENIX GitHub at line 54 of file PHG4CylinderGeomv4.h

References layer_radius.

double PHG4CylinderGeomv4::get_sensor_x_offset ( ) const
inline

Definition at line 68 of file PHG4CylinderGeomv4.h.

View newest version in sPHENIX GitHub at line 68 of file PHG4CylinderGeomv4.h

References sensor_x_offset.

double PHG4CylinderGeomv4::get_sensor_y_offset ( ) const
inline

Definition at line 69 of file PHG4CylinderGeomv4.h.

View newest version in sPHENIX GitHub at line 69 of file PHG4CylinderGeomv4.h

References sensor_y_offset.

double PHG4CylinderGeomv4::get_strip_tilt ( ) const
inlineoverridevirtual

Reimplemented from PHG4CylinderGeom.

Definition at line 62 of file PHG4CylinderGeomv4.h.

View newest version in sPHENIX GitHub at line 62 of file PHG4CylinderGeomv4.h

References strip_tilt.

double PHG4CylinderGeomv4::get_strip_y_spacing ( ) const
inlineoverridevirtual

Reimplemented from PHG4CylinderGeom.

Definition at line 60 of file PHG4CylinderGeomv4.h.

View newest version in sPHENIX GitHub at line 60 of file PHG4CylinderGeomv4.h

References strip_y_spacing.

double PHG4CylinderGeomv4::get_strip_z_spacing ( ) const
inlineoverridevirtual

Reimplemented from PHG4CylinderGeom.

Definition at line 61 of file PHG4CylinderGeomv4.h.

View newest version in sPHENIX GitHub at line 61 of file PHG4CylinderGeomv4.h

References strip_z_spacing.

double PHG4CylinderGeomv4::get_thickness ( ) const
inlineoverridevirtual

Reimplemented from PHG4CylinderGeom.

Definition at line 59 of file PHG4CylinderGeomv4.h.

View newest version in sPHENIX GitHub at line 59 of file PHG4CylinderGeomv4.h

References thickness.

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

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from PHG4CylinderGeom.

Definition at line 30 of file PHG4CylinderGeomv4.cc.

View newest version in sPHENIX GitHub at line 30 of file PHG4CylinderGeomv4.cc

References layer, layer_NZ, layer_radius, N_sensors_in_layer, N_staggers, N_strip_columns, N_strips_per_column, radius_stagger, segment_phi_step, segment_z_step, sensor_x_offset, sensor_y_offset, strip_tilt, strip_y_spacing, and strip_z_spacing.

void PHG4CylinderGeomv4::set_layer ( const int  i)
inlineoverridevirtual

Reimplemented from PHG4CylinderGeom.

Definition at line 52 of file PHG4CylinderGeomv4.h.

View newest version in sPHENIX GitHub at line 52 of file PHG4CylinderGeomv4.h

References layer.

Member Data Documentation

int PHG4CylinderGeomv4::layer
protected

Definition at line 74 of file PHG4CylinderGeomv4.h.

View newest version in sPHENIX GitHub at line 74 of file PHG4CylinderGeomv4.h

Referenced by get_layer(), identify(), and set_layer().

int PHG4CylinderGeomv4::layer_NZ
protected

Definition at line 79 of file PHG4CylinderGeomv4.h.

View newest version in sPHENIX GitHub at line 79 of file PHG4CylinderGeomv4.h

Referenced by find_segment_center(), and identify().

double PHG4CylinderGeomv4::layer_radius
protected

Definition at line 77 of file PHG4CylinderGeomv4.h.

View newest version in sPHENIX GitHub at line 77 of file PHG4CylinderGeomv4.h

Referenced by find_segment_center(), get_radius(), and identify().

int PHG4CylinderGeomv4::N_sensors_in_layer
protected

Definition at line 73 of file PHG4CylinderGeomv4.h.

View newest version in sPHENIX GitHub at line 73 of file PHG4CylinderGeomv4.h

Referenced by get_N_sensors_in_layer(), and identify().

int PHG4CylinderGeomv4::N_staggers
protected

Definition at line 90 of file PHG4CylinderGeomv4.h.

View newest version in sPHENIX GitHub at line 90 of file PHG4CylinderGeomv4.h

Referenced by find_segment_center(), and identify().

int PHG4CylinderGeomv4::N_strip_columns
protected

Definition at line 88 of file PHG4CylinderGeomv4.h.

View newest version in sPHENIX GitHub at line 88 of file PHG4CylinderGeomv4.h

Referenced by find_strip_center(), get_N_strip_columns(), and identify().

int PHG4CylinderGeomv4::N_strips_per_column
protected

Definition at line 89 of file PHG4CylinderGeomv4.h.

View newest version in sPHENIX GitHub at line 89 of file PHG4CylinderGeomv4.h

Referenced by find_strip_center(), get_N_strips_per_column(), and identify().

double PHG4CylinderGeomv4::radius_stagger
protected

Definition at line 78 of file PHG4CylinderGeomv4.h.

View newest version in sPHENIX GitHub at line 78 of file PHG4CylinderGeomv4.h

Referenced by find_segment_center(), and identify().

double PHG4CylinderGeomv4::segment_phi_step
protected

Definition at line 81 of file PHG4CylinderGeomv4.h.

View newest version in sPHENIX GitHub at line 81 of file PHG4CylinderGeomv4.h

Referenced by find_segment_center(), find_strip_center(), and identify().

double PHG4CylinderGeomv4::segment_z_step
protected

Definition at line 80 of file PHG4CylinderGeomv4.h.

View newest version in sPHENIX GitHub at line 80 of file PHG4CylinderGeomv4.h

Referenced by find_segment_center(), and identify().

double PHG4CylinderGeomv4::sensor_x_offset
protected

Definition at line 82 of file PHG4CylinderGeomv4.h.

View newest version in sPHENIX GitHub at line 82 of file PHG4CylinderGeomv4.h

Referenced by find_strip_center(), get_sensor_x_offset(), and identify().

double PHG4CylinderGeomv4::sensor_y_offset
protected

Definition at line 83 of file PHG4CylinderGeomv4.h.

View newest version in sPHENIX GitHub at line 83 of file PHG4CylinderGeomv4.h

Referenced by find_strip_center(), get_sensor_y_offset(), and identify().

double PHG4CylinderGeomv4::strip_tilt
protected

Definition at line 94 of file PHG4CylinderGeomv4.h.

View newest version in sPHENIX GitHub at line 94 of file PHG4CylinderGeomv4.h

Referenced by get_strip_tilt(), and identify().

double PHG4CylinderGeomv4::strip_y_spacing
protected

Definition at line 92 of file PHG4CylinderGeomv4.h.

View newest version in sPHENIX GitHub at line 92 of file PHG4CylinderGeomv4.h

Referenced by find_strip_center(), get_strip_y_spacing(), and identify().

double PHG4CylinderGeomv4::strip_z_spacing
protected

Definition at line 91 of file PHG4CylinderGeomv4.h.

View newest version in sPHENIX GitHub at line 91 of file PHG4CylinderGeomv4.h

Referenced by find_strip_center(), get_strip_z_spacing(), and identify().

double PHG4CylinderGeomv4::thickness
protected

Definition at line 93 of file PHG4CylinderGeomv4.h.

View newest version in sPHENIX GitHub at line 93 of file PHG4CylinderGeomv4.h

Referenced by get_thickness().


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