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

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

+ Collaboration diagram for PHG4CylinderGeom_Spacalv3::geom_tower:

Public Member Functions

 geom_tower ()
 
virtual ~geom_tower ()
 
int compose_fiber_id (int index_x, int index_y) const
 fiber layout (2D index of 0...NFiberX/NFiberY) -> fiber_id
 
int get_sub_tower_ID_x (int fiber_id) const
 fiber_id -> sub tower ID x/azimuthal direction: 0 ... NSubtowerX -1
 
int get_sub_tower_ID_y (int fiber_id) const
 fiber_id -> sub tower ID y/polar direction: 0 ... NSubtowerY -1
 
double get_position_fraction_x_in_sub_tower (int fiber_id) const
 fiber_id -> fraction position in sub tower ID in the x/azimuthal direction, [0-1]
 
double get_position_fraction_y_in_sub_tower (int fiber_id) const
 fiber_id -> fraction position in sub tower ID in the y/polar direction, [0-1]
 
virtual void identify (std::ostream &os=std::cout) const
 
void ImportParameters (const PHParameters &param, const std::string &param_prefix)
 read via PHParameters
 

Public Attributes

int id
 
double pDz
 
double pDy1
 
double pDx1
 
double pDx2
 
double pDy2
 
double pDx3
 
double pDx4
 
double pTheta
 
double pPhi
 
double pAlp1
 
double pAlp2
 
double pRotationAngleX
 
double centralX
 
double centralY
 
double centralZ
 
double ModuleSkinThickness
 
int NFiberX
 number of fiber along final azimuthal direction
 
int NFiberY
 number of fiber along final polar direction
 
int NSubtowerX
 number of fiber along final azimuthal direction
 
int NSubtowerY
 number of fiber along final polar direction
 
double LightguideHeight
 height of light guide
 
double LightguideTaperRatio
 edge length ratio, narrow / wide
 
std::string LightguideMaterial
 edge length ratio, narrow / wide
 

Detailed Description

Definition at line 109 of file PHG4CylinderGeom_Spacalv3.h.

View newest version in sPHENIX GitHub at line 109 of file PHG4CylinderGeom_Spacalv3.h

Constructor & Destructor Documentation

PHG4CylinderGeom_Spacalv3::geom_tower::geom_tower ( )

Definition at line 152 of file PHG4CylinderGeom_Spacalv3.cc.

View newest version in sPHENIX GitHub at line 152 of file PHG4CylinderGeom_Spacalv3.cc

virtual PHG4CylinderGeom_Spacalv3::geom_tower::~geom_tower ( )
inlinevirtual

Definition at line 113 of file PHG4CylinderGeom_Spacalv3.h.

View newest version in sPHENIX GitHub at line 113 of file PHG4CylinderGeom_Spacalv3.h

Member Function Documentation

int PHG4CylinderGeom_Spacalv3::geom_tower::compose_fiber_id ( int  index_x,
int  index_y 
) const

fiber layout (2D index of 0...NFiberX/NFiberY) -> fiber_id

fiber layout -> fiber_id

Definition at line 182 of file PHG4CylinderGeom_Spacalv3.cc.

View newest version in sPHENIX GitHub at line 182 of file PHG4CylinderGeom_Spacalv3.cc

Referenced by PHG4FullProjSpacalDetector::Construct_Fibers(), PHG4FullProjTiltedSpacalDetector::Construct_Fibers(), PHG4FullProjSpacalDetector::Construct_Fibers_SameLengthFiberPerTower(), and PHG4FullProjTiltedSpacalDetector::Construct_Fibers_SameLengthFiberPerTower().

+ Here is the caller graph for this function:

double PHG4CylinderGeom_Spacalv3::geom_tower::get_position_fraction_x_in_sub_tower ( int  fiber_id) const

fiber_id -> fraction position in sub tower ID in the x/azimuthal direction, [0-1]

x is negative azimuthal direction

Definition at line 222 of file PHG4CylinderGeom_Spacalv3.cc.

View newest version in sPHENIX GitHub at line 222 of file PHG4CylinderGeom_Spacalv3.cc

double PHG4CylinderGeom_Spacalv3::geom_tower::get_position_fraction_y_in_sub_tower ( int  fiber_id) const

fiber_id -> fraction position in sub tower ID in the y/polar direction, [0-1]

y is negative polar direction

Definition at line 237 of file PHG4CylinderGeom_Spacalv3.cc.

View newest version in sPHENIX GitHub at line 237 of file PHG4CylinderGeom_Spacalv3.cc

int PHG4CylinderGeom_Spacalv3::geom_tower::get_sub_tower_ID_x ( int  fiber_id) const

fiber_id -> sub tower ID x/azimuthal direction: 0 ... NSubtowerX -1

fiber_id -> sub tower ID x: 0 ... NSubtowerX -1

x is negative azimuthal direction

Definition at line 190 of file PHG4CylinderGeom_Spacalv3.cc.

View newest version in sPHENIX GitHub at line 190 of file PHG4CylinderGeom_Spacalv3.cc

int PHG4CylinderGeom_Spacalv3::geom_tower::get_sub_tower_ID_y ( int  fiber_id) const

fiber_id -> sub tower ID y/polar direction: 0 ... NSubtowerY -1

fiber_id -> sub tower ID y: 0 ... NSubtowerY -1

y is negative polar direction

Definition at line 206 of file PHG4CylinderGeom_Spacalv3.cc.

View newest version in sPHENIX GitHub at line 206 of file PHG4CylinderGeom_Spacalv3.cc

void PHG4CylinderGeom_Spacalv3::geom_tower::identify ( std::ostream &  os = std::cout) const
virtual

Definition at line 253 of file PHG4CylinderGeom_Spacalv3.cc.

View newest version in sPHENIX GitHub at line 253 of file PHG4CylinderGeom_Spacalv3.cc

void PHG4CylinderGeom_Spacalv3::geom_tower::ImportParameters ( const PHParameters param,
const std::string &  param_prefix 
)

read via PHParameters

Definition at line 271 of file PHG4CylinderGeom_Spacalv3.cc.

View newest version in sPHENIX GitHub at line 271 of file PHG4CylinderGeom_Spacalv3.cc

References PHParameters::get_double_param(), PHParameters::get_int_param(), and PHParameters::get_string_param().

Referenced by PHG4CylinderGeom_Spacalv3::ImportParameters().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

double PHG4CylinderGeom_Spacalv3::geom_tower::LightguideHeight

height of light guide

Definition at line 166 of file PHG4CylinderGeom_Spacalv3.h.

View newest version in sPHENIX GitHub at line 166 of file PHG4CylinderGeom_Spacalv3.h

Referenced by PHG4FullProjTiltedSpacalDetector::Construct_AzimuthalSeg(), and PHG4FullProjTiltedSpacalDetector::Construct_LightGuide().

std::string PHG4CylinderGeom_Spacalv3::geom_tower::LightguideMaterial

edge length ratio, narrow / wide

Definition at line 170 of file PHG4CylinderGeom_Spacalv3.h.

View newest version in sPHENIX GitHub at line 170 of file PHG4CylinderGeom_Spacalv3.h

Referenced by PHG4FullProjTiltedSpacalDetector::Construct_LightGuide().

double PHG4CylinderGeom_Spacalv3::geom_tower::LightguideTaperRatio

edge length ratio, narrow / wide

Definition at line 168 of file PHG4CylinderGeom_Spacalv3.h.

View newest version in sPHENIX GitHub at line 168 of file PHG4CylinderGeom_Spacalv3.h

Referenced by PHG4FullProjTiltedSpacalDetector::Construct_LightGuide().

int PHG4CylinderGeom_Spacalv3::geom_tower::NSubtowerX

number of fiber along final azimuthal direction

Definition at line 145 of file PHG4CylinderGeom_Spacalv3.h.

View newest version in sPHENIX GitHub at line 145 of file PHG4CylinderGeom_Spacalv3.h

Referenced by PHG4FullProjTiltedSpacalDetector::Construct_AzimuthalSeg(), and PHG4FullProjTiltedSpacalDetector::Construct_LightGuide().

int PHG4CylinderGeom_Spacalv3::geom_tower::NSubtowerY

number of fiber along final polar direction

Definition at line 147 of file PHG4CylinderGeom_Spacalv3.h.

View newest version in sPHENIX GitHub at line 147 of file PHG4CylinderGeom_Spacalv3.h

Referenced by PHG4FullProjTiltedSpacalDetector::Construct_AzimuthalSeg(), PHG4FullProjTiltedSpacalDetector::Construct_LightGuide(), and PHG4FullProjSpacalCellReco::InitRun().


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