Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
JEventProcessor_TAGM_online.cc File Reference
#include <stdint.h>
#include <vector>
#include <TMath.h>
#include "JEventProcessor_TAGM_online.h"
#include <JANA/JApplication.h>
#include <TAGGER/DTAGMHit.h>
#include <TAGGER/DTAGMDigiHit.h>
#include <TAGGER/DTAGMTDCDigiHit.h>
#include <TDirectory.h>
#include <TH1.h>
#include <TH2.h>

Go to the source code of this file.

Functions

void InitPlugin (JApplication *app)
 

Variables

const uint32_t NCOLUMNS = 102
 
const uint32_t NSINGLES = 20
 
const float MIN_ADC_PINT_LOG10 = 0.
 
const float MAX_ADC_PINT_LOG10 = 5.
 
const uint32_t BINCOUNT_ADC_PINT = 200
 
const float MIN_HIT_NPIX = 0.
 
const float MAX_HIT_NPIX = 1000.
 
const uint32_t BINCOUNT_HIT_NPIX = 200
 
const float MIN_ADC_TIME = 0.
 
const float MAX_ADC_TIME = 16000.
 
const uint32_t BINCOUNT_ADC_TIME = 16000
 
const float_t ADC_NS_PER_COUNT = 0.0625
 
const float MIN_HIT_TADC = 0.
 
const float MAX_HIT_TADC = 1000.
 
const uint32_t BINCOUNT_HIT_TADC = 16000
 
const float MIN_HIT_TIME = 0.
 
const float MAX_HIT_TIME = 4000.
 
const uint32_t BINCOUNT_HIT_TIME = 65000
 
const float MIN_TDC_TIME = 0.
 
const float MAX_TDC_TIME = 65000.
 
const uint32_t BINCOUNT_TDC_TIME = 65000
 
const float_t TDC_NS_PER_COUNT = 0.060
 
const float MIN_ADC_PED = 0.
 
const float MAX_ADC_PED = 800.
 
const uint32_t BINCOUNT_ADC_PED = 800
 
const float MIN_ADC_QF = 0.
 
const float MAX_ADC_QF = 4.
 
const uint32_t BINCOUNT_ADC_QF = 5
 
const float MIN_ADC_NSI = 0.
 
const float MAX_ADC_NSI = 150.
 
const uint32_t BINCOUNT_ADC_NSI = 151
 
const float MIN_ADC_NSP = 0.
 
const float MAX_ADC_NSP = 20.
 
const uint32_t BINCOUNT_ADC_NSP = 21
 
static TH1F * tagm_adc_seen
 
static TH1F * tagms_adc_seen
 
static TH1F * tagm_adc_pint
 
static TH1F * tagms_adc_pint
 
static TH2F * tagm_adc_pint_2d
 
static TH2F * tagms_adc_pint_2d
 
static TH1F * tagm_adc_time
 
static TH1F * tagms_adc_time
 
static TH2F * tagm_adc_time_2d
 
static TH2F * tagms_adc_time_2d
 
static TH1F * tagm_adc_ped
 
static TH1F * tagms_adc_ped
 
static TH2F * tagm_adc_ped_2d
 
static TH2F * tagms_adc_ped_2d
 
static TH1F * tagm_adc_qf
 
static TH1F * tagms_adc_qf
 
static TH2F * tagm_adc_qf_2d
 
static TH2F * tagms_adc_qf_2d
 
static TH1F * tagm_adc_nsi
 
static TH1F * tagms_adc_nsi
 
static TH2F * tagm_adc_nsi_2d
 
static TH2F * tagms_adc_nsi_2d
 
static TH1F * tagm_adc_nsp
 
static TH1F * tagms_adc_nsp
 
static TH2F * tagm_adc_nsp_2d
 
static TH2F * tagms_adc_nsp_2d
 
static TH2F * tagm_adc_pint_nsi
 
static TH2F * tagms_adc_pint_nsi
 
static TH2F * tagm_adc_ped_nsp
 
static TH2F * tagms_adc_ped_nsp
 
static TH1F * tagm_tdc_seen
 
static TH1F * tagms_tdc_seen
 
static TH1F * tagm_tdc_time
 
static TH1F * tagms_tdc_time
 
static TH2F * tagm_tdc_time_2d
 
static TH2F * tagms_tdc_time_2d
 
static TH1F * tagm_hit_seen
 
static TH1F * tagms_hit_seen
 
static TH1F * tagm_hit_npix
 
static TH1F * tagms_hit_npix
 
static TH2F * tagm_hit_npix_2d
 
static TH2F * tagms_hit_npix_2d
 
static TH1F * tagm_hit_tadc
 
static TH1F * tagms_hit_tadc
 
static TH2F * tagm_hit_tadc_2d
 
static TH2F * tagms_hit_tadc_2d
 
static TH1F * tagm_hit_time
 
static TH1F * tagms_hit_time
 
static TH2F * tagm_hit_time_2d
 
static TH2F * tagms_hit_time_2d
 
static TH2F * tagm_hit_time_tadc
 
static TH2F * tagms_hit_time_tadc
 
TH1F ** tagm_adc_pint_col = new TH1F*[NCOLUMNS]
 
TH1F ** tagm_adc_time_col = new TH1F*[NCOLUMNS]
 
TH1F ** tagm_adc_ped_col = new TH1F*[NCOLUMNS]
 
TH1F ** tagm_adc_qf_col = new TH1F*[NCOLUMNS]
 
TH1F ** tagm_tdc_time_col = new TH1F*[NCOLUMNS]
 
TH1F ** tagm_adc_mult_col = new TH1F*[NCOLUMNS]
 
TH1F ** tagm_tdc_mult_col = new TH1F*[NCOLUMNS]
 
TH1F ** tagm_hit_time_col = new TH1F*[NCOLUMNS]
 
TH1F ** tagms_adc_pint_sng = new TH1F*[NSINGLES]
 
TH1F ** tagms_adc_time_sng = new TH1F*[NSINGLES]
 
TH1F ** tagms_adc_ped_sng = new TH1F*[NSINGLES]
 
TH1F ** tagms_adc_qf_sng = new TH1F*[NSINGLES]
 
TH1F ** tagms_tdc_time_sng = new TH1F*[NSINGLES]
 
TH1F ** tagms_adc_mult_sng = new TH1F*[NSINGLES]
 
TH1F ** tagms_tdc_mult_sng = new TH1F*[NSINGLES]
 
TH1F ** tagms_hit_time_sng = new TH1F*[NSINGLES]
 
static TH1F * tagm_num_events
 
static TH1F * tagm_hit_tdiff
 
static TH1F * tagms_hit_tdiff
 
static TH1F * tagm_tdc_tdiff_all
 
static TH1F * tagms_tdc_tdiff_all
 
static TH1F * tagm_adc_mult
 
static TH1F * tagm_tdc_mult
 
static TH2F * tagm_adc_mult_2d
 
static TH2F * tagms_adc_mult_2d
 
static TH2F * tagm_tdc_mult_2d
 
static TH2F * tagms_tdc_mult_2d
 
static TH2F * tagm_adc_tdc_mult
 

Function Documentation

void InitPlugin ( JApplication *  app)

Definition at line 142 of file JEventProcessor_TAGM_online.cc.

Variable Documentation

const float_t ADC_NS_PER_COUNT = 0.0625

Definition at line 42 of file JEventProcessor_TAGM_online.cc.

Referenced by JEventProcessor_TAGM_online::evnt().

const uint32_t BINCOUNT_ADC_NSI = 151

Definition at line 65 of file JEventProcessor_TAGM_online.cc.

Referenced by JEventProcessor_TAGM_online::init().

const uint32_t BINCOUNT_ADC_NSP = 21

Definition at line 69 of file JEventProcessor_TAGM_online.cc.

Referenced by JEventProcessor_TAGM_online::init().

const uint32_t BINCOUNT_ADC_PED = 800

Definition at line 57 of file JEventProcessor_TAGM_online.cc.

Referenced by JEventProcessor_TAGM_online::init().

const uint32_t BINCOUNT_ADC_PINT = 200

Definition at line 33 of file JEventProcessor_TAGM_online.cc.

Referenced by JEventProcessor_TAGM_online::init().

const uint32_t BINCOUNT_ADC_QF = 5

Definition at line 61 of file JEventProcessor_TAGM_online.cc.

Referenced by JEventProcessor_TAGM_online::init().

const uint32_t BINCOUNT_ADC_TIME = 16000

Definition at line 41 of file JEventProcessor_TAGM_online.cc.

Referenced by JEventProcessor_TAGM_online::init().

const uint32_t BINCOUNT_HIT_NPIX = 200

Definition at line 37 of file JEventProcessor_TAGM_online.cc.

Referenced by JEventProcessor_TAGM_online::init().

const uint32_t BINCOUNT_HIT_TADC = 16000

Definition at line 45 of file JEventProcessor_TAGM_online.cc.

Referenced by JEventProcessor_TAGM_online::init().

const uint32_t BINCOUNT_HIT_TIME = 65000

Definition at line 48 of file JEventProcessor_TAGM_online.cc.

Referenced by JEventProcessor_TAGM_online::init().

const uint32_t BINCOUNT_TDC_TIME = 65000

Definition at line 52 of file JEventProcessor_TAGM_online.cc.

Referenced by JEventProcessor_TAGM_online::init().

const float MAX_ADC_NSI = 150.

Definition at line 64 of file JEventProcessor_TAGM_online.cc.

Referenced by JEventProcessor_TAGM_online::init().

const float MAX_ADC_NSP = 20.

Definition at line 68 of file JEventProcessor_TAGM_online.cc.

Referenced by JEventProcessor_TAGM_online::init().

const float MAX_ADC_PED = 800.

Definition at line 56 of file JEventProcessor_TAGM_online.cc.

Referenced by JEventProcessor_TAGM_online::init().

const float MAX_ADC_PINT_LOG10 = 5.

Definition at line 32 of file JEventProcessor_TAGM_online.cc.

Referenced by JEventProcessor_TAGM_online::init().

const float MAX_ADC_QF = 4.

Definition at line 60 of file JEventProcessor_TAGM_online.cc.

Referenced by JEventProcessor_TAGM_online::init().

const float MAX_ADC_TIME = 16000.

Definition at line 40 of file JEventProcessor_TAGM_online.cc.

Referenced by JEventProcessor_TAGM_online::init().

const float MAX_HIT_NPIX = 1000.

Definition at line 36 of file JEventProcessor_TAGM_online.cc.

Referenced by JEventProcessor_TAGM_online::init().

const float MAX_HIT_TADC = 1000.

Definition at line 44 of file JEventProcessor_TAGM_online.cc.

Referenced by JEventProcessor_TAGM_online::init().

const float MAX_HIT_TIME = 4000.

Definition at line 47 of file JEventProcessor_TAGM_online.cc.

Referenced by JEventProcessor_TAGM_online::init().

const float MAX_TDC_TIME = 65000.

Definition at line 51 of file JEventProcessor_TAGM_online.cc.

Referenced by JEventProcessor_TAGM_online::init().

const float MIN_ADC_NSI = 0.

Definition at line 63 of file JEventProcessor_TAGM_online.cc.

Referenced by JEventProcessor_TAGM_online::init().

const float MIN_ADC_NSP = 0.

Definition at line 67 of file JEventProcessor_TAGM_online.cc.

Referenced by JEventProcessor_TAGM_online::init().

const float MIN_ADC_PED = 0.

Definition at line 55 of file JEventProcessor_TAGM_online.cc.

Referenced by JEventProcessor_TAGM_online::init().

const float MIN_ADC_PINT_LOG10 = 0.

Definition at line 31 of file JEventProcessor_TAGM_online.cc.

Referenced by JEventProcessor_TAGM_online::init().

const float MIN_ADC_QF = 0.

Definition at line 59 of file JEventProcessor_TAGM_online.cc.

Referenced by JEventProcessor_TAGM_online::init().

const float MIN_ADC_TIME = 0.

Definition at line 39 of file JEventProcessor_TAGM_online.cc.

Referenced by JEventProcessor_TAGM_online::init().

const float MIN_HIT_NPIX = 0.

Definition at line 35 of file JEventProcessor_TAGM_online.cc.

Referenced by JEventProcessor_TAGM_online::init().

const float MIN_HIT_TADC = 0.

Definition at line 43 of file JEventProcessor_TAGM_online.cc.

Referenced by JEventProcessor_TAGM_online::init().

const float MIN_HIT_TIME = 0.

Definition at line 46 of file JEventProcessor_TAGM_online.cc.

Referenced by JEventProcessor_TAGM_online::init().

const float MIN_TDC_TIME = 0.

Definition at line 50 of file JEventProcessor_TAGM_online.cc.

Referenced by JEventProcessor_TAGM_online::init().

const uint32_t NCOLUMNS = 102

Definition at line 28 of file JEventProcessor_TAGM_online.cc.

const uint32_t NSINGLES = 20

Definition at line 29 of file JEventProcessor_TAGM_online.cc.

TH1F* tagm_adc_mult
static
TH2F* tagm_adc_mult_2d
static
TH1F** tagm_adc_mult_col = new TH1F*[NCOLUMNS]
TH1F* tagm_adc_nsi
static
TH2F* tagm_adc_nsi_2d
static
TH1F* tagm_adc_nsp
static
TH2F* tagm_adc_nsp_2d
static
TH1F* tagm_adc_ped
static
TH2F* tagm_adc_ped_2d
static
TH1F** tagm_adc_ped_col = new TH1F*[NCOLUMNS]
TH2F* tagm_adc_ped_nsp
static
TH1F* tagm_adc_pint
static
TH2F* tagm_adc_pint_2d
static
TH1F** tagm_adc_pint_col = new TH1F*[NCOLUMNS]
TH2F* tagm_adc_pint_nsi
static
TH1F* tagm_adc_qf
static
TH2F* tagm_adc_qf_2d
static
TH1F** tagm_adc_qf_col = new TH1F*[NCOLUMNS]
TH1F* tagm_adc_seen
static
TH2F* tagm_adc_tdc_mult
static
TH2F* tagm_adc_time_2d
static
TH1F** tagm_adc_time_col = new TH1F*[NCOLUMNS]
TH1F* tagm_hit_npix
static
TH2F* tagm_hit_npix_2d
static
TH1F* tagm_hit_seen
static
TH1F* tagm_hit_tadc
static
TH2F* tagm_hit_tadc_2d
static
TH1F* tagm_hit_tdiff
static
TH1F* tagm_hit_time
static
TH2F* tagm_hit_time_2d
static
TH1F** tagm_hit_time_col = new TH1F*[NCOLUMNS]
TH2F* tagm_hit_time_tadc
static
TH1F* tagm_num_events
static
TH1F* tagm_tdc_mult
static
TH2F* tagm_tdc_mult_2d
static
TH1F** tagm_tdc_mult_col = new TH1F*[NCOLUMNS]
TH1F* tagm_tdc_seen
static
TH1F* tagm_tdc_tdiff_all
static
TH2F* tagm_tdc_time_2d
static
TH1F** tagm_tdc_time_col = new TH1F*[NCOLUMNS]
TH2F * tagms_adc_mult_2d
static
TH1F** tagms_adc_mult_sng = new TH1F*[NSINGLES]
TH1F * tagms_adc_nsi
static
TH2F * tagms_adc_nsi_2d
static
TH1F * tagms_adc_nsp
static
TH2F * tagms_adc_nsp_2d
static
TH1F * tagms_adc_ped
static
TH2F * tagms_adc_ped_2d
static
TH2F * tagms_adc_ped_nsp
static
TH1F** tagms_adc_ped_sng = new TH1F*[NSINGLES]
TH1F * tagms_adc_pint
static
TH2F * tagms_adc_pint_2d
static
TH2F * tagms_adc_pint_nsi
static
TH1F** tagms_adc_pint_sng = new TH1F*[NSINGLES]
TH1F * tagms_adc_qf
static
TH2F * tagms_adc_qf_2d
static
TH1F** tagms_adc_qf_sng = new TH1F*[NSINGLES]
TH1F * tagms_adc_seen
static
TH1F * tagms_adc_time
static
TH2F * tagms_adc_time_2d
static
TH1F** tagms_adc_time_sng = new TH1F*[NSINGLES]
TH1F * tagms_hit_npix
static
TH2F * tagms_hit_npix_2d
static
TH1F * tagms_hit_seen
static
TH1F * tagms_hit_tadc
static
TH2F * tagms_hit_tadc_2d
static
TH1F * tagms_hit_tdiff
static
TH1F * tagms_hit_time
static
TH2F * tagms_hit_time_2d
static
TH1F** tagms_hit_time_sng = new TH1F*[NSINGLES]
TH2F * tagms_hit_time_tadc
static
TH2F * tagms_tdc_mult_2d
static
TH1F** tagms_tdc_mult_sng = new TH1F*[NSINGLES]
TH1F * tagms_tdc_seen
static
TH1F * tagms_tdc_tdiff_all
static
TH1F * tagms_tdc_time
static
TH2F * tagms_tdc_time_2d
static
TH1F** tagms_tdc_time_sng = new TH1F*[NSINGLES]
const float_t TDC_NS_PER_COUNT = 0.060

Definition at line 53 of file JEventProcessor_TAGM_online.cc.

Referenced by JEventProcessor_TAGM_online::evnt().