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

#include <JEventProcessor_st_tw_corr_auto.h>

+ Inheritance diagram for JEventProcessor_st_tw_corr_auto:

Public Member Functions

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

Private Member Functions

jerror_t init (void)
 Called once at program start. More...
 
jerror_t brun (jana::JEventLoop *eventLoop, int32_t runnumber)
 Called everytime a new run number is detected. More...
 
jerror_t evnt (jana::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

Int_t NCHANNELS
 
Double_t tdc_thresh_mV
 
Double_t tdc_gain_factor
 
Double_t adc_max_chan
 
Double_t adc_max_mV
 
Double_t adc_thresh_calc
 
TH2I ** h2_stt_vs_pp_chan
 
TH2I ** h2_st_corr_vs_pp
 
TH1I ** h_pp_chan
 
TH1I ** h_stt_chan
 
TH1I ** h1_st_corr_time
 
vector< vector< double > > timewalk_parameters
 
double USE_TIMEWALK_CORRECTION
 

Detailed Description

Definition at line 35 of file JEventProcessor_st_tw_corr_auto.h.

Constructor & Destructor Documentation

JEventProcessor_st_tw_corr_auto::JEventProcessor_st_tw_corr_auto ( )

Definition at line 24 of file JEventProcessor_st_tw_corr_auto.cc.

JEventProcessor_st_tw_corr_auto::~JEventProcessor_st_tw_corr_auto ( )

Definition at line 32 of file JEventProcessor_st_tw_corr_auto.cc.

Member Function Documentation

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

Called everytime a new run number is detected.

Definition at line 86 of file JEventProcessor_st_tw_corr_auto.cc.

References timewalk_parameters.

const char* JEventProcessor_st_tw_corr_auto::className ( void  )
inline

Definition at line 39 of file JEventProcessor_st_tw_corr_auto.h.

jerror_t JEventProcessor_st_tw_corr_auto::erun ( void  )
private

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

Definition at line 182 of file JEventProcessor_st_tw_corr_auto.cc.

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

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

Definition at line 193 of file JEventProcessor_st_tw_corr_auto.cc.

jerror_t JEventProcessor_st_tw_corr_auto::init ( void  )
private

Member Data Documentation

Double_t JEventProcessor_st_tw_corr_auto::adc_max_chan
private

Definition at line 53 of file JEventProcessor_st_tw_corr_auto.h.

Referenced by init().

Double_t JEventProcessor_st_tw_corr_auto::adc_max_mV
private

Definition at line 54 of file JEventProcessor_st_tw_corr_auto.h.

Referenced by init().

Double_t JEventProcessor_st_tw_corr_auto::adc_thresh_calc
private

Definition at line 55 of file JEventProcessor_st_tw_corr_auto.h.

Referenced by init().

TH1I** JEventProcessor_st_tw_corr_auto::h1_st_corr_time
private

Definition at line 62 of file JEventProcessor_st_tw_corr_auto.h.

Referenced by evnt(), and init().

TH2I** JEventProcessor_st_tw_corr_auto::h2_st_corr_vs_pp
private

Definition at line 58 of file JEventProcessor_st_tw_corr_auto.h.

Referenced by evnt(), and init().

TH2I** JEventProcessor_st_tw_corr_auto::h2_stt_vs_pp_chan
private

Definition at line 57 of file JEventProcessor_st_tw_corr_auto.h.

Referenced by evnt(), and init().

TH1I** JEventProcessor_st_tw_corr_auto::h_pp_chan
private

Definition at line 60 of file JEventProcessor_st_tw_corr_auto.h.

Referenced by evnt(), and init().

TH1I** JEventProcessor_st_tw_corr_auto::h_stt_chan
private

Definition at line 61 of file JEventProcessor_st_tw_corr_auto.h.

Referenced by evnt(), and init().

Int_t JEventProcessor_st_tw_corr_auto::NCHANNELS
private

Definition at line 50 of file JEventProcessor_st_tw_corr_auto.h.

Referenced by init().

Double_t JEventProcessor_st_tw_corr_auto::tdc_gain_factor
private

Definition at line 52 of file JEventProcessor_st_tw_corr_auto.h.

Referenced by init().

Double_t JEventProcessor_st_tw_corr_auto::tdc_thresh_mV
private

Definition at line 51 of file JEventProcessor_st_tw_corr_auto.h.

Referenced by init().

vector<vector<double> > JEventProcessor_st_tw_corr_auto::timewalk_parameters
private

Definition at line 64 of file JEventProcessor_st_tw_corr_auto.h.

Referenced by brun(), and evnt().

double JEventProcessor_st_tw_corr_auto::USE_TIMEWALK_CORRECTION
private

Definition at line 65 of file JEventProcessor_st_tw_corr_auto.h.

Referenced by evnt(), and init().


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