Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
JEventProcessor_cal_high_energy_skim.h
Go to the documentation of this file.
1 // $Id$
2 //
3 // File: JEventProcessor_cal_high_energy_skim.h
4 //
5 
6 #ifndef _JEventProcessor_cal_high_energy_skim_
7 #define _JEventProcessor_cal_high_energy_skim_
8 
9 #include <JANA/JEventProcessor.h>
10 #include <JANA/JApplication.h>
12 
13 #include <TH1F.h>
14 
15 #include <vector>
16 
17 using namespace jana;
18 using namespace std;
19 
20 class JEventProcessor_cal_high_energy_skim:public jana::JEventProcessor{
21  public:
22 
25  const char* className(void){return "JEventProcessor_cal_high_energy_skim";}
26 
27 
28  private:
29  jerror_t init(void); ///< Called once at program start.
30  jerror_t brun(jana::JEventLoop *eventLoop, int32_t runnumber); ///< Called everytime a new run number is detected.
31  jerror_t evnt(jana::JEventLoop *eventLoop, uint64_t eventnumber); ///< Called every event.
32  jerror_t erun(void); ///< Called everytime run number changes, provided brun has been called.
33  jerror_t fini(void);
34  ///< Called after last event of last event source has been processed.
35  double MIN_BCAL_E;
36  double MIN_FCAL_E;
37 
38  //int WRITE_EVIO;
41 
42  TH1F *h_BCAL_shen;
43  TH1F *h_FCAL_shen;
44 
45 };
46 #endif // _JEventProcessor_cal_high_energy_skim_
47