// $Id$ // // File: JFactoryGenerator_MiniFCAL.h // Created: Thu Dec 1 13:50:04 EST 2011 // Creator: davidl (on Linux ifarm1102 2.6.18-128.7.1.el5 x86_64) // #ifndef _JFactoryGenerator_MiniFCAL_ #define _JFactoryGenerator_MiniFCAL_ #include #include #include "DMiniFCALHit_factory.h" #include "DRemoteScintillatorHit_factory.h" #include "DPaddleHit_factory.h" class JFactoryGenerator_MiniFCAL: public jana::JFactoryGenerator{ public: JFactoryGenerator_MiniFCAL(){} virtual ~JFactoryGenerator_MiniFCAL(){} virtual const char* className(void){return static_className();} static const char* static_className(void){return "JFactoryGenerator_MiniFCAL";} jerror_t GenerateFactories(jana::JEventLoop *loop){ loop->AddFactory(new DMiniFCALHit_factory()); loop->AddFactory(new DRemoteScintillatorHit_factory()); loop->AddFactory(new DPaddleHit_factory()); return NOERROR; } }; #endif // _JFactoryGenerator_MiniFCAL_