// $Id$ // // File: JEventProcessor_TOFmon.h // Created: Mon Jul 18 13:20:12 EDT 2016 // Creator: zihlmann (on Linux gluon47.jlab.org 2.6.32-431.20.3.el6.x86_64 x86_64) // #ifndef _JEventProcessor_TOFmon_ #define _JEventProcessor_TOFmon_ #include #include #include #include #include #include #include #include #include "TRIGGER/DL1Trigger.h" #include #include #include #include #include #include using namespace std; using namespace jana; class JEventProcessor_TOFmon:public jana::JEventProcessor{ public: JEventProcessor_TOFmon(); ~JEventProcessor_TOFmon(); const char* className(void){return "JEventProcessor_TOFmon";} char RootFile[128]; TFile *OUTF; TH2F *amplitude; TH2F *amplitudeMatch; TH2F *pedestals; TH2F *integrals; TH2F *ADCtime; TH2F *TDCtime; TH2F *TDCtimeMatch; TH1F *TDChits; TH2F *TWalk[176]; TH1F *DTRaw[88]; TH2F *AMPvsDTRaw[2][88]; TH2F *MTDiff[44]; TH1F *Intensities[6][32]; TH1F *INL[6][32]; TH1F *dt_21_p1_p2; TH1F *dt_21_p1_p2corr; float TIMINGCUT; float TOF_TDC_SHIFT; float ADC2time ; float TDC2time ; float TDCtOffset; float ADCtOffset; float WalkPar[176][3]; float walkpar[176][6]; jerror_t WalkFit( TH2F *h, int idx); float BeamCurrent; int NOBEAM; int BEAM; private: jerror_t init(void); jerror_t brun(jana::JEventLoop *eventLoop, int32_t runnumber); jerror_t evnt(jana::JEventLoop *eventLoop, uint64_t eventnumber); jerror_t erun(void); jerror_t fini(void); }; #endif // _JEventProcessor_TOFmon_