12 #include <arich/dbobjects/ARICHGeoCablesEnvelope.h>
13 #include <framework/logging/Logger.h>
22 void ARICHGeoCablesEnvelope::print(
const std::string& title)
const
25 ARICHGeoBase::print(title);
27 cout <<
"Outer radius of cables envelop : " << getEnvelopeOuterRadius() << endl
28 <<
"Inner radius of cables envelop : " << getEnvelopeInnerRadius() << endl
29 <<
"Thickness of cables envelop : " << getEnvelopeThickness() << endl
30 <<
"Effective material name describing cables : " << getCablesEffectiveMaterialName() << endl;
31 cout <<
"X0 of ARICH cables envelop center : " << getEnvelopeCenterPosition().X() << endl
32 <<
"Y0 of ARICH cables envelop center : " << getEnvelopeCenterPosition().Y() << endl
33 <<
"Z0 of ARICH cables envelop center : " << getEnvelopeCenterPosition().Z() << endl;
37 void ARICHGeoCablesEnvelope::checkCablesEnvelopDataConsistency()
const
40 B2ASSERT(
"Data of the ARICH cables envelop is inconsisten : getEnvelopeThickness() > 0 ", getEnvelopeThickness() > 0);
41 B2ASSERT(
"Data of the ARICH cables envelop is inconsisten : getEnvelopeOuterRadius() > getEnvelopeInnerRadius() ",
42 getEnvelopeOuterRadius() > getEnvelopeInnerRadius());