#include "TExploderProc.h"
#include "TGo4Version.h"
#include "Riostream.h"
#include "TH1.h"
#include "TH2.h"
#include "TCutG.h"
#include "snprintf.h"
#include "TGo4MbsEvent.h"
#include "TGo4WinCond.h"
#include "TGo4PolyCond.h"
#include "TGo4CondArray.h"
#include "TGo4Picture.h"
#include "TGo4Fitter.h"
#include "f_ut_utime.h"
Go to the source code of this file.
Defines | |
#define | EXPLODER_PROCID 25 |
#define | CHARGE 1 |
#define | FI_CHARGE 0 |
#define | LA_CHARGE 4000 |
#define | N_BIN_CHARGE 4000 |
#define | FI_TI_DIF -2000 |
#define | LA_TI_DIF 2000 |
#define | N_BIN_TI_DIF 4000 |
#define | MAX_TOT_NXY 100 |
#define | CLEAR_PAT 999999 |
#define | MIN_PAT 0 |
#define | MAX_PAT 0xffff |
#define | MAX_PA 0xffffff |
#define | MAX_HIT 0x5a |
Variables | |
static UInt_t | l_gosip_head |
static UInt_t | l_nxy_size |
static UInt_t | l_nxy_head |
static UInt_t | l_nxy_trail |
static UInt_t | l_nxy_err_pat |
static UInt_t | l_nxy_n_cha |
static UInt_t | l_nxy_n_chakw [MAX_EXP] |
static UInt_t | l_nxy_n_chasqr [MAX_EXP] |
static UInt_t | l_nxy_n_charange [MAX_EXP] |
static UInt_t | l_dat_fir |
static UInt_t | l_dat_sec |
static UInt_t | l_evt_ct = 0 |
static UInt_t | l_err_ct = 0 |
static Int_t | l_sfp0_in_use [MAX_EXP] = SFP0_EXP_IN_USE |
static Int_t | l_sfp1_in_use [MAX_EXP] = SFP1_EXP_IN_USE |
static Int_t | l_sfp2_in_use [MAX_EXP] = SFP2_EXP_IN_USE |
static Int_t | l_sfp3_in_use [MAX_EXP] = SFP3_EXP_IN_USE |
static Int_t | l_in_use [MAX_SFP][MAX_EXP] |
static UInt_t | l_cha_ix |
static UInt_t | l_cha_ixkw [MAX_EXP][MAX_HIT] |
static UInt_t | l_nhit_ch [MAX_SFP][MAX_EXP][MAX_NXY][MAX_CHA] |
static Int_t | l_nhit_ch_adc [MAX_SFP][MAX_EXP][MAX_NXY][MAX_CHA][MAX_HIT] |
static Long64_t | ll_trg_epo [MAX_SFP][MAX_EXP][MAX_NXY] |
static Long64_t | ll_trg_epo_short [MAX_EXP] |
static Long64_t | ll_trg_epo_shorto [MAX_EXP] |
static Long64_t | ll_trg_epo_plus [MAX_SFP][MAX_EXP][MAX_NXY] |
static UInt_t | ll_trg_epo_uint [MAX_SFP][MAX_EXP][MAX_NXY] |
static Int_t | ll_trg_epo_int [MAX_SFP][MAX_EXP][MAX_NXY] |
static Long64_t | l_trg_epo_l32 [MAX_SFP][MAX_EXP][MAX_NXY] |
static Long64_t | l_trg_epo_h16 [MAX_SFP][MAX_EXP][MAX_NXY] |
static Int_t | l_time [MAX_SFP][MAX_EXP][MAX_NXY][MAX_CHA] |
static Int_t | l_of [MAX_SFP][MAX_EXP][MAX_NXY][MAX_CHA] |
static Int_t | l_pu [MAX_SFP][MAX_EXP][MAX_NXY][MAX_CHA] |
static Int_t | l_adc [MAX_SFP][MAX_EXP][MAX_NXY][MAX_CHA] |
static Int_t | l_epo [MAX_SFP][MAX_EXP][MAX_NXY][MAX_CHA] |
static Long64_t | l_toti [MAX_SFP][MAX_EXP][MAX_NXY][MAX_CHA] |
static UInt_t | l_nxy_ct = 0 |
static UInt_t | l_sfp [MAX_TOT_NXY] |
static UInt_t | l_exp [MAX_TOT_NXY] |
static UInt_t | l_nxy [MAX_TOT_NXY] |
static Long64_t | l_time_first_ch [MAX_SFP][MAX_EXP][MAX_NXY][MAX_CHA] |
static Long64_t | l_time_first_xy [MAX_SFP][MAX_EXP][MAX_NXY] |
static Long64_t | l_time_first_ex [MAX_SFP][MAX_EXP] |
static Long64_t | l_time_first_sf [MAX_SFP] |
static Long64_t | l_time_first_al |
static Long64_t | ll_time |
static Long64_t | l_epo_min [MAX_SFP][MAX_EXP][MAX_NXY] |
static Long64_t | l_epo_max [MAX_SFP][MAX_EXP][MAX_NXY] |
static Long64_t | l_test |
static Int_t | l_mult [MAX_SFP][MAX_EXP][MAX_NXY] |
static Int_t | l_mult_wtimewind [MAX_SFP][MAX_EXP][MAX_NXY] |
static UInt_t | l_trig_count |
static UInt_t | lowtrig |
static UInt_t | hightrig |
#define CHARGE 1 |
Definition at line 31 of file TExploderProc.cxx.
#define CLEAR_PAT 999999 |
Definition at line 43 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
#define EXPLODER_PROCID 25 |
Definition at line 28 of file TExploderProc.cxx.
#define FI_CHARGE 0 |
Definition at line 33 of file TExploderProc.cxx.
Referenced by TExploderProc::TExploderProc().
#define FI_TI_DIF -2000 |
Definition at line 37 of file TExploderProc.cxx.
Referenced by TExploderProc::TExploderProc().
#define LA_CHARGE 4000 |
Definition at line 34 of file TExploderProc.cxx.
Referenced by TExploderProc::TExploderProc().
#define LA_TI_DIF 2000 |
Definition at line 38 of file TExploderProc.cxx.
Referenced by TExploderProc::TExploderProc().
#define MAX_HIT 0x5a |
Definition at line 48 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
#define MAX_PA 0xffffff |
Definition at line 47 of file TExploderProc.cxx.
#define MAX_PAT 0xffff |
Definition at line 46 of file TExploderProc.cxx.
#define MAX_TOT_NXY 100 |
Definition at line 41 of file TExploderProc.cxx.
#define MIN_PAT 0 |
Definition at line 44 of file TExploderProc.cxx.
#define N_BIN_CHARGE 4000 |
Definition at line 35 of file TExploderProc.cxx.
Referenced by TExploderProc::TExploderProc().
#define N_BIN_TI_DIF 4000 |
Definition at line 39 of file TExploderProc.cxx.
Referenced by TExploderProc::TExploderProc().
UInt_t hightrig [static] |
Definition at line 109 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
Int_t l_adc[MAX_SFP][MAX_EXP][MAX_NXY][MAX_CHA] [static] |
Definition at line 87 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
UInt_t l_cha_ix [static] |
Definition at line 72 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
UInt_t l_cha_ixkw[MAX_EXP][MAX_HIT] [static] |
Definition at line 73 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
UInt_t l_dat_fir [static] |
Definition at line 60 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
UInt_t l_dat_sec [static] |
Definition at line 61 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
Int_t l_epo[MAX_SFP][MAX_EXP][MAX_NXY][MAX_CHA] [static] |
Definition at line 88 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
Long64_t l_epo_max[MAX_SFP][MAX_EXP][MAX_NXY] [static] |
Definition at line 103 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
Long64_t l_epo_min[MAX_SFP][MAX_EXP][MAX_NXY] [static] |
Definition at line 102 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
UInt_t l_err_ct = 0 [static] |
Definition at line 64 of file TExploderProc.cxx.
UInt_t l_evt_ct = 0 [static] |
Definition at line 63 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
UInt_t l_exp[MAX_TOT_NXY] [static] |
Definition at line 93 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent(), and TExploderProc::TExploderProc().
UInt_t l_gosip_head [static] |
Definition at line 50 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
Int_t l_in_use[MAX_SFP][MAX_EXP] [static] |
Definition at line 70 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent(), and TExploderProc::TExploderProc().
Int_t l_mult[MAX_SFP][MAX_EXP][MAX_NXY] [static] |
Definition at line 105 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
Int_t l_mult_wtimewind[MAX_SFP][MAX_EXP][MAX_NXY] [static] |
Definition at line 106 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
UInt_t l_nhit_ch[MAX_SFP][MAX_EXP][MAX_NXY][MAX_CHA] [static] |
Definition at line 74 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
Int_t l_nhit_ch_adc[MAX_SFP][MAX_EXP][MAX_NXY][MAX_CHA][MAX_HIT] [static] |
Definition at line 75 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
UInt_t l_nxy[MAX_TOT_NXY] [static] |
Definition at line 94 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent(), and TExploderProc::TExploderProc().
UInt_t l_nxy_ct = 0 [static] |
Definition at line 91 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent(), and TExploderProc::TExploderProc().
UInt_t l_nxy_err_pat [static] |
Definition at line 54 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
UInt_t l_nxy_head [static] |
Definition at line 52 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
UInt_t l_nxy_n_cha [static] |
Definition at line 55 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
UInt_t l_nxy_n_chakw[MAX_EXP] [static] |
Definition at line 56 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
UInt_t l_nxy_n_charange[MAX_EXP] [static] |
Definition at line 58 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
UInt_t l_nxy_n_chasqr[MAX_EXP] [static] |
Definition at line 57 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
UInt_t l_nxy_size [static] |
Definition at line 51 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
UInt_t l_nxy_trail [static] |
Definition at line 53 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
Int_t l_of[MAX_SFP][MAX_EXP][MAX_NXY][MAX_CHA] [static] |
Definition at line 85 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
Int_t l_pu[MAX_SFP][MAX_EXP][MAX_NXY][MAX_CHA] [static] |
Definition at line 86 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
UInt_t l_sfp[MAX_TOT_NXY] [static] |
Definition at line 92 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent(), and TExploderProc::TExploderProc().
Int_t l_sfp0_in_use[MAX_EXP] = SFP0_EXP_IN_USE [static] |
Definition at line 66 of file TExploderProc.cxx.
Referenced by TExploderProc::TExploderProc().
Int_t l_sfp1_in_use[MAX_EXP] = SFP1_EXP_IN_USE [static] |
Definition at line 67 of file TExploderProc.cxx.
Referenced by TExploderProc::TExploderProc().
Int_t l_sfp2_in_use[MAX_EXP] = SFP2_EXP_IN_USE [static] |
Definition at line 68 of file TExploderProc.cxx.
Referenced by TExploderProc::TExploderProc().
Int_t l_sfp3_in_use[MAX_EXP] = SFP3_EXP_IN_USE [static] |
Definition at line 69 of file TExploderProc.cxx.
Referenced by TExploderProc::TExploderProc().
Long64_t l_test [static] |
Definition at line 104 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
Int_t l_time[MAX_SFP][MAX_EXP][MAX_NXY][MAX_CHA] [static] |
Definition at line 84 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
Long64_t l_time_first_al [static] |
Definition at line 100 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
Long64_t l_time_first_ch[MAX_SFP][MAX_EXP][MAX_NXY][MAX_CHA] [static] |
Definition at line 96 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
Long64_t l_time_first_ex[MAX_SFP][MAX_EXP] [static] |
Definition at line 98 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
Long64_t l_time_first_sf[MAX_SFP] [static] |
Definition at line 99 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
Long64_t l_time_first_xy[MAX_SFP][MAX_EXP][MAX_NXY] [static] |
Definition at line 97 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
Long64_t l_toti[MAX_SFP][MAX_EXP][MAX_NXY][MAX_CHA] [static] |
Definition at line 89 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
Long64_t l_trg_epo_h16[MAX_SFP][MAX_EXP][MAX_NXY] [static] |
Definition at line 83 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
Long64_t l_trg_epo_l32[MAX_SFP][MAX_EXP][MAX_NXY] [static] |
Definition at line 82 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
UInt_t l_trig_count [static] |
Definition at line 107 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
Long64_t ll_time [static] |
Definition at line 101 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
Long64_t ll_trg_epo[MAX_SFP][MAX_EXP][MAX_NXY] [static] |
Definition at line 76 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
Int_t ll_trg_epo_int[MAX_SFP][MAX_EXP][MAX_NXY] [static] |
Definition at line 81 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
Long64_t ll_trg_epo_plus[MAX_SFP][MAX_EXP][MAX_NXY] [static] |
Definition at line 79 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
Long64_t ll_trg_epo_short[MAX_EXP] [static] |
Definition at line 77 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
Long64_t ll_trg_epo_shorto[MAX_EXP] [static] |
Definition at line 78 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
UInt_t ll_trg_epo_uint[MAX_SFP][MAX_EXP][MAX_NXY] [static] |
Definition at line 80 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().
UInt_t lowtrig [static] |
Definition at line 108 of file TExploderProc.cxx.
Referenced by TExploderProc::ProcessSubevent().