5 #ifndef _DEventProcessor_fcal_led_
6 #define _DEventProcessor_fcal_led_
8 #include <JANA/JEventProcessor.h>
11 #include "TApplication.h"
24 pthread_mutex_init(&mutex, NULL);
28 const char*
className(
void){
return "DEventProcessor_fcal_led";}
32 jerror_t brun(JEventLoop *eventLoop, int32_t runnumber);
33 jerror_t evnt(JEventLoop *eventLoop, uint64_t eventnumber);
41 static const Int_t max_hit = 4000;
42 static const Int_t max_sample = 100;
49 Int_t integral[max_hit];
54 Int_t waveform[max_hit][max_sample];
59 TProfile *fcal_wave[59][59];
60 TH1F *fcal_peak[59][59];
61 TH1F *fcal_int[59][59];
65 #endif // _DEventProcessor_fcal_led_
~DEventProcessor_fcal_led()
DEventProcessor_fcal_led()
const char * className(void)
static TH1I * pedestal[nChan]