// $Id$ // // File: DTRIGGERFactoryGenerator.cc // Created: Fri Sep 22 2006 // Creator: davidl (on Darwin swire-b241.jlab.org 8.7.0 powerpc) // #include #include "DTRIGGERFactoryGenerator.h" #include "DTRIGGER_TDCHit_factory.h" // Make ourselves a plugin extern "C"{ void InitPlugin(JApplication *app){ app->AddFactoryGenerator(new DTRIGGERFactoryGenerator()); } } // "C" //--------------------------------- // GenerateFactories //--------------------------------- jerror_t DTRIGGERFactoryGenerator::GenerateFactories(JEventLoop *loop) { loop->AddFactory(new DTRIGGER_TDCHit_factory()); return NOERROR; }