StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Classes | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
fcs_trg_base Class Reference

Classes

struct  errors_t
 
struct  in_t
 
struct  marker_t
 
struct  sim_t
 
struct  statistics_t
 

Public Member Functions

void stage_0 (adc_tick_t adc, geom_t geo, ped_gain_t *pg, u_int *to_s1)
 
void stage_0_201900 (adc_tick_t adc, geom_t geo, ped_gain_t *pg, u_int *to_s1)
 
void stage_0_202101 (adc_tick_t adc, geom_t geo, ped_gain_t *pg, u_int *to_s1)
 
void stage_0_202103 (adc_tick_t adc, geom_t geo, ped_gain_t *pg, u_int *to_s1)
 
void stage_0_202109 (adc_tick_t adc, geom_t geo, ped_gain_t *pg, u_int *to_s1)
 
void stage_1 (u_int from_s0[], geom_t geo, link_t to_s2[])
 
void stage_1_201900 (u_int from_s0[], geom_t geo, link_t to_s2[])
 
void stage_1_202201 (u_int from_s0[], geom_t geo, link_t to_s2[])
 
void stage_2 (link_t ecal[], link_t hcal[], link_t pres[], geom_t geo, link_t output[], u_short *s2_to_dsm)
 
void stage_2_201900 (link_t ecal[], link_t hcal[], link_t pres[], geom_t geo, link_t output[])
 
void stage_2_202201 (link_t ecal[], link_t hcal[], link_t pres[], geom_t geo, link_t output[])
 
void stage_2_TAMU_202202 (link_t ecal[], link_t hcal[], link_t pres[], geom_t geo, link_t output[])
 
void stage_2_JP6_202204 (link_t ecal[], link_t hcal[], link_t pres[], geom_t geo, link_t output[])
 
void stage_2_JP6Carl_202205 (link_t ecal[], link_t hcal[], link_t pres[], geom_t geo, link_t output[])
 
void stage_2_JP5_202206 (link_t ecal[], link_t hcal[], link_t pres[], geom_t geo, link_t output[])
 
void stage_2_202207 (link_t ecal[], link_t hcal[], link_t pres[], geom_t geo, link_t output[], u_short *s2_to_dsm)
 
void stage_2_202203 (link_t ecal[], link_t hcal[], link_t pres[], geom_t geo, link_t output[])
 
void stage_2_tonko_202101 (link_t ecal[], link_t hcal[], link_t pres[], geom_t geo, link_t output[])
 
void stage_2_tonko_202104 (link_t ecal[], link_t hcal[], link_t pres[], geom_t geo, link_t output[])
 
void stage_3 (link_t from_s2[], u_short *to_dsm)
 
void stage_3_201900 (link_t from_s2[], u_short *to_dsm)
 
void stage_3_202201 (link_t from_s2[], u_short *to_dsm)
 
void stage_3_202203 (link_t from_s2[], u_short *to_dsm)
 
void stage_3_202207 (link_t from_s2[], u_short *to_dsm)
 
void stage_3_tonko_202101 (link_t from_s2[], u_short *to_dsm)
 
virtual u_int get_version ()
 
void init (const char *fname)
 
void run_start (u_int run)
 
void start_event ()
 
void fill_event (int det, int ns, int dep, int ch, u_short *adc, int t_cou)
 
int verify_event_io ()
 
u_int run_event_sim (int xing, int type)
 
int verify_event_sim (int xing)
 
int dump_event_sim (int xing)
 
int end_event ()
 
int run_stop ()
 

Public Attributes

u_char want_stage_2_io
 
u_char want_stage_3_io
 
u_char want_stage_1_sim
 
struct fcs_trg_base::errors_t errs
 
struct fcs_trg_base::errors_t good
 
struct fcs_trg_base::statistics_t statistics
 
u_char self_trigger
 
u_int dbg_xing
 
u_int run_number
 
u_int evts
 
u_char got_one
 
int log_level
 
u_char realtime
 
u_char sim_mode
 
u_char id
 
u_short tb_cou [NS_COU][DET_COU][DEP_COU]
 
struct fcs_trg_base::in_t d_in [XING_COU]
 
struct fcs_trg_base::sim_t d_out
 
int trg_xing
 
u_short s3_to_dsm
 
u_short s2_to_dsm [2]
 
u_int event_bad
 
u_char s2_io_ns_bad
 
u_char s2_io_ch_bad
 
u_char s3_io_ch_bad
 
u_char s1_dep_bad
 
u_char s1_det_bad
 
u_char s1_ns_bad
 
u_char s2_ns_bad
 
u_char s2_ch_bad
 
u_int e2x2 [2][16][10]
 
u_int h2x2 [2][10][6]
 
u_int esum [2][15][9]
 
u_int epdcoin [2][15][9]
 
u_int hsum [2][9][5]
 
u_int padc [2][6][32]
 
u_int phit [2][6][32]
 
u_int sum [2][15][9]
 
u_int summax [2][15][9]
 
float ratio [2][15][9]
 
float ratiomax [2][15][9]
 
u_int em [2][15][9]
 
u_int had [2][15][9]
 
u_int jet [2][6]
 
u_int etot [2]
 
u_int htot [2]
 
u_int dsmout
 

Static Public Attributes

static const int XING_COU = 40
 
static const int DET_COU = 4
 
static const int ADC_DET_COU = 3
 
static const int NS_COU = 2
 
static const int DEP_COU = 24
 
static const int DEP_HCAL_COU = 9
 
static const int DEP_ECAL_COU = 24
 
static const int DEP_PRE_COU = 6
 
static const int DEP_HCAL_TRG_COU = 8
 
static const int DEP_ECAL_TRG_COU = 20
 
static const int DEP_PRE_TRG_COU = 6
 
static u_int data_format
 
static u_int stage_version [4]
 
static struct
fcs_trg_base::marker_t 
marker
 
static int fcs_trgDebug
 
static int run_type
 
static u_short stage_params [4][32]
 
static ped_gain_t p_g [NS_COU][ADC_DET_COU][DEP_COU][32]
 
static u_short ht_threshold [ADC_DET_COU]
 
static unsigned long long s2_ch_mask [NS_COU]
 
static u_char s2_ch_phase [NS_COU][34]
 
static int fcs_readPresMaskFromText
 
static u_int PRES_MASK [15][9][6]
 
static u_char s3_ch_mask
 
static u_char s3_ch_phase [4]
 
static u_char s3_out_phase
 
static u_short EM_HERATIO_THR
 
static u_short HAD_HERATIO_THR
 
static u_short EMTHR0
 
static u_short EMTHR1
 
static u_short EMTHR2
 
static u_short EMTHR3
 
static u_short ELETHR0
 
static u_short ELETHR1
 
static u_short ELETHR2
 
static u_short HADTHR0
 
static u_short HADTHR1
 
static u_short HADTHR2
 
static u_short HADTHR3
 
static u_short JETTHR1
 
static u_short JETTHR2
 
static u_short JPATHR2
 
static u_short JPATHR1
 
static u_short JPATHR0
 
static u_short JPBCTHR2
 
static u_short JPBCTHR1
 
static u_short JPBCTHR0
 
static u_short JPBCTHRD
 
static u_short JPDETHR2
 
static u_short JPDETHR1
 
static u_short JPDETHR0
 
static u_short JPDETHRD
 
static u_short ETOTTHR
 
static u_short HTOTTHR
 
static u_short EHTTHR
 
static u_short HHTTHR
 
static u_short PHTTHR
 

Detailed Description

Definition at line 33 of file fcs_trg_base.h.


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