// $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 "track.h" #include "DTrackingResolution.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 bool isReconstructable(const DMCThrown *mcthrown, vector &mctrajpoints); DTrackingResolution *trkres; pthread_mutex_t mutex; double CDCZmin, CDCZmax; int DEBUG; }; #endif // _DEventProcessor_trackeff_hists_