// $Id: NoLightSource.hh,v 1.1 2005/11/14 11:24:52 moreggia Exp $ // Author: Sylvain Moreggia 2005/11/10 /***************************************************************************** * ESAF: Euso Simulation and Analysis Framework * * * * Id: NoLightSource * * Package: * * Coordinator: * * * *****************************************************************************/ #ifndef __NOLIGHTSOURCE_HH__ #define __NOLIGHTSOURCE_HH__ #include "euso.hh" #include "LightSource.hh" #include "EmptyPhotonsInAtmosphere.hh" //////////////////////////////////////////////////////////////////////////////// // // // NoLightSource // // // // // // // //////////////////////////////////////////////////////////////////////////////// class NoLightSource : public LightSource { public: NoLightSource(); virtual ~NoLightSource(); virtual PhotonsInAtmosphere* Get( const PhysicsData* ) {return fEmpty;} virtual MCTruth* Truth() {return (MCTruth*)0;} // get ready for next event virtual void Reset() {} private: EmptyPhotonsInAtmosphere* fEmpty; ClassDef(NoLightSource,0) }; #endif /* __NOLIGHTSOURCE_HH__ */