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

#include <coresoftware/blob/master/simulation/g4simulation/g4detectors/PHG4CylinderGeomv1.h>

+ Inheritance diagram for PHG4CylinderGeomv1:
+ Collaboration diagram for PHG4CylinderGeomv1:

Public Member Functions

 PHG4CylinderGeomv1 ()
 
 PHG4CylinderGeomv1 (const double r, const double zmi, const double zma, const double thickn)
 
 ~PHG4CylinderGeomv1 () override
 
void identify (std::ostream &os=std::cout) const 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
 
void ImportParameters (const PHParameters &param) override
 load parameters from PHParameters, which interface to Database/XML/ROOT files
 
- Public Member Functions inherited from PHG4CylinderGeom
 ~PHG4CylinderGeom () override
 
virtual int get_nscint () const
 
virtual double get_tiltangle () const
 
virtual double get_phi_slat_zero () const
 
virtual void set_nscint (const int)
 
virtual void set_tiltangle (const double)
 
virtual void set_phi_slat_zero (const double)
 
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

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 13 of file PHG4CylinderGeomv1.h.

View newest version in sPHENIX GitHub at line 13 of file PHG4CylinderGeomv1.h

Constructor & Destructor Documentation

PHG4CylinderGeomv1::PHG4CylinderGeomv1 ( )
inline

Definition at line 16 of file PHG4CylinderGeomv1.h.

View newest version in sPHENIX GitHub at line 16 of file PHG4CylinderGeomv1.h

PHG4CylinderGeomv1::PHG4CylinderGeomv1 ( const double  r,
const double  zmi,
const double  zma,
const double  thickn 
)
inline

Definition at line 17 of file PHG4CylinderGeomv1.h.

View newest version in sPHENIX GitHub at line 17 of file PHG4CylinderGeomv1.h

PHG4CylinderGeomv1::~PHG4CylinderGeomv1 ( )
inlineoverride

Definition at line 25 of file PHG4CylinderGeomv1.h.

View newest version in sPHENIX GitHub at line 25 of file PHG4CylinderGeomv1.h

Member Function Documentation

int PHG4CylinderGeomv1::get_layer ( ) const
inlineoverridevirtual

Reimplemented from PHG4CylinderGeom.

Definition at line 30 of file PHG4CylinderGeomv1.h.

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

References layer.

Referenced by PHG4FullProjSpacalCellReco::InitRun().

+ Here is the caller graph for this function:

double PHG4CylinderGeomv1::get_radius ( ) const
inlineoverridevirtual

Reimplemented from PHG4CylinderGeom.

Definition at line 31 of file PHG4CylinderGeomv1.h.

View newest version in sPHENIX GitHub at line 31 of file PHG4CylinderGeomv1.h

References radius.

Referenced by PHG4FullProjTiltedSpacalDetector::Construct_AzimuthalSeg(), PHG4SpacalDetector::Construct_AzimuthalSeg(), PHG4SpacalDetector::ConstructMe(), PHG4CylinderGeom_Spacalv1::get_half_radius(), PHG4CylinderGeom_Spacalv1::get_max_radius(), PHG4CylinderGeom_Spacalv2::get_sec_depth(), and PHG4FullProjSpacalCellReco::InitRun().

+ Here is the caller graph for this function:

double PHG4CylinderGeomv1::get_thickness ( ) const
inlineoverridevirtual

Reimplemented from PHG4CylinderGeom.

Definition at line 32 of file PHG4CylinderGeomv1.h.

View newest version in sPHENIX GitHub at line 32 of file PHG4CylinderGeomv1.h

References thickness.

Referenced by PHG4SpacalDetector::Construct_AzimuthalSeg(), PHG4CylinderGeom_Spacalv1::get_half_radius(), PHG4CylinderGeom_Spacalv1::get_max_radius(), PHG4CylinderGeom_Spacalv2::get_sec_depth(), and PHG4FullProjSpacalCellReco::InitRun().

+ Here is the caller graph for this function:

double PHG4CylinderGeomv1::get_zmax ( ) const
inlineoverridevirtual

Reimplemented from PHG4CylinderGeom.

Definition at line 34 of file PHG4CylinderGeomv1.h.

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

References zmax.

Referenced by PHG4SpacalDetector::ConstructMe(), PHG4CylinderGeom_Spacalv1::get_length(), and PHG4SpacalSteppingAction::get_zmax().

+ Here is the caller graph for this function:

double PHG4CylinderGeomv1::get_zmin ( ) const
inlineoverridevirtual

Reimplemented from PHG4CylinderGeom.

Definition at line 33 of file PHG4CylinderGeomv1.h.

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

References zmin.

Referenced by PHG4SpacalDetector::Construct_AzimuthalSeg(), PHG4SpacalDetector::ConstructMe(), PHG4CylinderGeom_Spacalv1::get_length(), and PHG4SpacalSteppingAction::get_zmin().

+ Here is the caller graph for this function:

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

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from PHG4CylinderGeom.

Reimplemented in PHG4CylinderGeomv2, and PHG4CylinderGeomv3.

Definition at line 6 of file PHG4CylinderGeomv1.cc.

View newest version in sPHENIX GitHub at line 6 of file PHG4CylinderGeomv1.cc

References layer, radius, thickness, zmax, and zmin.

void PHG4CylinderGeomv1::ImportParameters ( const PHParameters param)
overridevirtual

load parameters from PHParameters, which interface to Database/XML/ROOT files

Reimplemented from PHG4CylinderGeom.

Reimplemented in PHG4CylinderGeomv2.

Definition at line 19 of file PHG4CylinderGeomv1.cc.

View newest version in sPHENIX GitHub at line 19 of file PHG4CylinderGeomv1.cc

References PHParameters::exist_double_param(), PHParameters::exist_int_param(), PHParameters::get_double_param(), PHParameters::get_int_param(), PHG4CylinderGeom::ImportParameters(), layer, radius, thickness, zmax, and zmin.

Referenced by PHG4CylinderGeomv2::ImportParameters().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4CylinderGeomv1::set_layer ( const int  i)
inlineoverridevirtual

Reimplemented from PHG4CylinderGeom.

Definition at line 36 of file PHG4CylinderGeomv1.h.

View newest version in sPHENIX GitHub at line 36 of file PHG4CylinderGeomv1.h

References layer.

void PHG4CylinderGeomv1::set_radius ( const double  r)
inlineoverridevirtual

Reimplemented from PHG4CylinderGeom.

Definition at line 37 of file PHG4CylinderGeomv1.h.

View newest version in sPHENIX GitHub at line 37 of file PHG4CylinderGeomv1.h

References r, and radius.

void PHG4CylinderGeomv1::set_thickness ( const double  t)
inlineoverridevirtual

Reimplemented from PHG4CylinderGeom.

Definition at line 38 of file PHG4CylinderGeomv1.h.

View newest version in sPHENIX GitHub at line 38 of file PHG4CylinderGeomv1.h

References t, and thickness.

void PHG4CylinderGeomv1::set_zmax ( const double  z)
inlineoverridevirtual

Reimplemented from PHG4CylinderGeom.

Definition at line 40 of file PHG4CylinderGeomv1.h.

View newest version in sPHENIX GitHub at line 40 of file PHG4CylinderGeomv1.h

References z, and zmax.

void PHG4CylinderGeomv1::set_zmin ( const double  z)
inlineoverridevirtual

Reimplemented from PHG4CylinderGeom.

Definition at line 39 of file PHG4CylinderGeomv1.h.

View newest version in sPHENIX GitHub at line 39 of file PHG4CylinderGeomv1.h

References z, and zmin.

Member Data Documentation

int PHG4CylinderGeomv1::layer = -1
protected

Definition at line 46 of file PHG4CylinderGeomv1.h.

View newest version in sPHENIX GitHub at line 46 of file PHG4CylinderGeomv1.h

Referenced by get_layer(), PHG4CylinderGeomv2::identify(), PHG4CylinderGeomv3::identify(), identify(), ImportParameters(), and set_layer().


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