// $Id$ // // File: DEventProcessor_bcal_hists.h // Created: Mon Apr 3 11:38:03 EDT 2006 // Creator: davidl (on Darwin swire-b241.jlab.org 8.4.0 powerpc) // #ifndef _DEventProcessor_fcal_hists_ #define _DEventProcessor_fcal_hists_ #include using namespace jana; #include "TApplication.h" #include "TCanvas.h" #include #include #include #include #include "TProfile.h" #include class DEventProcessor_fcal_hists:public JEventProcessor{ public: DEventProcessor_fcal_hists(){}; ~DEventProcessor_fcal_hists(){}; const char* className(void){return "DEventProcessor_fcal_hists";} 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. unsigned int trig_bit[33], trig_bit_fp[33]; TTree *tree1; TApplication *app1; TCanvas *my_canvas; Float_t ch[16]; Float_t charge[16]; Float_t amp[17]; TH1F *ccal_amp[17]; TH1F *ccal_charge[17]; TH1F *ps_tile1, *ps_tile2, *prot_int; TH2F *tile_amp; int tilel, tiler; Float_t amp_1, amp_2, amp_3, amp_4, amp_5, amp_6, amp_7, amp_8, amp_9, amp_10, amp_11, amp_12; Float_t ch_1, ch_2, ch_3, ch_4, ch_5, ch_6, ch_7, ch_8, ch_9, ch_10, ch_11, ch_12; Float_t t_1, t_2, t_3, t_4, t_5, t_6, t_7, t_8, t_9, t_10, t_11, t_12; }; #endif // _DEventProcessor_fcal_hists_