// $Id: CDC_init.cc 2151 2006-10-23 18:01:37Z davidl $ #include using namespace jana; #include "DSCTruthHit.h" #include "DSCDigiHit.h" #include "DSCHit_factory.h" #include "DSCTDCDigiHit.h" typedef JFactory DSCDigiHit_factory; typedef JFactory DSCTDCDigiHit_factory; typedef JFactory DSCTruthHit_factory; jerror_t START_COUNTER_init(JEventLoop *loop) { /// Create and register Start Counter data factories loop->AddFactory(new DSCDigiHit_factory()); loop->AddFactory(new DSCTDCDigiHit_factory()); loop->AddFactory(new DSCHit_factory()); loop->AddFactory(new DSCTruthHit_factory()); return NOERROR; }