9 #include <top/dbobjects/TOPGeoColdPlate.h>
20 bool TOPGeoColdPlate::isConsistent()
const
22 if (m_baseThickness <= 0)
return false;
23 if (m_baseMaterial.empty())
return false;
24 if (m_coolThickness <= 0)
return false;
25 if (m_coolWidth <= 0)
return false;
26 if (m_coolMaterial.empty())
return false;
31 void TOPGeoColdPlate::print(
const std::string& title)
const
33 TOPGeoBase::print(title);
35 cout <<
" base plate: thickness = " << getBaseThickness() <<
" " << s_unitName;
36 cout <<
", material = " << getBaseMaterial() << endl;
38 cout <<
" cooling plate: thickness = " << getCoolThickness() <<
" " << s_unitName;
39 cout <<
", width = " << getCoolWidth() <<
" " << s_unitName;
40 cout <<
", material = " << getCoolMaterial() << endl;
Abstract base class for different kinds of events.