// $Id$ #include using namespace jana; //#include "DPSCTruthHit.h" #include "DPSDigiHit.h" #include "DPSHit_factory.h" #include "DPSCDigiHit.h" #include "DPSCHit_factory.h" #include "DPSCTDCDigiHit.h" #include "DPSCTruthHit.h" #include "DPSTruthHit.h" #include "DPSGeometry_factory.h" jerror_t PAIR_SPECTROMETER_init(JEventLoop *loop) { /// Create and register Pair Spectrometer data factories loop->AddFactory(new DPSGeometry_factory()); loop->AddFactory(new JFactory()); loop->AddFactory(new DPSHit_factory()); loop->AddFactory(new JFactory()); loop->AddFactory(new JFactory()); loop->AddFactory(new DPSCHit_factory()); loop->AddFactory(new JFactory("TRUTH")); loop->AddFactory(new JFactory()); loop->AddFactory(new JFactory()); return NOERROR; }