CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch2/src/DetectorDescription/Core/src/Reflection.cc

Go to the documentation of this file.
00001 #include "DetectorDescription/Core/src/Reflection.h"
00002 
00003 DDI::Reflection::Reflection(const DDSolid & s)
00004  : Solid(ddreflected), s_(s)
00005 { }
00006 
00007 
00008 double DDI::Reflection::volume() const
00009 {
00010   return s_.isDefined().second ?  s_.volume() : -1.;    
00011 }
00012 
00013 
00014 void DDI::Reflection::stream(std::ostream & os) const
00015 {
00016   os << " reflection solid of " << s_;
00017 }