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

Geometry parameters of Merger Cooling System - version2 (v2). More...

#include <ARICHGeoMergerCooling.h>

Inheritance diagram for ARICHGeoMergerCooling:
Collaboration diagram for ARICHGeoMergerCooling:

Public Member Functions

 ARICHGeoMergerCooling ()
 Default constructor.
 
void setMergerCoolingBodiesMaterialName (const std::string &materialName)
 Set material name of merger cooling bodies. More...
 
void addMergerCoolingBodiesInfo (tessellatedSolidStr mergerCoolingBodiesStr)
 Set vector of structures which holds apexes of the tessellation volumes for (merger cooling bodyes). More...
 
void setMergerCoolingPositionID (const std::vector< double > &mergerCoolingPositionID)
 Set vector of merger cooling body shape id (positionID) for each merger PCB. More...
 
const std::string & getMergerCoolingBodiesMaterialName () const
 Returns material name of merger cooling bodies. More...
 
const tessellatedSolidStr getMergerCoolingBodiesInfo (unsigned int iSlot) const
 Returns structur which holds apexes of the tessellation volumes for (merger cooling bodyes). More...
 
const tessellatedSolidStr getMergerCoolingBodiesInfo_globalMergerID (unsigned int iMergerSlot) const
 Returns structur which holds apexes of the tessellation volumes for (merger cooling bodyes). More...
 
const std::vector< double > & getMergerCoolingPositionID () const
 Returns vector of merger cooling body shape id (positionID) for each merger PCB. More...
 
void print (const std::string &title="Upgraded after phase two cooling system (v2) geometry parameters") const
 Print the content of the class. More...
 
void checkMergerCoolingSystemDataConsistency () const
 Check data consistency of the cooling system (v2) positions 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 (ARICHGeoMergerCooling, 1)
 ClassDef.
 

Private Attributes

std::string m_mergerCoolingBodiesMaterialName
 Name of the merger cooling bodies material.
 
std::vector< double > m_mergerCoolingPositionID
 Merger cooling body shape id (positionID) for each merger PCB. More...
 
std::vector< tessellatedSolidStrm_mergerCoolingBodiesInfo
 

Detailed Description

Geometry parameters of Merger Cooling System - version2 (v2).

Upgrade of the cooling system have been done after phase 2 (in september - november 2018). This data base object contains information about : Merger cooling bodies. Cooling pipes.

Definition at line 31 of file ARICHGeoMergerCooling.h.

Member Function Documentation

◆ addMergerCoolingBodiesInfo()

void addMergerCoolingBodiesInfo ( tessellatedSolidStr  mergerCoolingBodiesStr)
inline

Set vector of structures which holds apexes of the tessellation volumes for (merger cooling bodyes).

Parameters
mergerCoolingBodiesInfovector of structures which holds apexes of the tessellation volumes for (merger cooling bodyes).

Definition at line 51 of file ARICHGeoMergerCooling.h.

51 {m_mergerCoolingBodiesInfo.push_back(mergerCoolingBodiesStr);}

◆ getMergerCoolingBodiesInfo()

const tessellatedSolidStr getMergerCoolingBodiesInfo ( unsigned int  iSlot) const
inline

Returns structur which holds apexes of the tessellation volumes for (merger cooling bodyes).

Returns
structur which holds apexes of the tessellation volumes for (merger cooling bodyes).

Definition at line 69 of file ARICHGeoMergerCooling.h.

◆ getMergerCoolingBodiesInfo_globalMergerID()

const tessellatedSolidStr getMergerCoolingBodiesInfo_globalMergerID ( unsigned int  iMergerSlot) const

Returns structur which holds apexes of the tessellation volumes for (merger cooling bodyes).

Returns
structur which holds apexes of the tessellation volumes for (merger cooling bodyes).

Definition at line 57 of file ARICHGeoMergerCooling.cc.

58 {
59  B2ASSERT("iMergerSlot <=0 ", iMergerSlot > 0);
60  B2ASSERT("iMergerSlot > 72", iMergerSlot <= 72);
61  int positionID = (int)getMergerCoolingPositionID().at(iMergerSlot - 1);
62  B2ASSERT("positionID <=0 ", positionID > 0);
63  B2ASSERT("positionID > 12", positionID <= 12);
64  return getMergerCoolingBodiesInfo(positionID);
65 }
const std::vector< double > & getMergerCoolingPositionID() const
Returns vector of merger cooling body shape id (positionID) for each merger PCB.
const tessellatedSolidStr getMergerCoolingBodiesInfo(unsigned int iSlot) const
Returns structur which holds apexes of the tessellation volumes for (merger cooling bodyes).

◆ getMergerCoolingBodiesMaterialName()

const std::string& getMergerCoolingBodiesMaterialName ( ) const
inline

Returns material name of merger cooling bodies.

Returns
material name of merger cooling bodies

Definition at line 63 of file ARICHGeoMergerCooling.h.

◆ getMergerCoolingPositionID()

const std::vector<double>& getMergerCoolingPositionID ( ) const
inline

Returns vector of merger cooling body shape id (positionID) for each merger PCB.

Returns
vector of merger cooling body shape id (positionID) for each merger PCB.

Definition at line 81 of file ARICHGeoMergerCooling.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 = "Upgraded after phase two cooling system (v2) geometry parameters") const
virtual

Print the content of the class.

Parameters
titletitle to be printed

Reimplemented from ARICHGeoBase.

Definition at line 24 of file ARICHGeoMergerCooling.cc.

◆ 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.

◆ setMergerCoolingBodiesMaterialName()

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

Set material name of merger cooling bodies.

Parameters
materialNamename of merger cooling bodies

Definition at line 45 of file ARICHGeoMergerCooling.h.

◆ setMergerCoolingPositionID()

void setMergerCoolingPositionID ( const std::vector< double > &  mergerCoolingPositionID)
inline

Set vector of merger cooling body shape id (positionID) for each merger PCB.

Parameters
mergerCoolingPositionIDvector of merger cooling body shape id (positionID) for each merger PCB.

Definition at line 57 of file ARICHGeoMergerCooling.h.

◆ setName()

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

Sets object name.

Parameters
nameobject name

Definition at line 43 of file ARICHGeoBase.h.

Member Data Documentation

◆ m_mergerCoolingPositionID

std::vector<double> m_mergerCoolingPositionID
private

Merger cooling body shape id (positionID) for each merger PCB.

Vector of structures which holds apexes of the tessellation volumes for (merger cooling bodyes).

Definition at line 99 of file ARICHGeoMergerCooling.h.


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