// $Id$ // // File: DFactoryGeneratorHDParSim.h // Created: Tue Feb 3 11:25:33 EST 2009 // Creator: davidl (on Darwin Harriet.local 9.6.0 i386) // #ifndef _DFactoryGeneratorHDParSim_ #define _DFactoryGeneratorHDParSim_ #include #include using namespace jana; #include "DParticle_factory_HDParSim.h" #include "DPhoton_factory_HDParSim.h" class DFactoryGeneratorHDParSim: public JFactoryGenerator{ public: DFactoryGeneratorHDParSim(){} virtual ~DFactoryGeneratorHDParSim(){} virtual const char* className(void){return static_className();} static const char* static_className(void){return "DFactoryGeneratorHDParSim";} jerror_t GenerateFactories(JEventLoop *loop){ loop->AddFactory(new DParticle_factory_HDParSim()); loop->AddFactory(new DPhoton_factory_HDParSim()); return NOERROR; } protected: private: }; #endif // _DFactoryGeneratorHDParSim_