// $Id$ // // File: DEventProcessor_primex_recon.h // Created: Mon Apr 3 11:38:03 EDT 2006 // Creator: davidl (on Darwin swire-b241.jlab.org 8.4.0 powerpc) // #ifndef _DEventProcessor_primex_recon_ #define _DEventProcessor_primex_recon_ #include using namespace jana; #include "TApplication.h" #include "TCanvas.h" #include #include #include #include #include "TProfile.h" #include #include class DEventProcessor_primex_recon:public JEventProcessor{ public: DEventProcessor_primex_recon(){}; ~DEventProcessor_primex_recon(){}; const char* className(void){return "DEventProcessor_primex_recon";} private: jerror_t init(void); ///< Called once at program start. jerror_t brun(JEventLoop *eventLoop, int32_t runnumber); ///< Called everytime a new run number is detected. jerror_t evnt(JEventLoop *eventLoop, uint64_t 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. DRFTime_factory *dRFTimeFactory; // static int good_events; TH1D *htrig_bit, *htrig_bit_fp; TH1F *hfcal_time, *hfcal_dt, *hfcal_st_dt, *hfcal_tof_dt, *hfcal_tof_dt1; TH1F *htof_paddle; TH1F *hfcal_beam_tagh, *hfcal_beam_tagm, *hccal_fcal_dt; TH1D *hn_pair, *hn_fcal, *hn_ccal; TH1D *comp_e3, *comp_e4, *comp_e5, *comp_e6, *comp_e7, *comp_e8, *comp_e9, *comp_e10; TH1D *comp_sb_e3, *comp_sb_e4, *comp_sb_e5, *comp_sb_e6, *comp_sb_e7, *comp_sb_e8, *comp_sb_e9, *comp_sb_e10; TH1D *comp_r3, *comp_r4, *comp_r5, *comp_r6, *comp_r7, *comp_r8, *comp_r9, *comp_r10; TH1D *comp_sb_r3, *comp_sb_r4, *comp_sb_r5, *comp_sb_r6, *comp_sb_r7, *comp_sb_r8, *comp_sb_r9, *comp_sb_r10; TH1D *comp_e3p, *comp_e6p, *comp_e9p, *comp_e6p_tmp; TH1D *comp_sb_e3p, *comp_sb_e6p, *comp_sb_e9p, *comp_sb_e6p_tmp ; TH1D *comp_r3p, *comp_r6p, *comp_r9p; TH1D *comp_sb_r3p, *comp_sb_r6p, *comp_sb_r9p; TH1D *comp_dphi; TH2D *comp_tagh, *comp_tagh_bg, *comp_tagm, *comp_tagm_bg; TH2D *htagh_fcal_beam, *htagm_fcal_beam; TH2F *fcal_xy, *ccal_xy; TH1F *htrig_en; TH2D *ccal_dt; TTree *tree1; int bit1, bit2, bit3, bit4, bit11; int nph; Float_t beam_en[200]; int nccal; Float_t ccal_time[100]; Float_t ccal_en[100]; Float_t ccal_x[100]; Float_t ccal_y[100]; Float_t ccal_z[100]; int ccal_dime[100]; }; #endif // _DEventProcessor_primex_recon_