// $Id$ // // File: DEventProcessor_KsHunt.h // Created: Wed Jan 21 16:28:09 EST 2015 // Creator: jrsteven (on Linux ifarm1401 2.6.32-431.el6.x86_64 x86_64) // #ifndef _DEventProcessor_KsHunt_ #define _DEventProcessor_KsHunt_ #include #include #include #include #include #include "DFactoryGenerator_KsHunt.h" using namespace jana; using namespace std; class DEventProcessor_KsHunt : public jana::JEventProcessor { public: const char* className(void){return "DEventProcessor_KsHunt";} private: jerror_t init(void); ///< Called once at program start. jerror_t brun(jana::JEventLoop* locEventLoop, int locRunNumber); ///< Called every time a new run number is detected. jerror_t evnt(jana::JEventLoop* locEventLoop, int locEventNumber); ///< Called every event. jerror_t erun(void); ///< Called every time run number changes, provided brun has been called. jerror_t fini(void); ///< Called after last event of last event source has been processed. //For non-custom reaction-independent histograms, it is recommended that you simultaneously run the monitoring_hists plugin instead of defining them here // My private variables Float_t kfitChiSq; Int_t kfitNDF; Float_t kfitCL; }; #endif // _DEventProcessor_KsHunt_