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

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

+ Inheritance diagram for PHG4CylinderGeomv3:
+ Collaboration diagram for PHG4CylinderGeomv3:

Public Member Functions

 PHG4CylinderGeomv3 ()
 
 PHG4CylinderGeomv3 (const double r, const double zmi, const double zma, const double thickn, const int n_scint, const double tangl, const double phi_slat_null)
 
 ~PHG4CylinderGeomv3 () override
 
void identify (std::ostream &os=std::cout) const override
 
void set_tiltangle (const double phi) override
 
void set_phi_slat_zero (const double phi) override
 
double get_phi_slat_zero () const override
 
double get_tiltangle () const override
 
- Public Member Functions inherited from PHG4CylinderGeomv2
 PHG4CylinderGeomv2 ()
 
 PHG4CylinderGeomv2 (const double r, const double zmi, const double zma, const double thickn, const int n_scint)
 
 ~PHG4CylinderGeomv2 () override
 
void set_nscint (const int i) override
 
int get_nscint () const override
 
void ImportParameters (const PHParameters &param) override
 load parameters from PHParameters, which interface to Database/XML/ROOT files
 
- Public Member Functions inherited from PHG4CylinderGeomv1
 PHG4CylinderGeomv1 ()
 
 PHG4CylinderGeomv1 (const double r, const double zmi, const double zma, const double thickn)
 
 ~PHG4CylinderGeomv1 () override
 
int get_layer () const override
 
double get_radius () const override
 
double get_thickness () const override
 
double get_zmin () const override
 
double get_zmax () const override
 
void set_layer (const int i) override
 
void set_radius (const double r) override
 
void set_thickness (const double t) override
 
void set_zmin (const double z) override
 
void set_zmax (const double z) override
 
- Public Member Functions inherited from PHG4CylinderGeom
 ~PHG4CylinderGeom () override
 
virtual void find_segment_center (const int, const int, double[])
 
virtual void find_strip_center (const int, const int, const int, const int, 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_strip_y_spacing () const
 
virtual double get_strip_z_spacing () const
 
virtual double get_strip_tilt () const
 
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
 
- 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

double tiltangle
 
double phi_slat_zero
 
- Protected Attributes inherited from PHG4CylinderGeomv2
int nscint = -9999
 
- Protected Attributes inherited from PHG4CylinderGeomv1
int layer = -1
 
double radius = NAN
 
double zmin = NAN
 
double zmax = NAN
 
double thickness = NAN
 

Additional Inherited Members

- Protected Member Functions inherited from PHG4CylinderGeom
 PHG4CylinderGeom ()
 

Detailed Description

Definition at line 10 of file PHG4CylinderGeomv3.h.

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

Constructor & Destructor Documentation

PHG4CylinderGeomv3::PHG4CylinderGeomv3 ( )

Definition at line 7 of file PHG4CylinderGeomv3.cc.

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

PHG4CylinderGeomv3::PHG4CylinderGeomv3 ( const double  r,
const double  zmi,
const double  zma,
const double  thickn,
const int  n_scint,
const double  tangl,
const double  phi_slat_null 
)
inline

Definition at line 14 of file PHG4CylinderGeomv3.h.

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

PHG4CylinderGeomv3::~PHG4CylinderGeomv3 ( )
inlineoverride

Definition at line 21 of file PHG4CylinderGeomv3.h.

View newest version in sPHENIX GitHub at line 21 of file PHG4CylinderGeomv3.h

Member Function Documentation

double PHG4CylinderGeomv3::get_phi_slat_zero ( ) const
inlineoverridevirtual

Reimplemented from PHG4CylinderGeom.

Definition at line 29 of file PHG4CylinderGeomv3.h.

View newest version in sPHENIX GitHub at line 29 of file PHG4CylinderGeomv3.h

References phi_slat_zero.

double PHG4CylinderGeomv3::get_tiltangle ( ) const
inlineoverridevirtual

Reimplemented from PHG4CylinderGeom.

Definition at line 30 of file PHG4CylinderGeomv3.h.

View newest version in sPHENIX GitHub at line 30 of file PHG4CylinderGeomv3.h

References tiltangle.

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

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from PHG4CylinderGeomv2.

Definition at line 15 of file PHG4CylinderGeomv3.cc.

View newest version in sPHENIX GitHub at line 15 of file PHG4CylinderGeomv3.cc

References PHG4CylinderGeomv1::layer, M_PI, PHG4CylinderGeomv2::nscint, phi_slat_zero, PHG4CylinderGeomv1::radius, PHG4CylinderGeomv1::thickness, tiltangle, PHG4CylinderGeomv1::zmax, and PHG4CylinderGeomv1::zmin.

void PHG4CylinderGeomv3::set_phi_slat_zero ( const double  phi)
inlineoverridevirtual

Reimplemented from PHG4CylinderGeom.

Definition at line 27 of file PHG4CylinderGeomv3.h.

View newest version in sPHENIX GitHub at line 27 of file PHG4CylinderGeomv3.h

References phi, and phi_slat_zero.

void PHG4CylinderGeomv3::set_tiltangle ( const double  phi)
inlineoverridevirtual

Reimplemented from PHG4CylinderGeom.

Definition at line 26 of file PHG4CylinderGeomv3.h.

View newest version in sPHENIX GitHub at line 26 of file PHG4CylinderGeomv3.h

References phi, and tiltangle.

Member Data Documentation

double PHG4CylinderGeomv3::phi_slat_zero
protected

Definition at line 34 of file PHG4CylinderGeomv3.h.

View newest version in sPHENIX GitHub at line 34 of file PHG4CylinderGeomv3.h

Referenced by get_phi_slat_zero(), identify(), and set_phi_slat_zero().

double PHG4CylinderGeomv3::tiltangle
protected

Definition at line 33 of file PHG4CylinderGeomv3.h.

View newest version in sPHENIX GitHub at line 33 of file PHG4CylinderGeomv3.h

Referenced by get_tiltangle(), identify(), and set_tiltangle().


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