Hall-D Software
alpha
|
#include <JANA/JEventProcessor.h>
#include <stdint.h>
#include <vector>
#include <stdio.h>
#include <TMath.h>
#include <TDirectory.h>
#include <TH1.h>
#include <TH2.h>
#include "START_COUNTER/DSCDigiHit.h"
#include "START_COUNTER/DSCTDCDigiHit.h"
#include "START_COUNTER/DSCHit.h"
#include "DAQ/Df250WindowRawData.h"
#include "DAQ/Df250PulseRawData.h"
#include "DAQ/Df250PulseTime.h"
#include "DAQ/Df250PulseIntegral.h"
#include "DAQ/Df250PulsePedestal.h"
#include "DAQ/Df250Config.h"
#include <TTAB/DTTabUtilities.h>
Go to the source code of this file.
Classes | |
class | JEventProcessor_ST_online_lowlevel |
Variables | |
const uint32_t | NCHANNELS = 30 |
const float_t | ADC_PT_RES = 0.0625 |
static TH2I * | h2_st_adc_tdc_multi |
static TH2I * | h2_st_adc_hit_multi |
static TH2I * | h2_raw_pi_sector |
static TH2I * | h2_raw_ped_sector |
static TH2I * | h2_raw_pt_sector |
static TH2I * | h2_adc_pp_sector |
static TH2I * | h2_adc_pcpi_sector |
static TH2I * | h2_adc_pt_sector |
static TH2I * | h2_adc_ped_sector |
static TH2I * | h2_st_time_vs_pcpi |
static TH2I * | h2_st_time_vs_pp |
static TH2I * | h2_raw_tdcTime_sec |
static TH2I * | h2_tdcTime_sec |
static TH2I * | h2_t_sec |
static TH2I * | h2_tTDC_sec |
static TH2I * | h2_tfADC_sec |
static TH2I * | h2_dE_sec |
static TH1I * | h1_adc_sec |
static TH1I * | h1_tdc_sec |
static TH1I * | h1_hit_sec |
static TH1I * | st_num_events |
TH1I ** | h_amp_vs_sampl_chan = new TH1I*[NCHANNELS] |
TH1I ** | h_amp_vs_sampl_chan150 = new TH1I*[NCHANNELS] |
TH1I ** | h_amp_vs_sampl_chan1000 = new TH1I*[NCHANNELS] |
TH1I ** | h_amp_vs_sampl_chan2000 = new TH1I*[NCHANNELS] |
TH1I ** | h_amp_vs_sampl_chan3000 = new TH1I*[NCHANNELS] |
TH1I ** | h_amp_vs_sampl_chan4000 = new TH1I*[NCHANNELS] |
Bool_t | bool_sec [NCHANNELS] |
Bool_t | bool_sec150 [NCHANNELS] |
Bool_t | bool_sec1000 [NCHANNELS] |
Bool_t | bool_sec2000 [NCHANNELS] |
Bool_t | bool_sec3000 [NCHANNELS] |
Bool_t | bool_sec4000 [NCHANNELS] |
Double_t | adc_pp |
Double_t | adc_t |
Double_t | adc_ped |
Double_t | adc_pi |
Double_t | adc_pcpi |
Double_t | tdc_t |
Double_t | st_time |
vector< double > | a_pedestals |
vector< double > | adc_time_offsets |
vector< double > | tdc_time_offsets |
double | t_tdc_base |
double | t_base |
double | t_scale |
const uint32_t | ADC_MULTI_MIN = 0. |
const uint32_t | ADC_MULTI_MAX = 31. |
const uint32_t | ADC_MULTI_BINS = 31. |
const uint32_t | TDC_MULTI_MIN = 0. |
const uint32_t | TDC_MULTI_MAX = 40. |
const uint32_t | TDC_MULTI_BINS = 40. |
const uint32_t | PI_MIN = 0. |
const uint32_t | PI_MAX = 12000. |
const uint32_t | PI_BINS = 240. |
const uint32_t | PED_MIN = 90. |
const uint32_t | PED_MAX = 120. |
const uint32_t | PED_BINS = 30. |
const uint32_t | PT_MIN = 0. |
const uint32_t | PT_MAX = 200. |
const uint32_t | PT_BINS = 200. |
const uint32_t | TDC_DHIT_MIN = 0. |
const uint32_t | TDC_DHIT_MAX = 2200. |
const uint32_t | TDC_DHIT_BINS = 220. |
const float_t | T_HIT_MIN = -80. |
const float_t | T_HIT_MAX = 80. |
const float_t | T_HIT_BINS = 160. |
vector<double> a_pedestals |
Definition at line 94 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by DFDCHit_factory::brun(), DSCHit_factory::brun(), JEventProcessor_ST_online_lowlevel::brun(), DSCHit_factory::evnt(), JEventProcessor_ST_online_lowlevel::evnt(), and DFDCHit_factory::LoadPackageCalibTables().
const uint32_t ADC_MULTI_BINS = 31. |
Definition at line 104 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_multi::init(), and JEventProcessor_ST_online_lowlevel::init().
const uint32_t ADC_MULTI_MAX = 31. |
Definition at line 103 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_multi::init(), and JEventProcessor_ST_online_lowlevel::init().
const uint32_t ADC_MULTI_MIN = 0. |
Definition at line 102 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_multi::init(), and JEventProcessor_ST_online_lowlevel::init().
Double_t adc_pcpi |
Definition at line 90 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::evnt().
Double_t adc_ped |
Definition at line 88 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::evnt().
Double_t adc_pi |
Definition at line 89 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::evnt().
Double_t adc_pp |
Definition at line 86 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_st_tw_corr_auto::evnt(), and JEventProcessor_ST_online_lowlevel::evnt().
const float_t ADC_PT_RES = 0.0625 |
Definition at line 44 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::evnt().
Double_t adc_t |
Definition at line 87 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_TAGM_TW::evnt(), JEventProcessor_st_tw_corr_auto::evnt(), JEventProcessor_ST_online_lowlevel::evnt(), and DL1MCTrigger_factory::SignalPulse().
vector<double> adc_time_offsets |
Definition at line 95 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by DPSHit_factory::brun(), DSCHit_factory::brun(), DPSCHit_factory::brun(), DTOFHit_factory::brun(), JEventProcessor_ST_online_lowlevel::brun(), DPSHit_factory::evnt(), DSCHit_factory::evnt(), DPSCHit_factory::evnt(), DTOFHit_factory::evnt(), and JEventProcessor_ST_online_lowlevel::evnt().
Bool_t bool_sec[NCHANNELS] |
Definition at line 80 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::evnt(), and JEventProcessor_ST_online_lowlevel::init().
Bool_t bool_sec1000[NCHANNELS] |
Definition at line 82 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::evnt(), and JEventProcessor_ST_online_lowlevel::init().
Bool_t bool_sec150[NCHANNELS] |
Definition at line 81 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::evnt(), and JEventProcessor_ST_online_lowlevel::init().
Bool_t bool_sec2000[NCHANNELS] |
Definition at line 83 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::evnt(), and JEventProcessor_ST_online_lowlevel::init().
Bool_t bool_sec3000[NCHANNELS] |
Definition at line 84 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::evnt(), and JEventProcessor_ST_online_lowlevel::init().
Bool_t bool_sec4000[NCHANNELS] |
Definition at line 85 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::evnt(), and JEventProcessor_ST_online_lowlevel::init().
|
static |
Definition at line 67 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::evnt(), and JEventProcessor_ST_online_lowlevel::init().
|
static |
Definition at line 69 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::evnt(), and JEventProcessor_ST_online_lowlevel::init().
|
static |
Definition at line 68 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::evnt(), and JEventProcessor_ST_online_lowlevel::init().
|
static |
Definition at line 54 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::evnt(), and JEventProcessor_ST_online_lowlevel::init().
|
static |
Definition at line 56 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::evnt(), and JEventProcessor_ST_online_lowlevel::init().
|
static |
Definition at line 53 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::evnt(), and JEventProcessor_ST_online_lowlevel::init().
|
static |
Definition at line 55 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::evnt(), and JEventProcessor_ST_online_lowlevel::init().
|
static |
Definition at line 64 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::evnt(), and JEventProcessor_ST_online_lowlevel::init().
|
static |
Definition at line 51 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::evnt(), and JEventProcessor_ST_online_lowlevel::init().
|
static |
Definition at line 50 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::evnt(), and JEventProcessor_ST_online_lowlevel::init().
|
static |
Definition at line 52 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::evnt(), and JEventProcessor_ST_online_lowlevel::init().
|
static |
Definition at line 59 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::evnt(), and JEventProcessor_ST_online_lowlevel::init().
|
static |
Definition at line 49 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::evnt(), and JEventProcessor_ST_online_lowlevel::init().
|
static |
Definition at line 48 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::evnt(), and JEventProcessor_ST_online_lowlevel::init().
|
static |
Definition at line 57 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::evnt(), and JEventProcessor_ST_online_lowlevel::init().
|
static |
Definition at line 58 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::evnt(), and JEventProcessor_ST_online_lowlevel::init().
|
static |
Definition at line 61 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::evnt(), and JEventProcessor_ST_online_lowlevel::init().
|
static |
Definition at line 60 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::evnt(), and JEventProcessor_ST_online_lowlevel::init().
|
static |
Definition at line 63 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::evnt(), and JEventProcessor_ST_online_lowlevel::init().
|
static |
Definition at line 62 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::evnt(), and JEventProcessor_ST_online_lowlevel::init().
TH1I** h_amp_vs_sampl_chan = new TH1I*[NCHANNELS] |
Definition at line 74 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::evnt(), and JEventProcessor_ST_online_lowlevel::init().
TH1I** h_amp_vs_sampl_chan1000 = new TH1I*[NCHANNELS] |
Definition at line 76 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::evnt(), and JEventProcessor_ST_online_lowlevel::init().
TH1I** h_amp_vs_sampl_chan150 = new TH1I*[NCHANNELS] |
Definition at line 75 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::evnt(), and JEventProcessor_ST_online_lowlevel::init().
TH1I** h_amp_vs_sampl_chan2000 = new TH1I*[NCHANNELS] |
Definition at line 77 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::evnt(), and JEventProcessor_ST_online_lowlevel::init().
TH1I** h_amp_vs_sampl_chan3000 = new TH1I*[NCHANNELS] |
Definition at line 78 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::evnt(), and JEventProcessor_ST_online_lowlevel::init().
TH1I** h_amp_vs_sampl_chan4000 = new TH1I*[NCHANNELS] |
Definition at line 79 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::evnt(), and JEventProcessor_ST_online_lowlevel::init().
const uint32_t NCHANNELS = 30 |
Definition at line 43 of file JEventProcessor_ST_online_lowlevel.h.
const uint32_t PED_BINS = 30. |
Definition at line 113 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::init().
const uint32_t PED_MAX = 120. |
Definition at line 112 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::init().
const uint32_t PED_MIN = 90. |
Definition at line 111 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::init().
const uint32_t PI_BINS = 240. |
Definition at line 110 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::init().
const uint32_t PI_MAX = 12000. |
Definition at line 109 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::init().
const uint32_t PI_MIN = 0. |
Definition at line 108 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::init().
const uint32_t PT_BINS = 200. |
Definition at line 116 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::init().
const uint32_t PT_MAX = 200. |
Definition at line 115 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::init().
const uint32_t PT_MIN = 0. |
Definition at line 114 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::init().
|
static |
Definition at line 70 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_occupancy_online::evnt(), JEventProcessor_ST_online_lowlevel::evnt(), JEventProcessor_lowlevel_online::evnt(), JEventProcessor_occupancy_online::init(), JEventProcessor_ST_online_lowlevel::init(), and JEventProcessor_lowlevel_online::init().
Double_t st_time |
Definition at line 92 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_st_tw_corr_auto::evnt(), JEventProcessor_ST_online_Tresolution::evnt(), JEventProcessor_ST_Tresolution::evnt(), and JEventProcessor_ST_online_lowlevel::evnt().
double t_base |
Definition at line 98 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by DDIRCPmtHit_factory::brun(), DPSHit_factory::brun(), DTAGHHit_factory_Calib::brun(), DFDCHit_factory::brun(), DCDCHit_factory_Calib::brun(), DFCALHit_factory::brun(), DTAGMHit_factory_Calib::brun(), DSCHit_factory::brun(), DBCALTDCHit_factory::brun(), DPSCHit_factory::brun(), DBCALHit_factory::brun(), DTOFHit_factory::brun(), JEventProcessor_ST_online_lowlevel::brun(), DDIRCPmtHit_factory::evnt(), DPSHit_factory::evnt(), DTAGHHit_factory_Calib::evnt(), DFDCHit_factory::evnt(), DCDCHit_factory_Calib::evnt(), DFCALHit_factory::evnt(), DTAGMHit_factory_Calib::evnt(), DSCHit_factory::evnt(), DBCALTDCHit_factory::evnt(), DPSCHit_factory::evnt(), DBCALHit_factory::evnt(), DTOFHit_factory::evnt(), JEventProcessor_ST_online_lowlevel::evnt(), DDIRCLEDRef_factory::init(), DPSHit_factory::init(), DTAGHHit_factory_Calib::init(), DFDCHit_factory::init(), DCDCHit_factory_Calib::init(), DFCALHit_factory::init(), DSCHit_factory::init(), DTAGMHit_factory_Calib::init(), DBCALTDCHit_factory::init(), DPSCHit_factory::init(), DBCALHit_factory::init(), and DTOFHit_factory::init().
const float_t T_HIT_BINS = 160. |
Definition at line 122 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::init().
const float_t T_HIT_MAX = 80. |
Definition at line 121 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::init().
const float_t T_HIT_MIN = -80. |
Definition at line 120 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::init().
double t_scale |
Definition at line 99 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by DPSHit_factory::brun(), DFDCHit_factory::brun(), DCDCHit_factory_Calib::brun(), DFCALHit_factory::brun(), DSCHit_factory::brun(), DBCALTDCHit_factory::brun(), DPSCHit_factory::brun(), DBCALHit_factory::brun(), JEventProcessor_ST_online_lowlevel::brun(), DDIRCLEDRef_factory::evnt(), DTPOLHit_factory::evnt(), DPSHit_factory::evnt(), DFDCHit_factory::evnt(), DCDCHit_factory_Calib::evnt(), DFCALHit_factory::evnt(), DSCHit_factory::evnt(), DBCALTDCHit_factory::evnt(), DPSCHit_factory::evnt(), DBCALHit_factory::evnt(), DTOFHit_factory::evnt(), JEventProcessor_ST_online_lowlevel::evnt(), DDIRCLEDRef_factory::init(), DTPOLHit_factory::init(), DPSHit_factory::init(), DFDCHit_factory::init(), DCDCHit_factory_Calib::init(), DFCALHit_factory::init(), DSCHit_factory::init(), DBCALTDCHit_factory::init(), DPSCHit_factory::init(), DBCALHit_factory::init(), and DTOFHit_factory::init().
double t_tdc_base |
Definition at line 97 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by DTAGHHit_factory_Calib::brun(), DSCHit_factory::brun(), DTAGMHit_factory_Calib::brun(), DPSCHit_factory::brun(), JEventProcessor_ST_online_lowlevel::brun(), DTAGHHit_factory_Calib::evnt(), DTAGMHit_factory_Calib::evnt(), DSCHit_factory::evnt(), DPSCHit_factory::evnt(), JEventProcessor_ST_online_lowlevel::evnt(), DTAGHHit_factory_Calib::init(), DTAGMHit_factory_Calib::init(), DSCHit_factory::init(), and DPSCHit_factory::init().
const uint32_t TDC_DHIT_BINS = 220. |
Definition at line 119 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::init().
const uint32_t TDC_DHIT_MAX = 2200. |
Definition at line 118 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::init().
const uint32_t TDC_DHIT_MIN = 0. |
Definition at line 117 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_lowlevel::init().
const uint32_t TDC_MULTI_BINS = 40. |
Definition at line 107 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_multi::init(), and JEventProcessor_ST_online_lowlevel::init().
const uint32_t TDC_MULTI_MAX = 40. |
Definition at line 106 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_multi::init(), and JEventProcessor_ST_online_lowlevel::init().
const uint32_t TDC_MULTI_MIN = 0. |
Definition at line 105 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_ST_online_multi::init(), and JEventProcessor_ST_online_lowlevel::init().
Double_t tdc_t |
Definition at line 91 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by JEventProcessor_TAGM_TW::evnt(), and JEventProcessor_ST_online_lowlevel::evnt().
vector<double> tdc_time_offsets |
Definition at line 96 of file JEventProcessor_ST_online_lowlevel.h.
Referenced by DTAGHHit_factory_Calib::brun(), DTAGMHit_factory_Calib::brun(), DSCHit_factory::brun(), DPSCHit_factory::brun(), DTOFHit_factory::brun(), JEventProcessor_ST_online_lowlevel::brun(), DTAGHHit_factory_Calib::evnt(), DSCHit_factory::evnt(), DTAGMHit_factory_Calib::evnt(), DPSCHit_factory::evnt(), DTOFHit_factory::evnt(), JEventProcessor_ST_online_lowlevel::evnt(), DTAGHHit_factory_Calib::init(), and DTAGMHit_factory_Calib::init().