// $Id$ // // File: DEventProcessor_photoneff_hists.h // Created: Thu Feb 12 09:43:13 EST 2009 // Creator: davidl (on Darwin harriet.jlab.org 9.6.0 i386) // #ifndef _DEventProcessor_photoneff_hists_ #define _DEventProcessor_photoneff_hists_ #include #include using std::map; #include #include #include #include #include #include #include #include #include #include #include #include "photon.h" class DEventProcessor_photoneff_hists:public JEventProcessor{ public: DEventProcessor_photoneff_hists(); ~DEventProcessor_photoneff_hists(); TTree *phtneff; photon phtn; photon *phtn_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, JEventLoop *loop); pthread_mutex_t mutex; int DEBUG; }; #endif // _DEventProcessor_photoneff_hists_