CMS 3D CMS Logo

rctDataBase.cc
Go to the documentation of this file.
1 #include "rctDataBase.h"
2 
4  length[RCEt] = 10;
5  length[RCTau] = 1;
6  length[RCOf] = 1;
7  length[HFEt] = 8;
8  length[HFFg] = 1;
9  length[IEEt] = 6;
10  length[IEReg] = 1;
11  length[IECard] = 3;
12  length[NEEt] = 6;
13  length[NEReg] = 1;
14  length[NECard] = 3;
15  length[RCHad] = 1;
16 
17  link[RCEt] = 0;
18  link[RCTau] = 0;
19  link[RCOf] = 0;
20  link[HFEt] = 1;
21  link[HFFg] = 1;
22  link[IEEt] = 1;
23  link[IEReg] = 1;
24  link[IECard] = 1;
25  link[NEEt] = 1;
26  link[NEReg] = 1;
27  link[NECard] = 1;
28  link[RCHad] = 1;
29 
30  indexfromMP7toRCT[0] = 0;
31  indexfromMP7toRCT[1] = 1;
32  indexfromMP7toRCT[2] = 18;
33  indexfromMP7toRCT[3] = 19;
34  indexfromMP7toRCT[4] = 16;
35  indexfromMP7toRCT[5] = 17;
36  indexfromMP7toRCT[6] = 34;
37  indexfromMP7toRCT[7] = 35;
38  indexfromMP7toRCT[8] = 2;
39  indexfromMP7toRCT[9] = 3;
40  indexfromMP7toRCT[10] = 20;
41  indexfromMP7toRCT[11] = 21;
42  indexfromMP7toRCT[12] = 14;
43  indexfromMP7toRCT[13] = 15;
44  indexfromMP7toRCT[14] = 32;
45  indexfromMP7toRCT[15] = 33;
46  indexfromMP7toRCT[16] = 4;
47  indexfromMP7toRCT[17] = 5;
48  indexfromMP7toRCT[18] = 22;
49  indexfromMP7toRCT[19] = 23;
50  indexfromMP7toRCT[20] = 12;
51  indexfromMP7toRCT[21] = 13;
52  indexfromMP7toRCT[22] = 30;
53  indexfromMP7toRCT[23] = 31;
54  indexfromMP7toRCT[24] = 6;
55  indexfromMP7toRCT[25] = 7;
56  indexfromMP7toRCT[26] = 24;
57  indexfromMP7toRCT[27] = 25;
58  indexfromMP7toRCT[28] = 10;
59  indexfromMP7toRCT[29] = 11;
60  indexfromMP7toRCT[30] = 28;
61  indexfromMP7toRCT[31] = 29;
62  indexfromMP7toRCT[32] = 8;
63  indexfromMP7toRCT[33] = 9;
64  indexfromMP7toRCT[34] = 26;
65  indexfromMP7toRCT[35] = 27;
66 
67  indexfromoRSCtoMP7[0] = 0;
68  indexfromoRSCtoMP7[1] = 1;
69  indexfromoRSCtoMP7[2] = 8;
70  indexfromoRSCtoMP7[3] = 9;
71  indexfromoRSCtoMP7[4] = 16;
72  indexfromoRSCtoMP7[5] = 17;
73  indexfromoRSCtoMP7[6] = 24;
74  indexfromoRSCtoMP7[7] = 25;
75  indexfromoRSCtoMP7[8] = 32;
76  indexfromoRSCtoMP7[9] = 33;
77  indexfromoRSCtoMP7[10] = 28;
78  indexfromoRSCtoMP7[11] = 29;
79  indexfromoRSCtoMP7[12] = 20;
80  indexfromoRSCtoMP7[13] = 21;
81  indexfromoRSCtoMP7[14] = 12;
82  indexfromoRSCtoMP7[15] = 13;
83  indexfromoRSCtoMP7[16] = 4;
84  indexfromoRSCtoMP7[17] = 5;
85  indexfromoRSCtoMP7[18] = 2;
86  indexfromoRSCtoMP7[19] = 3;
87  indexfromoRSCtoMP7[20] = 10;
88  indexfromoRSCtoMP7[21] = 11;
89  indexfromoRSCtoMP7[22] = 18;
90  indexfromoRSCtoMP7[23] = 19;
91  indexfromoRSCtoMP7[24] = 26;
92  indexfromoRSCtoMP7[25] = 27;
93  indexfromoRSCtoMP7[26] = 34;
94  indexfromoRSCtoMP7[27] = 35;
95  indexfromoRSCtoMP7[28] = 30;
96  indexfromoRSCtoMP7[29] = 31;
97  indexfromoRSCtoMP7[30] = 22;
98  indexfromoRSCtoMP7[31] = 23;
99  indexfromoRSCtoMP7[32] = 14;
100  indexfromoRSCtoMP7[33] = 15;
101  indexfromoRSCtoMP7[34] = 6;
102  indexfromoRSCtoMP7[35] = 7;
103 
104  RCEt_start[0][0] = 8;
105  RCEt_start[0][1] = 18;
106  RCEt_start[1][0] = 28;
107  RCEt_start[1][1] = 38;
108  RCEt_start[2][0] = 48;
109  RCEt_start[2][1] = 58;
110  RCEt_start[3][0] = 68;
111  RCEt_start[3][1] = 78;
112  RCEt_start[4][0] = 88;
113  RCEt_start[4][1] = 98;
114  RCEt_start[5][0] = 108;
115  RCEt_start[5][1] = 118;
116  RCEt_start[6][0] = 128;
117  RCEt_start[6][1] = 138;
118 
119  RCTau_start[0][0] = 148;
120  RCTau_start[0][1] = 149;
121  RCTau_start[1][0] = 150;
122  RCTau_start[1][1] = 151;
123  RCTau_start[2][0] = 152;
124  RCTau_start[2][1] = 153;
125  RCTau_start[3][0] = 154;
126  RCTau_start[3][1] = 155;
127  RCTau_start[4][0] = 156;
128  RCTau_start[4][1] = 157;
129  RCTau_start[5][0] = 158;
130  RCTau_start[5][1] = 159;
131  RCTau_start[6][0] = 160;
132  RCTau_start[6][1] = 161;
133 
134  RCOf_start[0][0] = 162;
135  RCOf_start[0][1] = 163;
136  RCOf_start[1][0] = 164;
137  RCOf_start[1][1] = 165;
138  RCOf_start[2][0] = 166;
139  RCOf_start[2][1] = 167;
140  RCOf_start[3][0] = 168;
141  RCOf_start[3][1] = 169;
142  RCOf_start[4][0] = 170;
143  RCOf_start[4][1] = 171;
144  RCOf_start[5][0] = 172;
145  RCOf_start[5][1] = 173;
146  RCOf_start[6][0] = 174;
147  RCOf_start[6][1] = 175;
148 
149  //calo object index 0= ,order in the cable= 0 ,bits= 8,72
150  //calo object index 1= ,order in the cable= 1 ,bits= 16,73
151  //calo object index 2= ,order in the cable= 4 ,bits= 40,76
152  //calo object index 3= ,order in the cable= 5 ,bits= 48,77
153  //calo object index 4= ,order in the cable= 2 ,bits= 24,74
154  //calo object index 5= ,order in the cable= 3 ,bits= 32,75
155  //calo object index 6= ,order in the cable= 6 ,bits= 56,78
156  //calo object index 7= ,order in the cable= 7 ,bits= 64,79
157 
158  HFEt_start[0] = 8;
159  HFEt_start[1] = 16;
160  HFEt_start[2] = 40;
161  HFEt_start[3] = 48;
162  HFEt_start[4] = 24;
163  HFEt_start[5] = 32;
164  HFEt_start[6] = 56;
165  HFEt_start[7] = 64;
166 
167  HFFg_start[0] = 72;
168  HFFg_start[1] = 73;
169  HFFg_start[2] = 76;
170  HFFg_start[3] = 77;
171  HFFg_start[4] = 74;
172  HFFg_start[5] = 75;
173  HFFg_start[6] = 78;
174  HFFg_start[7] = 79;
175 
176  IEEt_start[0] = 80;
177  IEEt_start[1] = 90;
178  IEEt_start[2] = 100;
179  IEEt_start[3] = 110;
180 
181  IEReg_start[0] = 86;
182  IEReg_start[1] = 96;
183  IEReg_start[2] = 106;
184  IEReg_start[3] = 116;
185 
186  IECard_start[0] = 87;
187  IECard_start[1] = 97;
188  IECard_start[2] = 107;
189  IECard_start[3] = 117;
190 
191  NEEt_start[0] = 120;
192  NEEt_start[1] = 130;
193  NEEt_start[2] = 140;
194  NEEt_start[3] = 150;
195 
196  NEReg_start[0] = 126;
197  NEReg_start[1] = 136;
198  NEReg_start[2] = 146;
199  NEReg_start[3] = 156;
200 
201  NECard_start[0] = 127;
202  NECard_start[1] = 137;
203  NECard_start[2] = 147;
204  NECard_start[3] = 157;
205 
206  RCHad_start[0][0] = 160;
207  RCHad_start[0][1] = 161;
208  RCHad_start[1][0] = 162;
209  RCHad_start[1][1] = 163;
210  RCHad_start[2][0] = 164;
211  RCHad_start[2][1] = 165;
212  RCHad_start[3][0] = 166;
213  RCHad_start[3][1] = 167;
214  RCHad_start[4][0] = 168;
215  RCHad_start[4][1] = 169;
216  RCHad_start[5][0] = 170;
217  RCHad_start[5][1] = 171;
218  RCHad_start[6][0] = 172;
219  RCHad_start[6][1] = 173;
220 }
l1t::rctDataBase::IECard
Definition: rctDataBase.h:12
l1t::rctDataBase::HFFg_start
int HFFg_start[8]
Definition: rctDataBase.h:19
l1t::rctDataBase::NEEt
Definition: rctDataBase.h:12
l1t::rctDataBase::IECard_start
int IECard_start[4]
Definition: rctDataBase.h:22
l1t::rctDataBase::IEEt
Definition: rctDataBase.h:12
l1t::rctDataBase::RCTau_start
int RCTau_start[7][2]
Definition: rctDataBase.h:16
l1t::rctDataBase::IEReg_start
int IEReg_start[4]
Definition: rctDataBase.h:21
l1t::rctDataBase::indexfromMP7toRCT
int indexfromMP7toRCT[36]
Definition: rctDataBase.h:31
rctDataBase.h
l1t::rctDataBase::length
int length[nObjects]
Definition: rctDataBase.h:28
l1t::rctDataBase::RCEt_start
int RCEt_start[7][2]
Definition: rctDataBase.h:15
l1t::rctDataBase::HFEt
Definition: rctDataBase.h:12
l1t::rctDataBase::link
int link[nObjects]
Definition: rctDataBase.h:30
l1t::rctDataBase::indexfromoRSCtoMP7
int indexfromoRSCtoMP7[36]
Definition: rctDataBase.h:32
l1t::rctDataBase::RCEt
Definition: rctDataBase.h:12
l1t::rctDataBase::HFEt_start
int HFEt_start[8]
Definition: rctDataBase.h:18
l1t::rctDataBase::IEReg
Definition: rctDataBase.h:12
l1t::rctDataBase::RCHad_start
int RCHad_start[7][2]
Definition: rctDataBase.h:26
l1t::rctDataBase::rctDataBase
rctDataBase()
Definition: rctDataBase.cc:3
l1t::rctDataBase::HFFg
Definition: rctDataBase.h:12
l1t::rctDataBase::RCOf
Definition: rctDataBase.h:12
l1t::rctDataBase::NEReg_start
int NEReg_start[4]
Definition: rctDataBase.h:24
l1t::rctDataBase::IEEt_start
int IEEt_start[4]
Definition: rctDataBase.h:20
l1t::rctDataBase::NECard_start
int NECard_start[4]
Definition: rctDataBase.h:25
l1t::rctDataBase::RCTau
Definition: rctDataBase.h:12
l1t::rctDataBase::RCOf_start
int RCOf_start[7][2]
Definition: rctDataBase.h:17
l1t::rctDataBase::NECard
Definition: rctDataBase.h:12
l1t::rctDataBase::NEReg
Definition: rctDataBase.h:12
l1t::rctDataBase::RCHad
Definition: rctDataBase.h:12
l1t::rctDataBase::NEEt_start
int NEEt_start[4]
Definition: rctDataBase.h:23