// Author: David Lawrence June 25, 2004 // // // MyProcessor.h // /// Example program for a Hall-D analyzer which uses DANA /// #include #include #include #include #include #include class MyProcessor:public JEventProcessor { public: jerror_t init(void); ///< Called once at program start. jerror_t evnt(JEventLoop *eventLoop, int eventnumber); ///< Called every event. jerror_t fini(void); ///< Called after last event of last event source has been processed. TH1F *stats, *frac, *h4_dist, *h4_dist_primary; TH2F *delta_p; TH1F *delta_p_over_p; TH1F *hits_per_thrown_track; TH2F *R_vs_theta, *R_over_sintheta_vs_theta; TTree *fit_parms; float val[100]; // holds values used to fill fit_parms };