#ifndef _JEventProcessor_DF1TDCConfig_ #define _JEventProcessor_DF1TDCConfig_ #include #include "TTree.h" #include "TDirectory.h" #include class JEventProcessor_DF1TDCConfig:public jana::JEventProcessor{ public: JEventProcessor_DF1TDCConfig(); ~JEventProcessor_DF1TDCConfig(); const char* className(void){return "JEventProcessor_DF1TDCConfig";} static const Int_t NMAX = 100; // DF1TDCConfig Int_t nDF1TDCConfig; UInt_t rocid[NMAX]; uint16_t refcnt[NMAX]; uint16_t hsdiv[NMAX]; uint16_t refclkdiv[NMAX]; uint16_t binsize[NMAX]; private: jerror_t init(void); ///< Called once at program start. jerror_t brun(jana::JEventLoop *eventLoop, int runnumber); ///< Called everytime a new run number is detected. jerror_t evnt(jana::JEventLoop *eventLoop, int 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. // KM TTree *outtree; }; #endif // _JEventProcessor_DF1TDCConfig_