Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
JEventProcessor_FCALpedestals.h
Go to the documentation of this file.
1 // $Id$
2 //
3 // File: JEventProcessor_FCALpedestals.h
4 // Created: Fri Jan 30 08:18:41 EST 2015
5 // Creator: shepherd (on Linux ifarm1102 2.6.32-220.7.1.el6.x86_64 x86_64)
6 //
7 
8 #ifndef _JEventProcessor_FCALpedestals_
9 #define _JEventProcessor_FCALpedestals_
10 
11 #include <JANA/JEventProcessor.h>
12 #include <FCAL/DFCALGeometry.h>
13 
14 class DFCALHit;
15 class TTree;
16 
17 class JEventProcessor_FCALpedestals:public jana::JEventProcessor{
18  public:
19 
20 
23  const char* className(void){return "JEventProcessor_FCALpedestals";}
24 
25  private:
26 
27  jerror_t init(void); ///< Called once at program start.
28  jerror_t brun(jana::JEventLoop *eventLoop, int32_t runnumber); ///< Called everytime a new run number is detected.
29  jerror_t evnt(jana::JEventLoop *eventLoop, uint64_t eventnumber); ///< Called every event.
30  jerror_t erun(void); ///< Called everytime run number changes, provided brun has been called.
31  jerror_t fini(void); ///< Called after last event of last event source has been processed.
32 
33 
34 
35  double m_FCALfront;
36 
37 
38  int m_r;
39  int m_c;
40  int m_chan;
41  float m_pedestal;
42 
43 
44 
45 };
46 
47 #endif // _JEventProcessor_FCALpedestals_
48 
jerror_t brun(jana::JEventLoop *eventLoop, int32_t runnumber)
Called everytime a new run number is detected.
jerror_t evnt(jana::JEventLoop *eventLoop, uint64_t eventnumber)
Called every event.
jerror_t erun(void)
Called everytime run number changes, provided brun has been called.
jerror_t init(void)
Called once at program start.
jerror_t fini(void)
Called after last event of last event source has been processed.