Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
JEventProcessor_TAGGER_online.h
Go to the documentation of this file.
1 // $Id$
2 //
3 // File: JEventProcessor_TAGGER_online.h
4 // Created: Thu Feb 18 07:45:18 EST 2016
5 // Creator: jrsteven (on Linux gluon110.jlab.org 2.6.32-358.23.2.el6.x86_64 x86_64)
6 //
7 
8 #ifndef _JEventProcessor_TAGGER_online_
9 #define _JEventProcessor_TAGGER_online_
10 
11 #include <JANA/JEventProcessor.h>
12 
13 #include <TAGGER/DTAGMHit.h>
14 #include <START_COUNTER/DSCHit.h>
15 #include <PID/DBeamPhoton.h>
16 
17 #include "TH1.h"
18 #include "TH2.h"
19 #include "TDirectoryFile.h"
20 
21 class JEventProcessor_TAGGER_online:public jana::JEventProcessor{
22  public:
25  const char* className(void){return "JEventProcessor_TAGGER_online";}
26 
27  private:
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_TAGGER_online_
39 
jerror_t evnt(jana::JEventLoop *eventLoop, uint64_t eventnumber)
Called every event.
jerror_t fini(void)
Called after last event of last event source has been processed.
jerror_t brun(jana::JEventLoop *eventLoop, int32_t runnumber)
Called everytime a new run number is detected.
jerror_t erun(void)
Called everytime run number changes, provided brun has been called.
jerror_t init(void)
Called once at program start.