#ifndef __DRCOPTPIXEL_H__ #define __DRCOPTPIXEL_H__ /*! \brief Representation of an screen for photons. This volume consists out of one surface. Alternativly, you can also embed or attach a surface to a volume with the pixel flag set \sa DrcSurfAbs::setPixel(). */ class DrcOptPixel : public DrcOptDev { public: /*! \brief Virtual copy constructor. \return Pointer to new allocated memory. */ DrcOptPixel* clone() const; /*! \brief Set optical material This call causes a execution stop, since a screen has not material. \param mat Material. */ void setOptMaterial(DrcOptMatAbs* mat); // implements virtual base class void addSurface(const DrcSurfAbs& surf); // implements pure virtual base class void propagate(DrcPhoton& ph); bool radiator() const {return false;}; }; #endif