Analysis Software
Documentation for sPHENIX simulation 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 110 of file PHG4CylinderGeom_Spacalv3.h.

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

Constructor & Destructor Documentation

PHG4CylinderGeom_Spacalv3::geom_tower::geom_tower ( )

Definition at line 153 of file PHG4CylinderGeom_Spacalv3.cc.

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

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

Definition at line 114 of file PHG4CylinderGeom_Spacalv3.h.

View newest version in sPHENIX GitHub at line 114 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(), PHG4SpacalPrototype4Detector::Construct_Fibers_SameLengthFiberPerTower(), PHG4SpacalPrototypeDetector::Construct_Fibers_SameLengthFiberPerTower(), 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 220 of file PHG4CylinderGeom_Spacalv3.cc.

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

References assert, and double().

+ Here is the call graph for this function:

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 235 of file PHG4CylinderGeom_Spacalv3.cc.

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

References assert, and double().

+ Here is the call graph for this function:

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 189 of file PHG4CylinderGeom_Spacalv3.cc.

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

References assert, and double().

+ Here is the call graph for this function:

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 204 of file PHG4CylinderGeom_Spacalv3.cc.

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

References assert, and double().

+ Here is the call graph for this function:

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

Definition at line 250 of file PHG4CylinderGeom_Spacalv3.cc.

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

Referenced by PHG4SpacalPrototype4Detector::Construct_Tower(), and PHG4SpacalPrototypeDetector::Construct_Tower().

+ Here is the caller graph for this function:

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

read via PHParameters

Definition at line 268 of file PHG4CylinderGeom_Spacalv3.cc.

View newest version in sPHENIX GitHub at line 268 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

std::string PHG4CylinderGeom_Spacalv3::geom_tower::LightguideMaterial
double PHG4CylinderGeom_Spacalv3::geom_tower::LightguideTaperRatio

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