Belle II Software development
|
Geometry parameters of ARICH support structures and neutron shield. More...
#include <ARICHGeoSupport.h>
Classes | |
struct | box |
Struct to hold parameters of box volumes (examples, scintilators for cosmic test) More... | |
struct | tube |
Struct to hold tube parameters. More... | |
struct | wedge |
Struct to hold wedge parameters. More... | |
Public Member Functions | |
ARICHGeoSupport () | |
Default constructor. | |
bool | isConsistent () const override |
Consistency check of geometry parameters. | |
void | print (const std::string &title="Parameters of ARICH support structure and neutron shield") const override |
Print the content of the class. | |
void | setWedge (unsigned i, const std::vector< double > &par) |
Set parameters of support wedge volumes. | |
void | addWedge (int type, double r, double phi, double z, const std::string &material) |
Add wedge (all added wedges are placed) | |
void | setMaterial (const std::string &material) |
Set default material of support structures. | |
void | addTube (double inR, double outR, double length, double zPosition, const std::string &material, const std::string &name) |
Add volume of cylindrical shape (tube) | |
unsigned | getNTubes () const |
Get number of tube volumes to be placed. | |
double | getTubeInnerR (unsigned i) const |
Get tube inner radius. | |
double | getTubeOuterR (unsigned i) const |
Get tube outer radius. | |
double | getTubeLength (unsigned i) const |
Get tube length. | |
double | getTubeZPosition (unsigned i) const |
Get tube Z position. | |
unsigned | getNWedges () const |
Get number of wedges to be placed. | |
int | getWedgeType (unsigned i) const |
Get type of i-th wedge. | |
double | getWedgeR (unsigned i) const |
Get radius at which i-th wedge is placed. | |
double | getWedgePhi (unsigned i) const |
Get phi angle at which i-th wedge is placed. | |
double | getWedgeZ (unsigned i) const |
Get Z position of i-th wedge. | |
const std::string & | getTubeMaterial (unsigned i) const |
Get material of i-th tube. | |
const std::string & | getWedgeMaterial (unsigned i) const |
Get material of i-th wedge. | |
const std::string & | getTubeName (unsigned i) const |
Get name of i-th tube. | |
const std::string & | getMaterial () const |
Get default material of support structures. | |
const std::vector< double > | getWedge (unsigned i) const |
Get parameters of wedge. | |
void | addBox (const std::string &name, const std::string &material, double size[3], double position[3], double rotation[3]) |
Add box volume. | |
void | setBox (int i, const std::string &name, const std::string &material, double size[3], double position[3], double rotation[3]) |
Re-set parameters of existing box. | |
unsigned | getNBoxes () const |
Get number of box volumes. | |
box | getBox (unsigned i) const |
Get box paramaters. | |
void | clearBoxes () |
Clear container of boxes. | |
void | setName (const std::string &name) |
Sets object name. | |
const std::string & | getName () const |
Returns object name. | |
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 | |
ClassDefOverride (ARICHGeoSupport, 1) | |
ClassDef. | |
Private Attributes | |
std::vector< tube > | m_tubes |
vector of tube volumes to be placed | |
std::string | m_material |
default material of support structure | |
std::vector< double > | m_wedgePar [m_nWedgeType] |
parameters of support wedges (joints) | |
std::vector< wedge > | m_wedges |
vector of wedge volumes to be placed | |
std::vector< box > | m_boxes |
vector of box volumes to be places | |
Static Private Attributes | |
static const unsigned | m_nWedgeType = 3 |
number of wedge types | |
Geometry parameters of ARICH support structures and neutron shield.
Definition at line 25 of file ARICHGeoSupport.h.
|
inline |
|
inline |
Add box volume.
name | volume name |
material | volume material |
size | array of side sizes |
position | array of x,y,z position |
rotation | array of x,y,z rotations |
Definition at line 231 of file ARICHGeoSupport.h.
|
inline |
Add volume of cylindrical shape (tube)
inR | inner radius |
outR | outer radius |
length | length |
zPosition | Z position of start of tube (in ARICH frame) |
material | material |
name | name |
Definition at line 116 of file ARICHGeoSupport.h.
|
inline |
Add wedge (all added wedges are placed)
type | wedge type ID (1-3) |
r | radius at which wedge is placed |
phi | phi angle at which wedge is placed |
z | z position of wedge (in ARICH frame) |
material | wedge material |
Definition at line 96 of file ARICHGeoSupport.h.
|
inline |
Clear container of boxes.
Definition at line 272 of file ARICHGeoSupport.h.
|
inline |
Get box paramaters.
i | box index |
Definition at line 264 of file ARICHGeoSupport.h.
|
inline |
Get default material of support structures.
Definition at line 214 of file ARICHGeoSupport.h.
|
inlineinherited |
|
inline |
Get number of box volumes.
Definition at line 254 of file ARICHGeoSupport.h.
|
inline |
Get number of tube volumes to be placed.
Definition at line 125 of file ARICHGeoSupport.h.
|
inline |
Get number of wedges to be placed.
Definition at line 159 of file ARICHGeoSupport.h.
|
inline |
Get tube inner radius.
i | tube index |
Definition at line 132 of file ARICHGeoSupport.h.
|
inline |
Get tube length.
i | tube index |
Definition at line 146 of file ARICHGeoSupport.h.
|
inline |
Get material of i-th tube.
i | tube index |
Definition at line 194 of file ARICHGeoSupport.h.
|
inline |
Get name of i-th tube.
i | tube index |
Definition at line 208 of file ARICHGeoSupport.h.
|
inline |
Get tube outer radius.
i | tube index |
Definition at line 139 of file ARICHGeoSupport.h.
|
inline |
Get tube Z position.
i | tube index |
Definition at line 153 of file ARICHGeoSupport.h.
|
inline |
Get parameters of wedge.
i | wedge type |
Definition at line 221 of file ARICHGeoSupport.h.
|
inline |
Get material of i-th wedge.
i | wedge index |
Definition at line 201 of file ARICHGeoSupport.h.
|
inline |
Get phi angle at which i-th wedge is placed.
i | wedge index |
Definition at line 180 of file ARICHGeoSupport.h.
|
inline |
Get radius at which i-th wedge is placed.
i | wedge index |
Definition at line 173 of file ARICHGeoSupport.h.
|
inline |
Get type of i-th wedge.
i | wedge index |
Definition at line 166 of file ARICHGeoSupport.h.
|
inline |
Get Z position of i-th wedge.
i | wedge index |
Definition at line 187 of file ARICHGeoSupport.h.
|
overridevirtual |
Consistency check of geometry parameters.
Reimplemented from ARICHGeoBase.
Definition at line 17 of file ARICHGeoSupport.cc.
|
overridevirtual |
Print the content of the class.
title | title to be printed |
Reimplemented from ARICHGeoBase.
Definition at line 23 of file ARICHGeoSupport.cc.
|
virtualinherited |
Print volume positioning parameters.
x | x position |
y | y position |
z | z position |
rx | rotation around x-axis |
ry | rotation around y-axis |
rz | rotation around z-axis |
Definition at line 25 of file ARICHGeoBase.cc.
|
virtualinherited |
Print the content of optical surface.
surface | optical surface parameters |
Definition at line 32 of file ARICHGeoBase.cc.
|
inline |
Re-set parameters of existing box.
i | box index |
name | volume name |
material | volume material |
size | array of side sizes |
position | array of x,y,z position |
rotation | array of x,y,z rotations |
Definition at line 245 of file ARICHGeoSupport.h.
|
inline |
Set default material of support structures.
material | name of default material |
Definition at line 105 of file ARICHGeoSupport.h.
|
inlineinherited |
Sets object name.
name | object name |
Definition at line 43 of file ARICHGeoBase.h.
|
inline |
Set parameters of support wedge volumes.
i | wedge type ID (1-3) |
par | vector of wedge parameters |
Definition at line 86 of file ARICHGeoSupport.h.
|
private |
vector of box volumes to be places
Definition at line 286 of file ARICHGeoSupport.h.
|
private |
default material of support structure
Definition at line 282 of file ARICHGeoSupport.h.
|
protectedinherited |
geometry object name
Definition at line 82 of file ARICHGeoBase.h.
|
staticprivate |
number of wedge types
Definition at line 283 of file ARICHGeoSupport.h.
|
private |
vector of tube volumes to be placed
Definition at line 281 of file ARICHGeoSupport.h.
|
private |
parameters of support wedges (joints)
Definition at line 284 of file ARICHGeoSupport.h.
|
private |
vector of wedge volumes to be placed
Definition at line 285 of file ARICHGeoSupport.h.
|
staticprotectedinherited |
conversion unit for length
Definition at line 83 of file ARICHGeoBase.h.
|
staticprotectedinherited |
conversion unit name
Definition at line 84 of file ARICHGeoBase.h.