// $Id: CDC_init.cc 3646 2008-04-24 19:44:31Z davidl $ #include using namespace jana; #include "DCDCHit.h" #include "DCDCTrackHit_factory.h" typedef JFactory DCDCHit_factory; jerror_t CDC_init(JEventLoop *loop) { /// Create and register CDC data factories loop->AddFactory(new DCDCHit_factory()); loop->AddFactory(new DCDCTrackHit_factory()); return NOERROR; }