// $Id$ // // File: JEventProcessor_bcal_leakage.h // Created: Mon Oct 3 05:36:10 EDT 2011 // Creator: davidl (on Linux ifarm1101 2.6.18-128.7.1.el5 x86_64) // #ifndef _JEventProcessor_bcal_leakage_ #define _JEventProcessor_bcal_leakage_ #include #include #include "leakhit.h" class JEventProcessor_bcal_leakage:public jana::JEventProcessor{ public: JEventProcessor_bcal_leakage(); ~JEventProcessor_bcal_leakage(); const char* className(void){return "JEventProcessor_bcal_leakage";} private: jerror_t init(void); ///< Called once at program start. jerror_t brun(jana::JEventLoop *eventLoop, int runnumber); ///< Called everytime a new run number is detected. jerror_t evnt(jana::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. TTree *leaks; leakhit lhit; leakhit *lhitptr; }; #endif // _JEventProcessor_bcal_leakage_