// $Id$ // // File: DTrackTimeBased_factory_THROWN.h // Created: MWed Nov 18 06:25:19 EST 2009 // Creator: davidl (on Darwin Amelia.local 9.8.0 i386) // #ifndef _DTrackTimeBased_factory_THROWN_ #define _DTrackTimeBased_factory_THROWN_ #include #include #include #include #include #include "DTrackTimeBased.h" class DTrackFitter; class DTrackHitSelector; class DTrackTimeBased_factory_THROWN:public JFactory{ public: DTrackTimeBased_factory_THROWN(); ~DTrackTimeBased_factory_THROWN(){}; const char* Tag(void){return "THROWN";} private: //jerror_t init(void); ///< Called once at program start. jerror_t brun(JEventLoop *eventLoop, int runnumber); ///< Called everytime a new run number is detected. jerror_t evnt(JEventLoop *eventLoop, int eventnumber); ///< Called every event. //jerror_t erun(void); ///< Called everytime run number changes, provided brun has been called. //jerror_t fini(void); ///< Called after last event of last event source has been processed. DTrackFitter *fitter; const DTrackHitSelector *hitselector; vector rt_pool; DRootGeom *RootGeom; DGeometry *geom; DMagneticFieldMap *bfield; }; #endif // _DTrackTimeBased_factory_THROWN_