// $Id$ // // File: DEventProcessor_trackeff_hists.h // Created: Wed Oct 10 13:30:37 EDT 2007 // Creator: davidl (on Darwin fwing-dhcp95.jlab.org 8.10.1 i386) // #ifndef _DEventProcessor_trackeff_hists_ #define _DEventProcessor_trackeff_hists_ #include #include using std::map; #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "track.h" class DEventProcessor_trackeff_hists:public JEventProcessor{ public: DEventProcessor_trackeff_hists(); ~DEventProcessor_trackeff_hists(); TTree *trkeff; track trk; track *trk_ptr; private: jerror_t init(void); ///< Invoked via DEventProcessor virtual method jerror_t brun(JEventLoop *loop, int runnumber); jerror_t evnt(JEventLoop *loop, int eventnumber); ///< Invoked via DEventProcessor virtual method jerror_t erun(void); ///< Invoked via DEventProcessor virtual method jerror_t fini(void); ///< Invoked via DEventProcessor virtual method void FillTrackInfo(const DKinematicData *kd, vector &vti); void GetTrackInfo(const DKinematicData *kd, track_info &ti, int &track_no); void GetNhits(const DKinematicData *kd, int &Ncdc, int &Nfdc, int &track); pthread_mutex_t mutex; pthread_mutex_t rt_mutex; int MAX_TRACKS; }; #endif // _DEventProcessor_trackeff_hists_