Belle II Software  release-08-01-10
ARICHGeoCablesEnvelope Class Reference

Geometry parameters of cable envelope. More...

#include <ARICHGeoCablesEnvelope.h>

Inheritance diagram for ARICHGeoCablesEnvelope:
Collaboration diagram for ARICHGeoCablesEnvelope:

Public Member Functions

 ARICHGeoCablesEnvelope ()
 Default constructor.
 
void setCablesEffectiveMaterialName (const std::string &materialName)
 Set Effective material name describing cables. More...
 
void setEnvelopeOuterRadius (double envelopeOuterRadius)
 Set outer radius of cables envelop. More...
 
void setEnvelopeInnerRadius (double envelopeInnerRadius)
 Set inner radius of cables envelop. More...
 
void setEnvelopeThickness (double envelopeThickness)
 Set thickness of cables envelop. More...
 
void setEnvelopeCenterPosition (double x0, double y0, double z0)
 Set position of cables envelop. More...
 
const std::string & getCablesEffectiveMaterialName () const
 Returns Effective material name describing cables. More...
 
double getEnvelopeOuterRadius () const
 Returns Outer radius of cables envelop. More...
 
double getEnvelopeInnerRadius () const
 Returns Inner radius of cables envelop. More...
 
double getEnvelopeThickness () const
 Returns Thickness of cables envelop. More...
 
TVector3 getEnvelopeCenterPosition () const
 Returns position vector (TVector3) of cables envelop. More...
 
void print (const std::string &title="Merger PCB geometry parameters") const
 Print the content of the class. More...
 
void checkCablesEnvelopDataConsistency () const
 Check data consistency of cables envelop In case of failure print the basf2 ERROR message using B2ASSERT.
 
void setName (const std::string &name)
 Sets object name. More...
 
const std::string & getName () const
 Returns object name. More...
 
virtual bool isConsistent () const
 Check for consistency of data members. More...
 
virtual void printSurface (const GeoOpticalSurface &surface) const
 Print the content of optical surface. More...
 
virtual void printPlacement (double x, double y, double z, double rx, double ry, double rz) const
 Print volume positioning parameters. More...
 

Protected Member Functions

 ClassDef (ARICHGeoBase, 2)
 ClassDef.
 

Protected Attributes

std::string m_name
 geometry object name
 

Static Protected Attributes

static double s_unit = Unit::cm
 conversion unit for length
 
static std::string s_unitName
 conversion unit name
 

Private Member Functions

 ClassDef (ARICHGeoCablesEnvelope, 1)
 ClassDef.
 

Private Attributes

std::string m_cablesEffectiveMaterialName
 Effective material describing cables.
 
double m_envelopeOuterRadius = 0.0
 Outer radius of cables envelop.
 
double m_envelopeInnerRadius = 0.0
 Inner radius of cables envelop.
 
double m_envelopeThickness = 0.0
 Thickness of cables envelop.
 
double m_envelopeX0 = 0.0
 X0 ARICH cables envelop center.
 
double m_envelopeY0 = 0.0
 Y0 ARICH cables envelop center.
 
double m_envelopeZ0 = 0.0
 Z0 ARICH cables envelop center.
 

Detailed Description

Geometry parameters of cable envelope.

Definition at line 26 of file ARICHGeoCablesEnvelope.h.

Member Function Documentation

◆ getCablesEffectiveMaterialName()

const std::string& getCablesEffectiveMaterialName ( ) const
inline

Returns Effective material name describing cables.

Returns
Effective material name describing cables

Definition at line 72 of file ARICHGeoCablesEnvelope.h.

std::string m_cablesEffectiveMaterialName
Effective material describing cables.

◆ getEnvelopeCenterPosition()

TVector3 getEnvelopeCenterPosition ( ) const
inline

Returns position vector (TVector3) of cables envelop.

Returns
position vector (TVector3) of cables envelop

Definition at line 96 of file ARICHGeoCablesEnvelope.h.

◆ getEnvelopeInnerRadius()

double getEnvelopeInnerRadius ( ) const
inline

Returns Inner radius of cables envelop.

Returns
Inner radius of cables envelop

Definition at line 84 of file ARICHGeoCablesEnvelope.h.

◆ getEnvelopeOuterRadius()

double getEnvelopeOuterRadius ( ) const
inline

Returns Outer radius of cables envelop.

Returns
Outer radius of cables envelop

Definition at line 78 of file ARICHGeoCablesEnvelope.h.

◆ getEnvelopeThickness()

double getEnvelopeThickness ( ) const
inline

Returns Thickness of cables envelop.

Returns
Thickness of cables envelop

Definition at line 90 of file ARICHGeoCablesEnvelope.h.

◆ getName()

const std::string& getName ( ) const
inlineinherited

Returns object name.

Returns
object name

Definition at line 49 of file ARICHGeoBase.h.

◆ isConsistent()

virtual bool isConsistent ( ) const
inlinevirtualinherited

Check for consistency of data members.

Returns
true if values consistent (valid)

Reimplemented in ARICHPositionElement, ARICHGeoSupport, ARICHGeoMirrors, ARICHGeoMasterVolume, ARICHGeoHAPD, ARICHGeoDetectorPlane, and ARICHGeoAerogelPlane.

Definition at line 55 of file ARICHGeoBase.h.

◆ print()

void print ( const std::string &  title = "Merger PCB geometry parameters") const
virtual

Print the content of the class.

Parameters
titletitle to be printed

Reimplemented from ARICHGeoBase.

Definition at line 20 of file ARICHGeoCablesEnvelope.cc.

21 {
22 
23  ARICHGeoBase::print(title);
24 
25  cout << "Outer radius of cables envelop : " << getEnvelopeOuterRadius() << endl
26  << "Inner radius of cables envelop : " << getEnvelopeInnerRadius() << endl
27  << "Thickness of cables envelop : " << getEnvelopeThickness() << endl
28  << "Effective material name describing cables : " << getCablesEffectiveMaterialName() << endl;
29  cout << "X0 of ARICH cables envelop center : " << getEnvelopeCenterPosition().X() << endl
30  << "Y0 of ARICH cables envelop center : " << getEnvelopeCenterPosition().Y() << endl
31  << "Z0 of ARICH cables envelop center : " << getEnvelopeCenterPosition().Z() << endl;
32 
33 }
virtual void print(const std::string &title) const
Print the content of the class.
Definition: ARICHGeoBase.cc:20
double getEnvelopeOuterRadius() const
Returns Outer radius of cables envelop.
const std::string & getCablesEffectiveMaterialName() const
Returns Effective material name describing cables.
TVector3 getEnvelopeCenterPosition() const
Returns position vector (TVector3) of cables envelop.
double getEnvelopeInnerRadius() const
Returns Inner radius of cables envelop.
double getEnvelopeThickness() const
Returns Thickness of cables envelop.

◆ printPlacement()

void printPlacement ( double  x,
double  y,
double  z,
double  rx,
double  ry,
double  rz 
) const
virtualinherited

Print volume positioning parameters.

Parameters
xx position
yy position
zz position
rxrotation around x-axis
ryrotation around y-axis
rzrotation around z-axis

Definition at line 25 of file ARICHGeoBase.cc.

◆ printSurface()

void printSurface ( const GeoOpticalSurface surface) const
virtualinherited

Print the content of optical surface.

Parameters
surfaceoptical surface parameters

Definition at line 32 of file ARICHGeoBase.cc.

◆ setCablesEffectiveMaterialName()

void setCablesEffectiveMaterialName ( const std::string &  materialName)
inline

Set Effective material name describing cables.

Parameters
materialNameEffective material name describing cables

Definition at line 40 of file ARICHGeoCablesEnvelope.h.

◆ setEnvelopeCenterPosition()

void setEnvelopeCenterPosition ( double  x0,
double  y0,
double  z0 
)
inline

Set position of cables envelop.

Parameters
x0x position of cables envelop
y0y position of cables envelop
z0z position of cables envelop

Definition at line 66 of file ARICHGeoCablesEnvelope.h.

◆ setEnvelopeInnerRadius()

void setEnvelopeInnerRadius ( double  envelopeInnerRadius)
inline

Set inner radius of cables envelop.

Parameters
envelopeInnerRadiusinner radius of cables envelop

Definition at line 52 of file ARICHGeoCablesEnvelope.h.

◆ setEnvelopeOuterRadius()

void setEnvelopeOuterRadius ( double  envelopeOuterRadius)
inline

Set outer radius of cables envelop.

Parameters
envelopeOuterRadiusouter radius of cables envelop

Definition at line 46 of file ARICHGeoCablesEnvelope.h.

◆ setEnvelopeThickness()

void setEnvelopeThickness ( double  envelopeThickness)
inline

Set thickness of cables envelop.

Parameters
envelopeThicknessthickness of cables envelop

Definition at line 58 of file ARICHGeoCablesEnvelope.h.

◆ setName()

void setName ( const std::string &  name)
inlineinherited

Sets object name.

Parameters
nameobject name

Definition at line 43 of file ARICHGeoBase.h.


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