Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
JEventProcessor_TAGM_TW.h
Go to the documentation of this file.
1 // $Id$
2 //
3 // File: JEventProcessor_TAGM_TW.h
4 // Created: Thu Aug 6 07:33:06 EDT 2015
5 // Creator: pooser (on Linux ifarm1401 2.6.32-431.el6.x86_64 x86_64)
6 //
7 
8 #ifndef _JEventProcessor_TAGM_TW_
9 #define _JEventProcessor_TAGM_TW_
10 
11 #include <JANA/JEventProcessor.h>
12 
13 #include "TAGGER/DTAGMHit.h"
14 #include "TAGGER/DTAGMGeometry.h"
15 
16 class JEventProcessor_TAGM_TW:public jana::JEventProcessor{
17  public:
20  const char* className(void){return "JEventProcessor_TAGM_TW";}
21 
22 
23  private:
24  // For the timewalk
30 
31  jerror_t init(void); ///< Called once at program start.
32  jerror_t brun(jana::JEventLoop *eventLoop, int32_t runnumber); ///< Called everytime a new run number is detected.
33  jerror_t evnt(jana::JEventLoop *eventLoop, uint64_t eventnumber); ///< Called every event.
34  jerror_t erun(void); ///< Called everytime run number changes, provided brun has been called.
35  jerror_t fini(void); ///< Called after last event of last event source has been processed.
36 };
37 
38 #endif // _JEventProcessor_TAGM_TW_
39 
jerror_t init(void)
Called once at program start.
jerror_t fini(void)
Called after last event of last event source has been processed.
#define TAGM_MAX_COLUMN
Definition: DTAGMGeometry.h:19
double tw_c1[TAGM_MAX_ROW+1][TAGM_MAX_COLUMN+1]
jerror_t erun(void)
Called everytime run number changes, provided brun has been called.
double tw_c2[TAGM_MAX_ROW+1][TAGM_MAX_COLUMN+1]
double P_0[TAGM_MAX_ROW+1][TAGM_MAX_COLUMN+1]
jerror_t evnt(jana::JEventLoop *eventLoop, uint64_t eventnumber)
Called every event.
double tw_c0[TAGM_MAX_ROW+1][TAGM_MAX_COLUMN+1]
double thresh[TAGM_MAX_ROW+1][TAGM_MAX_COLUMN+1]
#define TAGM_MAX_ROW
Definition: DTAGMGeometry.h:18
jerror_t brun(jana::JEventLoop *eventLoop, int32_t runnumber)
Called everytime a new run number is detected.