9 #include <top/dbobjects/TOPGeoSideRails.h>
20 bool TOPGeoSideRails::isConsistent()
const
22 if (m_thickness <= 0)
return false;
23 if (m_reducedThickness <= 0)
return false;
24 if (m_height <= 0)
return false;
25 if (m_material.empty())
return false;
30 void TOPGeoSideRails::print(
const std::string& title)
const
32 TOPGeoBase::print(title);
34 cout <<
" thickness = " << getThickness() <<
" " << s_unitName;
35 cout <<
", reduced thickness = " << getReducedThickness() <<
" " << s_unitName;
36 cout <<
", height = " << getHeight() <<
" " << s_unitName;
37 cout <<
", material = " << getMaterial() << endl;
Abstract base class for different kinds of events.