Belle II Software development
ARICHGeoCooling Class Reference

Geometry parameters of cooling system. More...

#include <ARICHGeoCooling.h>

Inheritance diagram for ARICHGeoCooling:
ARICHGeoBase

Public Member Functions

 ARICHGeoCooling ()
 Default constructor.
 
void setCoolingPipeMaterialName (const std::string &materialName)
 Set material name of cooling pipe.
 
void setRmin (double rmin)
 Set size of cooling system pipe : inner radius in mm.
 
void setRmax (double rmax)
 Set size of cooling system pipe : outer radius in mm.
 
void setEnvelopeOuterRadius (double envelopeOuterRadius)
 Set outer radius of cooling system assembly envelope.
 
void setEnvelopeInnerRadius (double envelopeInnerRadius)
 Set inner radius of cooling system envelope.
 
void setEnvelopeThickness (double envelopeThickness)
 Set thickness of cooling system assembly envelope.
 
void setEnvelopeCenterPosition (double x0, double y0, double z0)
 Set position of cooling system assembly envelope.
 
void setCoolingGeometryID (const std::vector< double > &coolingGeometryID)
 Set vector of cooling system object geometry ID 1 - G4Tubs 2 - G4Torus.
 
void setCoolingL (const std::vector< double > &coolingL)
 Set vector of lengs of the cooling system object with given geometry ID.
 
void setCoolingPosPhi (const std::vector< double > &coolingPosPhi)
 Set vector of azimuthal angle of the cooling system object center in polar coordinate system in deg.
 
void setCoolingPosR (const std::vector< double > &coolingPosR)
 Set vector of radial distance (r, pho) of the cooling system object center in polar coordinate system in deg.
 
void setCoolinRotationAngle (const std::vector< double > &coolinRotationAngle)
 Set vector of azimuthal angle of rotation around Z - axis of the cooling system object in polar coordinate system in deg.
 
void setCoolingTestPlateMaterialName (const std::string &materialName)
 Set material name of cooling test plates.
 
void setColdTubeMaterialName (const std::string &materialName)
 Set material name of cold tube.
 
void setCoolingTestPlateslengths (double lx, double ly, double lz)
 Set dimentions of cooling test plates in x, y, z directions.
 
void setColdTubeR (double coldTubeR)
 Set radius of cold tubes in the cooling test plane.
 
void setColdTubeSubtractedR (double coldTubeSubtractedR)
 Set outer radius of subtracted tubes for cold tube.
 
void setColdTubeWallThickness (double coldTubeWallThickness)
 Set cold tube wall thickness.
 
void setDepthColdTubeInPlate (double depthColdTubeInPlate)
 Set depth of the cold tube in the cooling test plate.
 
void setColdTubeSpacing (double coldTubeSpacing)
 Set distance from center of the cold tube to edge of cooling plate.
 
void setColdTubeNumber (int coldTubeNumber)
 Set number of cold tubes in one plate.
 
void setCoolingTestPlatePosR (const std::vector< double > &coolingTestPlatePosR)
 Set vector of rho of the cooling test plates center in polar coordinate system in mm.
 
void setCoolingTestPlatePosPhi (const std::vector< double > &coolingTestPlatePosPhi)
 Set vector of azimuthal angle of the cooling test plates center in polar coordinate system in deg.
 
void setCoolingTestPlatePosZ0 (const std::vector< double > &coolingTestPlatePosZ0)
 Set vector of Z placement of the cooling test plates center within ARICH mother volume in mm.
 
const std::string & getCoolingPipeMaterialName () const
 Get material name of cooling pipe.
 
double getRmin () const
 Get size of cooling system pipe : inner radius in mm.
 
double getRmax () const
 Get size of cooling system pipe : outer radius in mm.
 
double getEnvelopeOuterRadius () const
 Get outer radius of cooling system assembly envelope.
 
double getEnvelopeInnerRadius () const
 Get inner radius of cooling system assembly envelope.
 
double getEnvelopeThickness () const
 Get thickness of cooling system assembly envelope.
 
ROOT::Math::XYZVector getEnvelopeCenterPosition () const
 Get position vector (ROOT::Math::XYZVector) of cooling system assembly envelope.
 
const std::vector< double > & getCoolingGeometryID () const
 Get vector of cooling system object geometry ID.
 
const std::vector< double > & getCoolingL () const
 Get vector of lengs of the cooling system object with given geometry ID.
 
const std::vector< double > & getCoolingPosPhi () const
 Get vector of azimuthal angle of the cooling system object center in polar coordinate system in deg.
 
const std::vector< double > & getCoolingPosR () const
 Get vector of radial distance (r, pho) of the cooling system object center in polar coordinate system in deg.
 
const std::vector< double > & getCoolinRotationAngle () const
 Get vector of azimuthal angle of rotation aroud Z - axis of the cooling system object in polar coordinate system in deg.
 
const std::string & getCoolingTestPlateMaterialName () const
 Get material name of cooling test plates.
 
const std::string & getColdTubeMaterialName () const
 Get material name of cold tube.
 
ROOT::Math::XYZVector getCoolingTestPlateslengths () const
 Get sizes vector (ROOT::Math::XYZVector) of cooling test plates.
 
double getColdTubeR () const
 Get radius of cold tubes.
 
double getColdTubeSubtractedR () const
 Get outer radius of subtracted tubes for cold tube.
 
double getColdTubeWallThickness () const
 Get cold tube wall thickness.
 
double getDepthColdTubeInPlate () const
 Get depth of the cold tube in the cooling plate.
 
double getColdTubeSpacing () const
 Get distance from center of the cold tube to edge of cooling plate.
 
int getColdTubeNumber () const
 Get number of cold tubes in one plate.
 
const std::vector< double > & getCoolingTestPlatePosR () const
 Get vector of Rho of the cooling test plates center in polar coordinate system in mm.
 
const std::vector< double > & getCoolingTestPlatePosPhi () const
 Get vector of Azimuthal angle of the cooling test plates center in polar coordinate system in deg.
 
const std::vector< double > & getCoolingTestPlatePosZ0 () const
 Get vector of Z placement of the cooling test plates center within ARICH mother volume in mm.
 
void print (const std::string &title="Cooling system geometry parameters") const
 Print the content of the class.
 
void checkCoolingSystemDataConsistency () const
 Check data consistency of the cooling system positions.
 
void setName (const std::string &name)
 Sets object name.
 
const std::string & getName () const
 Returns object name.
 
virtual bool isConsistent () const
 Check for consistency of data members.
 
virtual void printSurface (const GeoOpticalSurface &surface) const
 Print the content of optical surface.
 
virtual void printPlacement (double x, double y, double z, double rx, double ry, double rz) const
 Print volume positioning parameters.
 

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 (ARICHGeoCooling, 1)
 ClassDef.
 

Private Attributes

std::string m_coolingPipeMaterialName
 Material of cooling pipe.
 
double m_Rmin = 0.0
 Size of cooling system pipe : inner radius in mm.
 
double m_Rmax = 0.0
 Size of cooling system pipe : outer radius in mm.
 
double m_envelopeOuterRadius = 0.0
 Outer radius of cooling system assembly envelope.
 
double m_envelopeInnerRadius = 0.0
 Inner radius of cooling system assembly envelope.
 
double m_envelopeThickness = 0.0
 Thickness of cooling system assembly envelope.
 
double m_envelopeX0 = 0.0
 X0 cooling system assembly envelope.
 
double m_envelopeY0 = 0.0
 Y0 cooling system assembly envelope.
 
double m_envelopeZ0 = 0.0
 Z0 cooling system assembly envelope.
 
std::vector< double > m_coolingGeometryID
 Cooling system object geometry ID.
 
std::vector< double > m_coolingL
 Lengs of the cooling system object with given geometry ID.
 
std::vector< double > m_coolingPosPhi
 Azimuthal angle of the cooling system object center in polar coordinate system in deg.
 
std::vector< double > m_coolingPosR
 Radial distance (r, pho) of the cooling system object center in polar coordinate system in deg.
 
std::vector< double > m_coolinRotationAngle
 Azimuthal angle of rotation aroud Z - axis of the cooling system object in polar coordinate system in deg.
 
std::string m_coolingTestPlateMaterialName
 Material name of cooling test plates.
 
std::string m_coldTubeMaterialName
 Material name of cold tube.
 
double m_coolingTestPlateslengthX = 0.0
 Size of cooling test plates (x)
 
double m_coolingTestPlateslengthY = 0.0
 Size of cooling test plates (y)
 
double m_coolingTestPlateslengthZ = 0.0
 Size of cooling test plates (z)
 
double m_coldTubeR = 0.0
 Outer radius of cold tubes.
 
double m_coldTubeSubtractedR = 0.0
 Outer radius of subtracted tubes for cold tube.
 
double m_coldTubeWallThickness = 0.0
 Cold tube wall thickness.
 
double m_depthColdTubeInPlate = 0.0
 Depth of the cold tube in the cooling plate.
 
double m_coldTubeSpacing = 0.0
 Distance from center of the cold tube to edge of cooling plate.
 
int m_coldTubeNumber = 0
 number of cold tubes in one plate
 
std::vector< double > m_coolingTestPlatePosR
 Rho of the cooling test plates center in polar coordinate system in mm.
 
std::vector< double > m_coolingTestPlatePosPhi
 Azimuthal angle of the cooling test plates center in polar coordinate system in deg.
 
std::vector< double > m_coolingTestPlatePosZ0
 Z placement of the cooling test plates center within ARICH mother volume in mm.
 

Detailed Description

Geometry parameters of cooling system.

Definition at line 26 of file ARICHGeoCooling.h.

Constructor & Destructor Documentation

◆ ARICHGeoCooling()

ARICHGeoCooling ( )
inline

Default constructor.

Definition at line 33 of file ARICHGeoCooling.h.

34 {}

Member Function Documentation

◆ checkCoolingSystemDataConsistency()

void checkCoolingSystemDataConsistency ( ) const

Check data consistency of the cooling system positions.

In case of failure print the basf2 ERROR message using B2ASSERT.

Definition at line 66 of file ARICHGeoCooling.cc.

67{
68
69 B2ASSERT("Data of the cooling system positions is inconsisten : getCoolingGeometryID().size() != getCoolingL().size()",
70 getCoolingGeometryID().size() == getCoolingL().size());
71 B2ASSERT("Data of the cooling system positions is inconsisten : getCoolingL().size() != getCoolingPosPhi().size()",
72 getCoolingL().size() == getCoolingPosPhi().size());
73 B2ASSERT("Data of the cooling system positions is inconsisten : getCoolingPosPhi().size() != getCoolingPosR().size()",
74 getCoolingPosPhi().size() == getCoolingPosR().size());
75 B2ASSERT("Data of the cooling system positions is inconsisten : getCoolingPosR().size() != getCoolinRotationAngle().size()",
76 getCoolingPosR().size() == getCoolinRotationAngle().size());
77 B2ASSERT("Data of the cooling system positions is inconsisten : getCoolingTestPlatePosR().size() != getCoolingTestPlatePosPhi().size()",
79}
const std::vector< double > & getCoolinRotationAngle() const
Get vector of azimuthal angle of rotation aroud Z - axis of the cooling system object in polar coordi...
const std::vector< double > & getCoolingPosPhi() const
Get vector of azimuthal angle of the cooling system object center in polar coordinate system in deg.
const std::vector< double > & getCoolingGeometryID() const
Get vector of cooling system object geometry ID.
const std::vector< double > & getCoolingL() const
Get vector of lengs of the cooling system object with given geometry ID.
const std::vector< double > & getCoolingPosR() const
Get vector of radial distance (r, pho) of the cooling system object center in polar coordinate system...
const std::vector< double > & getCoolingTestPlatePosPhi() const
Get vector of Azimuthal angle of the cooling test plates center in polar coordinate system in deg.
const std::vector< double > & getCoolingTestPlatePosR() const
Get vector of Rho of the cooling test plates center in polar coordinate system in mm.

◆ getColdTubeMaterialName()

const std::string & getColdTubeMaterialName ( ) const
inline

Get material name of cold tube.

Returns
Material name of cold tube.

Definition at line 315 of file ARICHGeoCooling.h.

315{ return m_coldTubeMaterialName; }
std::string m_coldTubeMaterialName
Material name of cold tube.

◆ getColdTubeNumber()

int getColdTubeNumber ( ) const
inline

Get number of cold tubes in one plate.

Returns
number of cold tubes in one plate.

Definition at line 360 of file ARICHGeoCooling.h.

360{ return m_coldTubeNumber; }
int m_coldTubeNumber
number of cold tubes in one plate

◆ getColdTubeR()

double getColdTubeR ( ) const
inline

Get radius of cold tubes.

Returns
Radius of cold tubes.

Definition at line 330 of file ARICHGeoCooling.h.

330{ return m_coldTubeR; }
double m_coldTubeR
Outer radius of cold tubes.

◆ getColdTubeSpacing()

double getColdTubeSpacing ( ) const
inline

Get distance from center of the cold tube to edge of cooling plate.

Returns
Distance from center of the cold tube to edge of cooling plate.

Definition at line 354 of file ARICHGeoCooling.h.

354{ return m_coldTubeSpacing; }
double m_coldTubeSpacing
Distance from center of the cold tube to edge of cooling plate.

◆ getColdTubeSubtractedR()

double getColdTubeSubtractedR ( ) const
inline

Get outer radius of subtracted tubes for cold tube.

Returns
Outer radius of subtracted tubes for cold tube.

Definition at line 336 of file ARICHGeoCooling.h.

336{ return m_coldTubeSubtractedR; }
double m_coldTubeSubtractedR
Outer radius of subtracted tubes for cold tube.

◆ getColdTubeWallThickness()

double getColdTubeWallThickness ( ) const
inline

Get cold tube wall thickness.

Returns
Cold tube wall thickness.

Definition at line 342 of file ARICHGeoCooling.h.

342{ return m_coldTubeWallThickness; }
double m_coldTubeWallThickness
Cold tube wall thickness.

◆ getCoolingGeometryID()

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

Get vector of cooling system object geometry ID.

Returns
Vector of cooling system object geometry ID.

Definition at line 272 of file ARICHGeoCooling.h.

272{ return m_coolingGeometryID; }
std::vector< double > m_coolingGeometryID
Cooling system object geometry ID.

◆ getCoolingL()

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

Get vector of lengs of the cooling system object with given geometry ID.

Returns
Vector of lengs of the cooling system object with given geometry ID.

Definition at line 279 of file ARICHGeoCooling.h.

279{ return m_coolingL; }
std::vector< double > m_coolingL
Lengs of the cooling system object with given geometry ID.

◆ getCoolingPipeMaterialName()

const std::string & getCoolingPipeMaterialName ( ) const
inline

Get material name of cooling pipe.

Returns
Material name of cooling pipe.

Definition at line 227 of file ARICHGeoCooling.h.

std::string m_coolingPipeMaterialName
Material of cooling pipe.

◆ getCoolingPosPhi()

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

Get vector of azimuthal angle of the cooling system object center in polar coordinate system in deg.

Returns
Vector of azimuthal angle of the cooling system object center in polar coordinate system in deg.

Definition at line 287 of file ARICHGeoCooling.h.

287{ return m_coolingPosPhi; }
std::vector< double > m_coolingPosPhi
Azimuthal angle of the cooling system object center in polar coordinate system in deg.

◆ getCoolingPosR()

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

Get vector of radial distance (r, pho) of the cooling system object center in polar coordinate system in deg.

Returns
Vector of radial distance (r, pho) of the cooling system object center in polar coordinate system in deg.

Definition at line 295 of file ARICHGeoCooling.h.

295{ return m_coolingPosR; }
std::vector< double > m_coolingPosR
Radial distance (r, pho) of the cooling system object center in polar coordinate system in deg.

◆ getCoolingTestPlateMaterialName()

const std::string & getCoolingTestPlateMaterialName ( ) const
inline

Get material name of cooling test plates.

Returns
Material name of cooling test plates.

Definition at line 309 of file ARICHGeoCooling.h.

std::string m_coolingTestPlateMaterialName
Material name of cooling test plates.

◆ getCoolingTestPlatePosPhi()

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

Get vector of Azimuthal angle of the cooling test plates center in polar coordinate system in deg.

Returns
vector of Azimuthal angle of the cooling test plates center in polar coordinate system in deg.

Definition at line 376 of file ARICHGeoCooling.h.

376{ return m_coolingTestPlatePosPhi; }
std::vector< double > m_coolingTestPlatePosPhi
Azimuthal angle of the cooling test plates center in polar coordinate system in deg.

◆ getCoolingTestPlatePosR()

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

Get vector of Rho of the cooling test plates center in polar coordinate system in mm.

Returns
vector of Rho of the cooling test plates center in polar coordinate system in mm.

Definition at line 368 of file ARICHGeoCooling.h.

368{ return m_coolingTestPlatePosR; }
std::vector< double > m_coolingTestPlatePosR
Rho of the cooling test plates center in polar coordinate system in mm.

◆ getCoolingTestPlatePosZ0()

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

Get vector of Z placement of the cooling test plates center within ARICH mother volume in mm.

Returns
vector of Z placement of the cooling test plates center within ARICH mother volume in mm.

Definition at line 384 of file ARICHGeoCooling.h.

384{ return m_coolingTestPlatePosZ0; }
std::vector< double > m_coolingTestPlatePosZ0
Z placement of the cooling test plates center within ARICH mother volume in mm.

◆ getCoolingTestPlateslengths()

ROOT::Math::XYZVector getCoolingTestPlateslengths ( ) const
inline

Get sizes vector (ROOT::Math::XYZVector) of cooling test plates.

Returns
Sizes vector (ROOT::Math::XYZVector) of cooling test plates.

Definition at line 321 of file ARICHGeoCooling.h.

322 {
324 }
double m_coolingTestPlateslengthY
Size of cooling test plates (y)
double m_coolingTestPlateslengthX
Size of cooling test plates (x)
double m_coolingTestPlateslengthZ
Size of cooling test plates (z)

◆ getCoolinRotationAngle()

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

Get vector of azimuthal angle of rotation aroud Z - axis of the cooling system object in polar coordinate system in deg.

Returns
Vector of Azimuthal angle of rotation aroud Z - axis of the cooling system object in polar coordinate system in deg.

Definition at line 303 of file ARICHGeoCooling.h.

303{ return m_coolinRotationAngle; }
std::vector< double > m_coolinRotationAngle
Azimuthal angle of rotation aroud Z - axis of the cooling system object in polar coordinate system in...

◆ getDepthColdTubeInPlate()

double getDepthColdTubeInPlate ( ) const
inline

Get depth of the cold tube in the cooling plate.

Returns
Depth of the cold tube in the cooling plate.

Definition at line 348 of file ARICHGeoCooling.h.

348{ return m_depthColdTubeInPlate; }
double m_depthColdTubeInPlate
Depth of the cold tube in the cooling plate.

◆ getEnvelopeCenterPosition()

ROOT::Math::XYZVector getEnvelopeCenterPosition ( ) const
inline

Get position vector (ROOT::Math::XYZVector) of cooling system assembly envelope.

Returns
Position vector (ROOT::Math::XYZVector) of cooling system assembly envelope.

Definition at line 263 of file ARICHGeoCooling.h.

264 {
265 return ROOT::Math::XYZVector(m_envelopeX0, m_envelopeY0, m_envelopeZ0);
266 }
double m_envelopeZ0
Z0 cooling system assembly envelope.
double m_envelopeX0
X0 cooling system assembly envelope.
double m_envelopeY0
Y0 cooling system assembly envelope.

◆ getEnvelopeInnerRadius()

double getEnvelopeInnerRadius ( ) const
inline

Get inner radius of cooling system assembly envelope.

Returns
Inner radius of cooling system assembly envelope.

Definition at line 251 of file ARICHGeoCooling.h.

251{ return m_envelopeInnerRadius; }
double m_envelopeInnerRadius
Inner radius of cooling system assembly envelope.

◆ getEnvelopeOuterRadius()

double getEnvelopeOuterRadius ( ) const
inline

Get outer radius of cooling system assembly envelope.

Returns
Outer radius of cooling system assembly envelope.

Definition at line 245 of file ARICHGeoCooling.h.

245{ return m_envelopeOuterRadius; }
double m_envelopeOuterRadius
Outer radius of cooling system assembly envelope.

◆ getEnvelopeThickness()

double getEnvelopeThickness ( ) const
inline

Get thickness of cooling system assembly envelope.

Returns
Thickness of cooling system assembly envelope.

Definition at line 257 of file ARICHGeoCooling.h.

257{ return m_envelopeThickness; }
double m_envelopeThickness
Thickness of cooling system assembly envelope.

◆ getName()

const std::string & getName ( ) const
inlineinherited

Returns object name.

Returns
object name

Definition at line 49 of file ARICHGeoBase.h.

49{return m_name;}
std::string m_name
geometry object name
Definition: ARICHGeoBase.h:82

◆ getRmax()

double getRmax ( ) const
inline

Get size of cooling system pipe : outer radius in mm.

Returns
Size of cooling system pipe : outer radius in mm.

Definition at line 239 of file ARICHGeoCooling.h.

239{ return m_Rmax; }
double m_Rmax
Size of cooling system pipe : outer radius in mm.

◆ getRmin()

double getRmin ( ) const
inline

Get size of cooling system pipe : inner radius in mm.

Returns
Size of cooling system pipe : inner radius in mm

Definition at line 233 of file ARICHGeoCooling.h.

233{ return m_Rmin; }
double m_Rmin
Size of cooling system pipe : inner radius in mm.

◆ isConsistent()

virtual bool isConsistent ( ) const
inlinevirtualinherited

Check for consistency of data members.

Returns
true if values consistent (valid)

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

Definition at line 55 of file ARICHGeoBase.h.

55{return false;}

◆ print()

void print ( const std::string &  title = "Cooling system geometry parameters") const
virtual

Print the content of the class.

Parameters
[in]titleTitle to be printed.

Reimplemented from ARICHGeoBase.

Definition at line 18 of file ARICHGeoCooling.cc.

19{
20
22
23 cout << "Outer radius of merger PCB assembly envelope : " << getEnvelopeOuterRadius() << endl
24 << "Inner radius of merger PCB assembly envelope : " << getEnvelopeInnerRadius() << endl
25 << "Thickness of merger PCB assembly envelope : " << getEnvelopeThickness() << endl;
26 cout << "X0 merger PCB assembly envelope : " << getEnvelopeCenterPosition().X() << endl
27 << "Y0 merger PCB assembly envelope : " << getEnvelopeCenterPosition().Y() << endl
28 << "Z0 merger PCB assembly envelope : " << getEnvelopeCenterPosition().Z() << endl;
29 cout << "material name of cooling pipe : " << getCoolingPipeMaterialName() << endl
30 << "Size of cooling system pipe : inner radius in mm : " << getRmin() << endl
31 << "Size of cooling system pipe : outer radius in mm : " << getRmax() << endl;
32 cout << "Material name of cooling test plates : " << getCoolingTestPlateMaterialName() << endl
33 << "Size of cooling test plates (x) : " << getCoolingTestPlateslengths().X() << endl
34 << "Size of cooling test plates (y) : " << getCoolingTestPlateslengths().Y() << endl
35 << "Size of cooling test plates (z) : " << getCoolingTestPlateslengths().Z() << endl
36 << "Radius of cold tubes : " << getColdTubeR() << endl
37 << "Depth of the cold tube in the cooling plate : " << getDepthColdTubeInPlate() << endl
38 << "Distance from center of the cold tube to edge of cooling plate : " << getColdTubeSpacing() << endl
39 << "number of cold tubes in one plate : " << getColdTubeNumber() << endl;
40 cout << "material name of cold tube : " << getColdTubeMaterialName() << endl
41 << "outer radius of subtracted tubes for cold tube : " << getColdTubeSubtractedR() << endl
42 << "cold tube wall thickness : " << getColdTubeWallThickness() << endl;
43
44 cout << setw(20) << " #" << setw(25) << "coolingTestPlatePosR" << setw(25) << "coolingTestPlatePosPhi" << setw(
45 25) << "coolingTestPlatePosZ0" << endl;
46 for (unsigned i = 0; i < getCoolingTestPlatePosR().size(); i++) {
47 cout << setw(20) << i
48 << setw(25) << getCoolingTestPlatePosR().at(i)
49 << setw(25) << getCoolingTestPlatePosPhi().at(i)
50 << setw(25) << getCoolingTestPlatePosZ0().at(i) << endl;
51 }
52
53 cout << setw(20) << " #" << setw(20) << "coolingGeometryID" << setw(20) << "coolingL" << setw(20) << "coolingPosPhi" << setw(
54 20) << "coolingPosR" << setw(25) << "coolinRotationAngle" << endl;
55 for (unsigned i = 0; i < getCoolingGeometryID().size(); i++) {
56 cout << setw(20) << i
57 << setw(20) << getCoolingGeometryID().at(i)
58 << setw(20) << getCoolingL().at(i)
59 << setw(20) << getCoolingPosPhi().at(i)
60 << setw(20) << getCoolingPosR().at(i)
61 << setw(25) << getCoolinRotationAngle().at(i) << endl;
62 }
63
64}
virtual void print(const std::string &title) const
Print the content of the class.
Definition: ARICHGeoBase.cc:20
double getColdTubeWallThickness() const
Get cold tube wall thickness.
double getEnvelopeOuterRadius() const
Get outer radius of cooling system assembly envelope.
double getColdTubeSpacing() const
Get distance from center of the cold tube to edge of cooling plate.
const std::string & getCoolingPipeMaterialName() const
Get material name of cooling pipe.
double getColdTubeR() const
Get radius of cold tubes.
const std::string & getColdTubeMaterialName() const
Get material name of cold tube.
const std::string & getCoolingTestPlateMaterialName() const
Get material name of cooling test plates.
const std::vector< double > & getCoolingTestPlatePosZ0() const
Get vector of Z placement of the cooling test plates center within ARICH mother volume in mm.
ROOT::Math::XYZVector getEnvelopeCenterPosition() const
Get position vector (ROOT::Math::XYZVector) of cooling system assembly envelope.
double getRmax() const
Get size of cooling system pipe : outer radius in mm.
double getEnvelopeInnerRadius() const
Get inner radius of cooling system assembly envelope.
ROOT::Math::XYZVector getCoolingTestPlateslengths() const
Get sizes vector (ROOT::Math::XYZVector) of cooling test plates.
double getRmin() const
Get size of cooling system pipe : inner radius in mm.
double getDepthColdTubeInPlate() const
Get depth of the cold tube in the cooling plate.
double getEnvelopeThickness() const
Get thickness of cooling system assembly envelope.
double getColdTubeSubtractedR() const
Get outer radius of subtracted tubes for cold tube.
int getColdTubeNumber() const
Get number of cold tubes in one plate.

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

26{
27// cout << "Volume positioning information (inside local ARICH frame)" << endl;
28 cout << " Center position; x: " << x << " " << s_unitName << ", y: " << y << " " << s_unitName << ", z: " << z << " " << s_unitName
29 << endl;
30 cout << " Rotations; x-axis: " << rx << " y-axis: " << ry << " z-axis: " << rz << " (in rad)" << endl;
31}
static std::string s_unitName
conversion unit name
Definition: ARICHGeoBase.h:84

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

33{
34 cout << " Optical surface: ";
35 if (surface.getName().empty() and !surface.hasProperties()) {
36 cout << "not defined" << endl;
37 return;
38 }
39 cout << surface.getName();
40 cout << ", model: " << surface.getModel();
41 cout << ", finish: " << surface.getFinish();
42 cout << ", type: " << surface.getType();
43 cout << ", value: " << surface.getValue();
44 cout << endl;
45 if (surface.hasProperties()) {
46 for (const auto& property : surface.getProperties()) {
47 cout << " - property: ";
48 cout << property.getName() << " [";
49 for (const auto& value : property.getValues()) cout << value << ", ";
50 cout << "], @[";
51 for (const auto& value : property.getEnergies()) cout << value / Unit::eV << ", ";
52 cout << "] eV" << endl;
53 }
54 } else {
55 cout << " - properties: None" << endl;
56 }
57
58}
const std::string & getName() const
get name of the optical surface
int getFinish() const
get finish of the surface
const std::vector< GeoMaterialProperty > & getProperties() const
get all properties
double getValue() const
get value for the surface condition
int getType() const
get type of the surface
bool hasProperties() const
check if the material has at least one property
int getModel() const
get model for the surface
static const double eV
[electronvolt]
Definition: Unit.h:112

◆ setColdTubeMaterialName()

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

Set material name of cold tube.

Parameters
[in]materialNameMaterial name of cold tube.

Definition at line 142 of file ARICHGeoCooling.h.

142{m_coldTubeMaterialName = materialName;}

◆ setColdTubeNumber()

void setColdTubeNumber ( int  coldTubeNumber)
inline

Set number of cold tubes in one plate.

Parameters
[in]coldTubeNumberNumber of cold tubes in one plate.

Definition at line 192 of file ARICHGeoCooling.h.

192{m_coldTubeNumber = coldTubeNumber;}

◆ setColdTubeR()

void setColdTubeR ( double  coldTubeR)
inline

Set radius of cold tubes in the cooling test plane.

Parameters
[in]coldTubeRRadius of cold tubes in the cooling test plane.

Definition at line 156 of file ARICHGeoCooling.h.

156{m_coldTubeR = coldTubeR;}

◆ setColdTubeSpacing()

void setColdTubeSpacing ( double  coldTubeSpacing)
inline

Set distance from center of the cold tube to edge of cooling plate.

Parameters
[in]coldTubeSpacingDistance from center of the cold tube to edge of cooling plate.

Definition at line 186 of file ARICHGeoCooling.h.

186{m_coldTubeSpacing = coldTubeSpacing;}

◆ setColdTubeSubtractedR()

void setColdTubeSubtractedR ( double  coldTubeSubtractedR)
inline

Set outer radius of subtracted tubes for cold tube.

Parameters
[in]coldTubeSubtractedROuter radius of subtracted tubes for cold tube.

Definition at line 164 of file ARICHGeoCooling.h.

164{m_coldTubeSubtractedR = coldTubeSubtractedR;}

◆ setColdTubeWallThickness()

void setColdTubeWallThickness ( double  coldTubeWallThickness)
inline

Set cold tube wall thickness.

Parameters
[in]coldTubeWallThicknessCold tube wall thickness.

Definition at line 170 of file ARICHGeoCooling.h.

170{m_coldTubeWallThickness = coldTubeWallThickness;}

◆ setCoolingGeometryID()

void setCoolingGeometryID ( const std::vector< double > &  coolingGeometryID)
inline

Set vector of cooling system object geometry ID 1 - G4Tubs 2 - G4Torus.

Parameters
[in]coolingGeometryIDVector of cooling system object geometry ID.

Definition at line 92 of file ARICHGeoCooling.h.

92{ m_coolingGeometryID = coolingGeometryID; }

◆ setCoolingL()

void setCoolingL ( const std::vector< double > &  coolingL)
inline

Set vector of lengs of the cooling system object with given geometry ID.

Parameters
[in]coolingLVector of lengs of the cooling system object with given geometry ID.

Definition at line 100 of file ARICHGeoCooling.h.

100{ m_coolingL = coolingL;}

◆ setCoolingPipeMaterialName()

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

Set material name of cooling pipe.

Parameters
[in]materialNameMaterial name of cooling pipe.

Definition at line 40 of file ARICHGeoCooling.h.

40{m_coolingPipeMaterialName = materialName;}

◆ setCoolingPosPhi()

void setCoolingPosPhi ( const std::vector< double > &  coolingPosPhi)
inline

Set vector of azimuthal angle of the cooling system object center in polar coordinate system in deg.

Parameters
[in]coolingPosPhiVector of azimuthal angle of the cooling system object center in polar coordinate system in deg.

Definition at line 110 of file ARICHGeoCooling.h.

110{ m_coolingPosPhi = coolingPosPhi; }

◆ setCoolingPosR()

void setCoolingPosR ( const std::vector< double > &  coolingPosR)
inline

Set vector of radial distance (r, pho) of the cooling system object center in polar coordinate system in deg.

Parameters
[in]coolingPosRVector of radial distance (r, pho) of the cooling system object center in polar coordinate system in deg.

Definition at line 120 of file ARICHGeoCooling.h.

120{ m_coolingPosR = coolingPosR; }

◆ setCoolingTestPlateMaterialName()

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

Set material name of cooling test plates.

Parameters
[in]materialNameMaterial name of cooling test plates.

Definition at line 136 of file ARICHGeoCooling.h.

136{m_coolingTestPlateMaterialName = materialName;}

◆ setCoolingTestPlatePosPhi()

void setCoolingTestPlatePosPhi ( const std::vector< double > &  coolingTestPlatePosPhi)
inline

Set vector of azimuthal angle of the cooling test plates center in polar coordinate system in deg.

Parameters
[in]coolingTestPlatePosPhiAzimuthal angle of the cooling test plates center in polar coordinate system in deg.

Definition at line 211 of file ARICHGeoCooling.h.

211{ m_coolingTestPlatePosPhi = coolingTestPlatePosPhi; }

◆ setCoolingTestPlatePosR()

void setCoolingTestPlatePosR ( const std::vector< double > &  coolingTestPlatePosR)
inline

Set vector of rho of the cooling test plates center in polar coordinate system in mm.

Parameters
[in]coolingTestPlatePosRRho of the cooling test plates center in polar coordinate system in mm.

Definition at line 201 of file ARICHGeoCooling.h.

201{ m_coolingTestPlatePosR = coolingTestPlatePosR; }

◆ setCoolingTestPlatePosZ0()

void setCoolingTestPlatePosZ0 ( const std::vector< double > &  coolingTestPlatePosZ0)
inline

Set vector of Z placement of the cooling test plates center within ARICH mother volume in mm.

Parameters
[in]coolingTestPlatePosZ0Vector of Z placement of the cooling test plates center within ARICH mother volume in mm.

Definition at line 221 of file ARICHGeoCooling.h.

221{ m_coolingTestPlatePosZ0 = coolingTestPlatePosZ0; }

◆ setCoolingTestPlateslengths()

void setCoolingTestPlateslengths ( double  lx,
double  ly,
double  lz 
)
inline

Set dimentions of cooling test plates in x, y, z directions.

Parameters
[in]lxLength of cooling test plate along x axis.
[in]lyLength of cooling test plate along y axis.
[in]lzLength of cooling test plate along z axis.

Definition at line 150 of file ARICHGeoCooling.h.

◆ setCoolinRotationAngle()

void setCoolinRotationAngle ( const std::vector< double > &  coolinRotationAngle)
inline

Set vector of azimuthal angle of rotation around Z - axis of the cooling system object in polar coordinate system in deg.

Parameters
[in]coolinRotationAngleVector of azimuthal angle of rotation around Z - axis of the cooling system object in polar coordinate system in deg.

Definition at line 130 of file ARICHGeoCooling.h.

130{ m_coolinRotationAngle = coolinRotationAngle; }

◆ setDepthColdTubeInPlate()

void setDepthColdTubeInPlate ( double  depthColdTubeInPlate)
inline

Set depth of the cold tube in the cooling test plate.

Parameters
[in]depthColdTubeInPlateDepth of the cold tube in the cooling test plate.

Definition at line 178 of file ARICHGeoCooling.h.

178{m_depthColdTubeInPlate = depthColdTubeInPlate;}

◆ setEnvelopeCenterPosition()

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

Set position of cooling system assembly envelope.

Parameters
[in]x0X position of cooling system assembly envelope.
[in]y0Y position of cooling system assembly envelope.
[in]z0Z position of cooling system assembly envelope.

Definition at line 84 of file ARICHGeoCooling.h.

84{ m_envelopeX0 = x0; m_envelopeY0 = y0; m_envelopeZ0 = z0; }

◆ setEnvelopeInnerRadius()

void setEnvelopeInnerRadius ( double  envelopeInnerRadius)
inline

Set inner radius of cooling system envelope.

Parameters
[in]envelopeInnerRadiusInner radius of cooling system assembly envelope.

Definition at line 68 of file ARICHGeoCooling.h.

68{m_envelopeInnerRadius = envelopeInnerRadius;}

◆ setEnvelopeOuterRadius()

void setEnvelopeOuterRadius ( double  envelopeOuterRadius)
inline

Set outer radius of cooling system assembly envelope.

Parameters
[in]envelopeOuterRadiusOuter radius of cooling system assembly envelope.

Definition at line 60 of file ARICHGeoCooling.h.

60{m_envelopeOuterRadius = envelopeOuterRadius;}

◆ setEnvelopeThickness()

void setEnvelopeThickness ( double  envelopeThickness)
inline

Set thickness of cooling system assembly envelope.

Parameters
[in]envelopeThicknessThickness of cooling system assembly envelope.

Definition at line 76 of file ARICHGeoCooling.h.

76{m_envelopeThickness = envelopeThickness;}

◆ setName()

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

Sets object name.

Parameters
nameobject name

Definition at line 43 of file ARICHGeoBase.h.

43{m_name = name;}

◆ setRmax()

void setRmax ( double  rmax)
inline

Set size of cooling system pipe : outer radius in mm.

Parameters
[in]rmaxSize of cooling system pipe : outer radius in mm.

Definition at line 52 of file ARICHGeoCooling.h.

52{m_Rmax = rmax;}

◆ setRmin()

void setRmin ( double  rmin)
inline

Set size of cooling system pipe : inner radius in mm.

Parameters
[in]rminSize of cooling system pipe : inner radius in mm.

Definition at line 46 of file ARICHGeoCooling.h.

46{m_Rmin = rmin;}

Member Data Documentation

◆ m_coldTubeMaterialName

std::string m_coldTubeMaterialName
private

Material name of cold tube.

Definition at line 422 of file ARICHGeoCooling.h.

◆ m_coldTubeNumber

int m_coldTubeNumber = 0
private

number of cold tubes in one plate

Definition at line 431 of file ARICHGeoCooling.h.

◆ m_coldTubeR

double m_coldTubeR = 0.0
private

Outer radius of cold tubes.

Definition at line 426 of file ARICHGeoCooling.h.

◆ m_coldTubeSpacing

double m_coldTubeSpacing = 0.0
private

Distance from center of the cold tube to edge of cooling plate.

Definition at line 430 of file ARICHGeoCooling.h.

◆ m_coldTubeSubtractedR

double m_coldTubeSubtractedR = 0.0
private

Outer radius of subtracted tubes for cold tube.

Definition at line 427 of file ARICHGeoCooling.h.

◆ m_coldTubeWallThickness

double m_coldTubeWallThickness = 0.0
private

Cold tube wall thickness.

Definition at line 428 of file ARICHGeoCooling.h.

◆ m_coolingGeometryID

std::vector<double> m_coolingGeometryID
private

Cooling system object geometry ID.

Definition at line 409 of file ARICHGeoCooling.h.

◆ m_coolingL

std::vector<double> m_coolingL
private

Lengs of the cooling system object with given geometry ID.

Definition at line 410 of file ARICHGeoCooling.h.

◆ m_coolingPipeMaterialName

std::string m_coolingPipeMaterialName
private

Material of cooling pipe.

Definition at line 400 of file ARICHGeoCooling.h.

◆ m_coolingPosPhi

std::vector<double> m_coolingPosPhi
private

Azimuthal angle of the cooling system object center in polar coordinate system in deg.

Definition at line 412 of file ARICHGeoCooling.h.

◆ m_coolingPosR

std::vector<double> m_coolingPosR
private

Radial distance (r, pho) of the cooling system object center in polar coordinate system in deg.

Definition at line 414 of file ARICHGeoCooling.h.

◆ m_coolingTestPlateMaterialName

std::string m_coolingTestPlateMaterialName
private

Material name of cooling test plates.

Definition at line 421 of file ARICHGeoCooling.h.

◆ m_coolingTestPlatePosPhi

std::vector<double> m_coolingTestPlatePosPhi
private

Azimuthal angle of the cooling test plates center in polar coordinate system in deg.

Definition at line 434 of file ARICHGeoCooling.h.

◆ m_coolingTestPlatePosR

std::vector<double> m_coolingTestPlatePosR
private

Rho of the cooling test plates center in polar coordinate system in mm.

Definition at line 432 of file ARICHGeoCooling.h.

◆ m_coolingTestPlatePosZ0

std::vector<double> m_coolingTestPlatePosZ0
private

Z placement of the cooling test plates center within ARICH mother volume in mm.

Definition at line 435 of file ARICHGeoCooling.h.

◆ m_coolingTestPlateslengthX

double m_coolingTestPlateslengthX = 0.0
private

Size of cooling test plates (x)

Definition at line 423 of file ARICHGeoCooling.h.

◆ m_coolingTestPlateslengthY

double m_coolingTestPlateslengthY = 0.0
private

Size of cooling test plates (y)

Definition at line 424 of file ARICHGeoCooling.h.

◆ m_coolingTestPlateslengthZ

double m_coolingTestPlateslengthZ = 0.0
private

Size of cooling test plates (z)

Definition at line 425 of file ARICHGeoCooling.h.

◆ m_coolinRotationAngle

std::vector<double> m_coolinRotationAngle
private

Azimuthal angle of rotation aroud Z - axis of the cooling system object in polar coordinate system in deg.

Definition at line 416 of file ARICHGeoCooling.h.

◆ m_depthColdTubeInPlate

double m_depthColdTubeInPlate = 0.0
private

Depth of the cold tube in the cooling plate.

Definition at line 429 of file ARICHGeoCooling.h.

◆ m_envelopeInnerRadius

double m_envelopeInnerRadius = 0.0
private

Inner radius of cooling system assembly envelope.

Definition at line 404 of file ARICHGeoCooling.h.

◆ m_envelopeOuterRadius

double m_envelopeOuterRadius = 0.0
private

Outer radius of cooling system assembly envelope.

Definition at line 403 of file ARICHGeoCooling.h.

◆ m_envelopeThickness

double m_envelopeThickness = 0.0
private

Thickness of cooling system assembly envelope.

Definition at line 405 of file ARICHGeoCooling.h.

◆ m_envelopeX0

double m_envelopeX0 = 0.0
private

X0 cooling system assembly envelope.

Definition at line 406 of file ARICHGeoCooling.h.

◆ m_envelopeY0

double m_envelopeY0 = 0.0
private

Y0 cooling system assembly envelope.

Definition at line 407 of file ARICHGeoCooling.h.

◆ m_envelopeZ0

double m_envelopeZ0 = 0.0
private

Z0 cooling system assembly envelope.

Definition at line 408 of file ARICHGeoCooling.h.

◆ m_name

std::string m_name
protectedinherited

geometry object name

Definition at line 82 of file ARICHGeoBase.h.

◆ m_Rmax

double m_Rmax = 0.0
private

Size of cooling system pipe : outer radius in mm.

Definition at line 402 of file ARICHGeoCooling.h.

◆ m_Rmin

double m_Rmin = 0.0
private

Size of cooling system pipe : inner radius in mm.

Definition at line 401 of file ARICHGeoCooling.h.

◆ s_unit

double s_unit = Unit::cm
staticprotectedinherited

conversion unit for length

Definition at line 83 of file ARICHGeoBase.h.

◆ s_unitName

std::string s_unitName
staticprotectedinherited

conversion unit name

Definition at line 84 of file ARICHGeoBase.h.


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