// $Id: DTrackHit_factory_MC.h 3646 2008-04-24 19:44:31Z davidl $ // // File: DTrackHit_factory_MC.h // Created: Tue Aug 23 05:29:23 EDT 2005 // Creator: davidl (on Darwin Harriet.local 7.8.0 powerpc) // #ifndef _DTrackHit_factory_MC_ #define _DTrackHit_factory_MC_ #include using namespace jana; #include "DTrackHit.h" class DTrackHit_factory_MC:public JFactory{ public: DTrackHit_factory_MC(); ~DTrackHit_factory_MC(){}; const char* Tag(void){return "MC";} const vector& GetTrackNumbers(void){return tracknumber;} const vector& GetPrimaryFlags(void){return primaryflag;} private: jerror_t evnt(JEventLoop *loop, int eventnumber); ///< Invoked via JEventProcessor virtual method bool EXCLUDE_SECONDARIES; double MAX_HIT_R_FDC; vector tracknumber; vector primaryflag; }; #endif // _DTrackHit_factory_MC_