Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DEventProcessor_fcal_led Class Reference

#include <DEventProcessor_fcal_led.h>

+ Inheritance diagram for DEventProcessor_fcal_led:

Public Member Functions

 DEventProcessor_fcal_led ()
 
 ~DEventProcessor_fcal_led ()
 
const char * className (void)
 

Private Member Functions

jerror_t init (void)
 Called once at program start. More...
 
jerror_t brun (JEventLoop *eventLoop, int32_t runnumber)
 Called everytime a new run number is detected. More...
 
jerror_t evnt (JEventLoop *eventLoop, uint64_t eventnumber)
 Called every event. More...
 
jerror_t erun (void)
 Called everytime run number changes, provided brun has been called. More...
 
jerror_t fini (void)
 Called after last event of last event source has been processed. More...
 

Private Attributes

pthread_mutex_t mutex
 
TTree * tree1
 
Int_t nhit
 
Int_t column [max_hit]
 
Int_t row [max_hit]
 
Int_t peak [max_hit]
 
Int_t integral [max_hit]
 
Int_t pedestal [max_hit]
 
Int_t time [max_hit]
 
Int_t qf [max_hit]
 
Int_t waveform [max_hit][max_sample]
 
Int_t nsamples_integral
 
Int_t nsamples_pedestal
 
TProfile * fcal_wave [59][59]
 
TH1F * fcal_peak [59][59]
 
TH1F * fcal_int [59][59]
 

Static Private Attributes

static const Int_t max_hit = 4000
 
static const Int_t max_sample = 100
 

Detailed Description

Definition at line 21 of file DEventProcessor_fcal_led.h.

Constructor & Destructor Documentation

DEventProcessor_fcal_led::DEventProcessor_fcal_led ( )
inline

Definition at line 23 of file DEventProcessor_fcal_led.h.

DEventProcessor_fcal_led::~DEventProcessor_fcal_led ( )
inline

Definition at line 27 of file DEventProcessor_fcal_led.h.

Member Function Documentation

jerror_t DEventProcessor_fcal_led::brun ( JEventLoop *  eventLoop,
int32_t  runnumber 
)
private

Called everytime a new run number is detected.

Definition at line 89 of file DEventProcessor_fcal_led.cc.

const char* DEventProcessor_fcal_led::className ( void  )
inline

Definition at line 28 of file DEventProcessor_fcal_led.h.

jerror_t DEventProcessor_fcal_led::erun ( void  )
private

Called everytime run number changes, provided brun has been called.

Definition at line 198 of file DEventProcessor_fcal_led.cc.

jerror_t DEventProcessor_fcal_led::evnt ( JEventLoop *  eventLoop,
uint64_t  eventnumber 
)
private
jerror_t DEventProcessor_fcal_led::fini ( void  )
private

Called after last event of last event source has been processed.

Definition at line 208 of file DEventProcessor_fcal_led.cc.

jerror_t DEventProcessor_fcal_led::init ( void  )
private

Called once at program start.

Definition at line 33 of file DEventProcessor_fcal_led.cc.

References column, dir, pedestal, and sprintf().

Member Data Documentation

Int_t DEventProcessor_fcal_led::column[max_hit]
private

Definition at line 46 of file DEventProcessor_fcal_led.h.

TH1F* DEventProcessor_fcal_led::fcal_int[59][59]
private

Definition at line 61 of file DEventProcessor_fcal_led.h.

TH1F* DEventProcessor_fcal_led::fcal_peak[59][59]
private

Definition at line 60 of file DEventProcessor_fcal_led.h.

TProfile* DEventProcessor_fcal_led::fcal_wave[59][59]
private

Definition at line 59 of file DEventProcessor_fcal_led.h.

Int_t DEventProcessor_fcal_led::integral[max_hit]
private

Definition at line 49 of file DEventProcessor_fcal_led.h.

const Int_t DEventProcessor_fcal_led::max_hit = 4000
staticprivate

Definition at line 41 of file DEventProcessor_fcal_led.h.

const Int_t DEventProcessor_fcal_led::max_sample = 100
staticprivate

Definition at line 42 of file DEventProcessor_fcal_led.h.

pthread_mutex_t DEventProcessor_fcal_led::mutex
private

Definition at line 37 of file DEventProcessor_fcal_led.h.

Int_t DEventProcessor_fcal_led::nhit
private

Definition at line 45 of file DEventProcessor_fcal_led.h.

Int_t DEventProcessor_fcal_led::nsamples_integral
private

Definition at line 56 of file DEventProcessor_fcal_led.h.

Int_t DEventProcessor_fcal_led::nsamples_pedestal
private

Definition at line 57 of file DEventProcessor_fcal_led.h.

Int_t DEventProcessor_fcal_led::peak[max_hit]
private

Definition at line 48 of file DEventProcessor_fcal_led.h.

Int_t DEventProcessor_fcal_led::pedestal[max_hit]
private

Definition at line 50 of file DEventProcessor_fcal_led.h.

Int_t DEventProcessor_fcal_led::qf[max_hit]
private

Definition at line 52 of file DEventProcessor_fcal_led.h.

Int_t DEventProcessor_fcal_led::row[max_hit]
private

Definition at line 47 of file DEventProcessor_fcal_led.h.

Int_t DEventProcessor_fcal_led::time[max_hit]
private

Definition at line 51 of file DEventProcessor_fcal_led.h.

TTree* DEventProcessor_fcal_led::tree1
private

Definition at line 39 of file DEventProcessor_fcal_led.h.

Int_t DEventProcessor_fcal_led::waveform[max_hit][max_sample]
private

Definition at line 54 of file DEventProcessor_fcal_led.h.


The documentation for this class was generated from the following files: