11 #include <arich/dbobjects/ARICHGeoSupport.h>
19 bool ARICHGeoSupport::isConsistent()
const
25 void ARICHGeoSupport::print(
const std::string& title)
const
27 ARICHGeoBase::print(title);
29 cout <<
" Default material: " << getMaterial() << endl;
30 cout <<
" Placed tubes" << endl;
32 unsigned nTube = getNTubes();
33 for (
unsigned i = 0; i < nTube; i++) {
34 cout <<
" " << getTubeName(i) <<
", inner R: " << getTubeInnerR(i) <<
" " << s_unitName <<
", outer R: " << getTubeOuterR(
35 i) <<
" " << s_unitName <<
", length: " << getTubeLength(i) <<
" " << s_unitName <<
", Z position: " << getTubeZPosition(
36 i) <<
" " << s_unitName <<
", material: " << getTubeMaterial(i) << endl; ;
39 cout <<
" Parameters of wedges" << endl;
41 for (
unsigned i = 1; i < m_nWedgeType + 1; i++) {
42 cout <<
" type: " << i <<
" par. vector: ";
43 for (
auto par : getWedge(i)) cout << par <<
" " << s_unitName <<
" ";
47 cout <<
" Placed wedges" << endl;
48 unsigned nWedge = getNWedges();
49 for (
unsigned i = 0; i < nWedge; i++) {
50 cout <<
" ID: " << setprecision(4) << setw(2) << i <<
", type: " << getWedgeType(i) <<
", radius: " << getWedgeR(
51 i) <<
" " << s_unitName <<
", phi: " << setw(6) << getWedgePhi(i) <<
", Z position: " << getWedgeZ(
52 i) <<
" " << s_unitName <<
", material: " << getWedgeMaterial(i) << endl;