// $Id: CDC_init.cc 6843 2010-10-27 19:01:43Z zihlmann $ #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 DCDCHit_factory("TRUTH")); loop->AddFactory(new DCDCTrackHit_factory()); return NOERROR; }