Belle II Software development
RaytracerBase::BarSegment Struct Reference

bar segment data in module local frame. More...

#include <RaytracerBase.h>

Public Member Functions

 BarSegment ()
 default constructor
 
 BarSegment (const TOPGeoBarSegment &bar, double zLeft)
 constructor from quartz segment.
 
 BarSegment (const TOPGeoModule &module)
 constructor from joint quartz segments with average width and thickness.
 

Public Attributes

double A = 0
 width (dimension in x)
 
double B = 0
 thickness (dimension in y)
 
double zL = 0
 minimal z
 
double zR = 0
 maximal z
 
double reflectivity = 0
 surface reflectivity
 
double sigmaAlpha = 0
 surface roughness parameter
 

Detailed Description

bar segment data in module local frame.

Definition at line 49 of file RaytracerBase.h.

Constructor & Destructor Documentation

◆ BarSegment() [1/3]

BarSegment ( )
inline

default constructor

Definition at line 60 of file RaytracerBase.h.

61 {}

◆ BarSegment() [2/3]

BarSegment ( const TOPGeoBarSegment bar,
double  zLeft 
)

constructor from quartz segment.

Parameters
barquartz segment object from TOPGeometry
zLeftposition of quartz segment left side (minimal z)

Definition at line 21 of file RaytracerBase.cc.

21 :
22 A(bar.getWidth()), B(bar.getThickness()), zL(zLeft), reflectivity(bar.getSurfaceReflectivity(3.0)),
23 sigmaAlpha(bar.getSigmaAlpha())
24 {
25 zR = zL + bar.getFullLength();
26 }
double A
width (dimension in x)
Definition: RaytracerBase.h:50
double sigmaAlpha
surface roughness parameter
Definition: RaytracerBase.h:55
double reflectivity
surface reflectivity
Definition: RaytracerBase.h:54
double B
thickness (dimension in y)
Definition: RaytracerBase.h:51

◆ BarSegment() [3/3]

BarSegment ( const TOPGeoModule module)
explicit

constructor from joint quartz segments with average width and thickness.

Parameters
modulemodule object from TOPGeometry

Definition at line 29 of file RaytracerBase.cc.

29 :
30 A(module.getBarWidth()), B(module.getBarThickness()), reflectivity(module.getSurfaceReflectivity(3.0)),
31 sigmaAlpha(module.getSigmaAlpha())
32
33 {
34 zL = -module.getBarLength() / 2;
35 zR = module.getBarLength() / 2;
36 }

Member Data Documentation

◆ A

double A = 0

width (dimension in x)

Definition at line 50 of file RaytracerBase.h.

◆ B

double B = 0

thickness (dimension in y)

Definition at line 51 of file RaytracerBase.h.

◆ reflectivity

double reflectivity = 0

surface reflectivity

Definition at line 54 of file RaytracerBase.h.

◆ sigmaAlpha

double sigmaAlpha = 0

surface roughness parameter

Definition at line 55 of file RaytracerBase.h.

◆ zL

double zL = 0

minimal z

Definition at line 52 of file RaytracerBase.h.

◆ zR

double zR = 0

maximal z

Definition at line 53 of file RaytracerBase.h.


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