// $Id$ #include using namespace jana; #include "DFCALCluster_factory.h" #include "DFCALGeometry_factory.h" #include "DFCALShower_factory.h" #include "DFCALTruthShower.h" #include "DFCALDigiHit.h" #include "DFCALHit_factory.h" typedef JFactory DFCALTruthShower_factory; typedef JFactory DFCALDigiHit_factory; jerror_t FCAL_init(JEventLoop *loop) { /// Create and register FCAL data factories loop->AddFactory(new DFCALDigiHit_factory()); loop->AddFactory(new DFCALHit_factory()); loop->AddFactory(new JFactory("TRUTH")); loop->AddFactory(new DFCALCluster_factory()); loop->AddFactory(new DFCALShower_factory()); loop->AddFactory(new DFCALGeometry_factory()); loop->AddFactory(new DFCALTruthShower_factory()); return NOERROR; }