StRoot
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
RTS
include
trg2rts.h
1
#ifndef _TRG2RTS_H_
2
#define _TRG2RTS_H_
3
4
/*
5
Defines the static map which translates
6
the RTS system ID into the TRG TCD bit.
7
8
*/
9
10
static
unsigned
char
trg2rts_table[16] = {
11
TPC_ID,
12
SVT_ID,
13
BSMD_ID,
// BSMD
14
FTP_ID,
15
TOF_ID,
16
SSD_ID,
17
BTOW_ID,
// BTOW
18
FPD_ID,
19
ETOW_ID,
// ETOW
20
ESMD_ID,
// ESMD
21
PMD_ID,
22
255,
// spare
23
255,
// spare
24
255,
// spare
25
255,
// CTB
26
255
// BBC
27
} ;
28
29
30
static
unsigned
char
rts2trg_table[32] = {
31
TRG_TPC_BIT,
32
TRG_SVT_BIT,
33
TRG_TOF_BIT,
34
TRG_BTOW_BIT,
// !!!
35
TRG_FPD_BIT,
36
TRG_FTPC_BIT,
37
255,
// EXT
38
255,
// TRG_RICH_BIT,
39
255,
// TRG
40
255,
// L3
41
255,
// SC
42
255,
// EXT2
43
TRG_PMD_BIT,
44
TRG_SSD_BIT,
45
TRG_ETOW_BIT,
// !!!
46
255,
// DAQ
47
TRG_FP2_BIT,
48
255,
// PP
49
TRG_BSMD_BIT,
50
TRG_ESMD_BIT
51
} ;
52
53
54
#endif
Generated by
1.8.5