Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
JEventProcessor_BCAL_SiPM_saturation.h
Go to the documentation of this file.
1 // $Id$
2 //
3 // File: JEventProcessor_BCAL_SiPM_saturation.h
4 // Modified file from BCAL_neutron_discriminator.h ES 5/10/2018
5 // Created: Thu Apr 5 16:36:00 EDT 2018
6 // Creator: dalton (on Linux gluon119.jlab.org 2.6.32-642.3.1.el6.x86_64 x86_64)
7 //
8 
9 #ifndef _JEventProcessor_BCAL_SiPM_saturation_
10 #define _JEventProcessor_BCAL_SiPM_saturation_
11 
12 #include <JANA/JEventProcessor.h>
13 
14 class JEventProcessor_BCAL_SiPM_saturation:public jana::JEventProcessor{
15  public:
18  const char* className(void){return "JEventProcessor_BCAL_SiPM_saturation";}
19 
20  private:
21  jerror_t init(void); ///< Called once at program start.
22  jerror_t brun(jana::JEventLoop *eventLoop, int32_t runnumber); ///< Called everytime a new run number is detected.
23  jerror_t evnt(jana::JEventLoop *eventLoop, uint64_t eventnumber); ///< Called every event.
24  jerror_t erun(void); ///< Called everytime run number changes, provided brun has been called.
25  jerror_t fini(void); ///< Called after last event of last event source has been processed.
26 
27  uint32_t VERBOSE;
28 
29 
30  vector< vector<double> > attenuation_parameters; // store attenuation length
31 };
32 
33 #endif // _JEventProcessor_BCAL_SiPM_saturation_
34 
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 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 init(void)
Called once at program start.