Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:10:48

0001 #include "rctDataBase.h"
0002 
0003 l1t::rctDataBase::rctDataBase() {
0004   length[RCEt] = 10;
0005   length[RCTau] = 1;
0006   length[RCOf] = 1;
0007   length[HFEt] = 8;
0008   length[HFFg] = 1;
0009   length[IEEt] = 6;
0010   length[IEReg] = 1;
0011   length[IECard] = 3;
0012   length[NEEt] = 6;
0013   length[NEReg] = 1;
0014   length[NECard] = 3;
0015   length[RCHad] = 1;
0016 
0017   link[RCEt] = 0;
0018   link[RCTau] = 0;
0019   link[RCOf] = 0;
0020   link[HFEt] = 1;
0021   link[HFFg] = 1;
0022   link[IEEt] = 1;
0023   link[IEReg] = 1;
0024   link[IECard] = 1;
0025   link[NEEt] = 1;
0026   link[NEReg] = 1;
0027   link[NECard] = 1;
0028   link[RCHad] = 1;
0029 
0030   indexfromMP7toRCT[0] = 0;
0031   indexfromMP7toRCT[1] = 1;
0032   indexfromMP7toRCT[2] = 18;
0033   indexfromMP7toRCT[3] = 19;
0034   indexfromMP7toRCT[4] = 16;
0035   indexfromMP7toRCT[5] = 17;
0036   indexfromMP7toRCT[6] = 34;
0037   indexfromMP7toRCT[7] = 35;
0038   indexfromMP7toRCT[8] = 2;
0039   indexfromMP7toRCT[9] = 3;
0040   indexfromMP7toRCT[10] = 20;
0041   indexfromMP7toRCT[11] = 21;
0042   indexfromMP7toRCT[12] = 14;
0043   indexfromMP7toRCT[13] = 15;
0044   indexfromMP7toRCT[14] = 32;
0045   indexfromMP7toRCT[15] = 33;
0046   indexfromMP7toRCT[16] = 4;
0047   indexfromMP7toRCT[17] = 5;
0048   indexfromMP7toRCT[18] = 22;
0049   indexfromMP7toRCT[19] = 23;
0050   indexfromMP7toRCT[20] = 12;
0051   indexfromMP7toRCT[21] = 13;
0052   indexfromMP7toRCT[22] = 30;
0053   indexfromMP7toRCT[23] = 31;
0054   indexfromMP7toRCT[24] = 6;
0055   indexfromMP7toRCT[25] = 7;
0056   indexfromMP7toRCT[26] = 24;
0057   indexfromMP7toRCT[27] = 25;
0058   indexfromMP7toRCT[28] = 10;
0059   indexfromMP7toRCT[29] = 11;
0060   indexfromMP7toRCT[30] = 28;
0061   indexfromMP7toRCT[31] = 29;
0062   indexfromMP7toRCT[32] = 8;
0063   indexfromMP7toRCT[33] = 9;
0064   indexfromMP7toRCT[34] = 26;
0065   indexfromMP7toRCT[35] = 27;
0066 
0067   indexfromoRSCtoMP7[0] = 0;
0068   indexfromoRSCtoMP7[1] = 1;
0069   indexfromoRSCtoMP7[2] = 8;
0070   indexfromoRSCtoMP7[3] = 9;
0071   indexfromoRSCtoMP7[4] = 16;
0072   indexfromoRSCtoMP7[5] = 17;
0073   indexfromoRSCtoMP7[6] = 24;
0074   indexfromoRSCtoMP7[7] = 25;
0075   indexfromoRSCtoMP7[8] = 32;
0076   indexfromoRSCtoMP7[9] = 33;
0077   indexfromoRSCtoMP7[10] = 28;
0078   indexfromoRSCtoMP7[11] = 29;
0079   indexfromoRSCtoMP7[12] = 20;
0080   indexfromoRSCtoMP7[13] = 21;
0081   indexfromoRSCtoMP7[14] = 12;
0082   indexfromoRSCtoMP7[15] = 13;
0083   indexfromoRSCtoMP7[16] = 4;
0084   indexfromoRSCtoMP7[17] = 5;
0085   indexfromoRSCtoMP7[18] = 2;
0086   indexfromoRSCtoMP7[19] = 3;
0087   indexfromoRSCtoMP7[20] = 10;
0088   indexfromoRSCtoMP7[21] = 11;
0089   indexfromoRSCtoMP7[22] = 18;
0090   indexfromoRSCtoMP7[23] = 19;
0091   indexfromoRSCtoMP7[24] = 26;
0092   indexfromoRSCtoMP7[25] = 27;
0093   indexfromoRSCtoMP7[26] = 34;
0094   indexfromoRSCtoMP7[27] = 35;
0095   indexfromoRSCtoMP7[28] = 30;
0096   indexfromoRSCtoMP7[29] = 31;
0097   indexfromoRSCtoMP7[30] = 22;
0098   indexfromoRSCtoMP7[31] = 23;
0099   indexfromoRSCtoMP7[32] = 14;
0100   indexfromoRSCtoMP7[33] = 15;
0101   indexfromoRSCtoMP7[34] = 6;
0102   indexfromoRSCtoMP7[35] = 7;
0103 
0104   RCEt_start[0][0] = 8;
0105   RCEt_start[0][1] = 18;
0106   RCEt_start[1][0] = 28;
0107   RCEt_start[1][1] = 38;
0108   RCEt_start[2][0] = 48;
0109   RCEt_start[2][1] = 58;
0110   RCEt_start[3][0] = 68;
0111   RCEt_start[3][1] = 78;
0112   RCEt_start[4][0] = 88;
0113   RCEt_start[4][1] = 98;
0114   RCEt_start[5][0] = 108;
0115   RCEt_start[5][1] = 118;
0116   RCEt_start[6][0] = 128;
0117   RCEt_start[6][1] = 138;
0118 
0119   RCTau_start[0][0] = 148;
0120   RCTau_start[0][1] = 149;
0121   RCTau_start[1][0] = 150;
0122   RCTau_start[1][1] = 151;
0123   RCTau_start[2][0] = 152;
0124   RCTau_start[2][1] = 153;
0125   RCTau_start[3][0] = 154;
0126   RCTau_start[3][1] = 155;
0127   RCTau_start[4][0] = 156;
0128   RCTau_start[4][1] = 157;
0129   RCTau_start[5][0] = 158;
0130   RCTau_start[5][1] = 159;
0131   RCTau_start[6][0] = 160;
0132   RCTau_start[6][1] = 161;
0133 
0134   RCOf_start[0][0] = 162;
0135   RCOf_start[0][1] = 163;
0136   RCOf_start[1][0] = 164;
0137   RCOf_start[1][1] = 165;
0138   RCOf_start[2][0] = 166;
0139   RCOf_start[2][1] = 167;
0140   RCOf_start[3][0] = 168;
0141   RCOf_start[3][1] = 169;
0142   RCOf_start[4][0] = 170;
0143   RCOf_start[4][1] = 171;
0144   RCOf_start[5][0] = 172;
0145   RCOf_start[5][1] = 173;
0146   RCOf_start[6][0] = 174;
0147   RCOf_start[6][1] = 175;
0148 
0149   //calo object index 0= ,order in the cable=  0  ,bits= 8,72
0150   //calo object index 1= ,order in the cable=  1  ,bits= 16,73
0151   //calo object index 2= ,order in the cable=  4  ,bits= 40,76
0152   //calo object index 3= ,order in the cable=  5  ,bits= 48,77
0153   //calo object index 4= ,order in the cable=  2  ,bits= 24,74
0154   //calo object index 5= ,order in the cable=  3  ,bits= 32,75
0155   //calo object index 6= ,order in the cable=  6  ,bits= 56,78
0156   //calo object index 7= ,order in the cable=  7  ,bits= 64,79
0157 
0158   HFEt_start[0] = 8;
0159   HFEt_start[1] = 16;
0160   HFEt_start[2] = 40;
0161   HFEt_start[3] = 48;
0162   HFEt_start[4] = 24;
0163   HFEt_start[5] = 32;
0164   HFEt_start[6] = 56;
0165   HFEt_start[7] = 64;
0166 
0167   HFFg_start[0] = 72;
0168   HFFg_start[1] = 73;
0169   HFFg_start[2] = 76;
0170   HFFg_start[3] = 77;
0171   HFFg_start[4] = 74;
0172   HFFg_start[5] = 75;
0173   HFFg_start[6] = 78;
0174   HFFg_start[7] = 79;
0175 
0176   IEEt_start[0] = 80;
0177   IEEt_start[1] = 90;
0178   IEEt_start[2] = 100;
0179   IEEt_start[3] = 110;
0180 
0181   IEReg_start[0] = 86;
0182   IEReg_start[1] = 96;
0183   IEReg_start[2] = 106;
0184   IEReg_start[3] = 116;
0185 
0186   IECard_start[0] = 87;
0187   IECard_start[1] = 97;
0188   IECard_start[2] = 107;
0189   IECard_start[3] = 117;
0190 
0191   NEEt_start[0] = 120;
0192   NEEt_start[1] = 130;
0193   NEEt_start[2] = 140;
0194   NEEt_start[3] = 150;
0195 
0196   NEReg_start[0] = 126;
0197   NEReg_start[1] = 136;
0198   NEReg_start[2] = 146;
0199   NEReg_start[3] = 156;
0200 
0201   NECard_start[0] = 127;
0202   NECard_start[1] = 137;
0203   NECard_start[2] = 147;
0204   NECard_start[3] = 157;
0205 
0206   RCHad_start[0][0] = 160;
0207   RCHad_start[0][1] = 161;
0208   RCHad_start[1][0] = 162;
0209   RCHad_start[1][1] = 163;
0210   RCHad_start[2][0] = 164;
0211   RCHad_start[2][1] = 165;
0212   RCHad_start[3][0] = 166;
0213   RCHad_start[3][1] = 167;
0214   RCHad_start[4][0] = 168;
0215   RCHad_start[4][1] = 169;
0216   RCHad_start[5][0] = 170;
0217   RCHad_start[5][1] = 171;
0218   RCHad_start[6][0] = 172;
0219   RCHad_start[6][1] = 173;
0220 }