28 }
catch(
const std::exception&
e) {
32 if( ! vsL->empty() &&
_sL->empty() ) {
40 for( VolSurfaceList::const_iterator it = vsL->begin() ; it != vsL->end() ; ++it ){
53 surf =
new Surface( det, volSurf ) ;
59 _sL->push_back( surf ) ;
virtual ~DetectorSurfaces()
void initialize()
initializes surfaces from VolSurfaces assigned to this DetElement in detector construction ...
IFACE * addExtension(CONCRETE *c) const
Extend the detector element with an arbitrary structure accessible by the type.
bool isCylinder() const
true if this a cylindrical surface
virtual const SurfaceType & type() const
Handle class describing a detector element.
VolSurfaceList * volSurfaceList(DetElement &det)
IFACE * extension() const
Access extension element by the type.
DetectorSurfaces(const DetElement &e)
bool isCone() const
true if this a conical surface