35 for (
int ibx = -1; ibx <= 1; ibx++) {
42 int psb_ett = psb2.
aData(4);
43 int ett_rank = psb_ett & 0xfff;
47 int psb_htt = psb2.
bData(4);
48 int htt_rank = psb_htt & 0xfff;
52 int psb_etmis = psb2.
aData(5);
53 int etmis_rank = psb_etmis & 0xfff;
54 int psb_etmis_phi = psb2.
bData(5) & 0x7F;
59 int psb_htmis = psb2.
aData(3);
60 int htmis_rank = (psb_htmis >> 5) & 0x7f;
61 int htmis_phi = psb_htmis & 0x1F;
69 std::vector<int> psbel;
70 psbel.push_back(psb.
aData(4));
71 psbel.push_back(psb.
aData(5));
72 psbel.push_back(psb.
bData(4));
73 psbel.push_back(psb.
bData(5));
74 std::vector<int>::const_iterator ipsbel;
75 for (ipsbel = psbel.begin(); ipsbel != psbel.end(); ipsbel++) {
76 float rank = (*ipsbel) & 0x3f;
80 gt_.
Phiel.push_back(((*ipsbel) >> 10) & 0x1f);
81 gt_.
Etael.push_back((((*ipsbel >> 9) & 1) ? 10 - (((*ipsbel) >> 6) & 7) : (((*ipsbel) >> 6) & 7) + 11));
86 psbel.push_back(psb.
aData(6));
87 psbel.push_back(psb.
aData(7));
88 psbel.push_back(psb.
bData(6));
89 psbel.push_back(psb.
bData(7));
90 for (ipsbel = psbel.begin(); ipsbel != psbel.end(); ipsbel++) {
91 float rank = (*ipsbel) & 0x3f;
95 gt_.
Phiel.push_back(((*ipsbel) >> 10) & 0x1f);
96 gt_.
Etael.push_back((((*ipsbel >> 9) & 1) ? 10 - (((*ipsbel) >> 6) & 7) : (((*ipsbel) >> 6) & 7) + 11));
102 std::vector<int> psbjet;
103 psbjet.push_back(psb.
aData(2));
104 psbjet.push_back(psb.
aData(3));
105 psbjet.push_back(psb.
bData(2));
106 psbjet.push_back(psb.
bData(3));
107 std::vector<int>::const_iterator ipsbjet;
108 for (ipsbjet = psbjet.begin(); ipsbjet != psbjet.end(); ipsbjet++) {
109 float rank = (*ipsbjet) & 0x3f;
113 gt_.
Phijet.push_back(((*ipsbjet) >> 10) & 0x1f);
114 gt_.
Etajet.push_back((((*ipsbjet >> 9) & 1) ? 10 - (((*ipsbjet) >> 6) & 7) : (((*ipsbjet) >> 6) & 7) + 11));
122 psbjet.push_back(psb2.
aData(6));
123 psbjet.push_back(psb2.
aData(7));
124 psbjet.push_back(psb2.
bData(6));
125 psbjet.push_back(psb2.
bData(7));
126 for (ipsbjet = psbjet.begin(); ipsbjet != psbjet.end(); ipsbjet++) {
127 float rank = (*ipsbjet) & 0x3f;
131 gt_.
Phijet.push_back(((*ipsbjet) >> 10) & 0x1f);
132 gt_.
Etajet.push_back((((*ipsbjet >> 9) & 1) ? 10 - (((*ipsbjet) >> 6) & 7) : (((*ipsbjet) >> 6) & 7) + 11));
140 psbjet.push_back(psb.
aData(0));
141 psbjet.push_back(psb.
aData(1));
142 psbjet.push_back(psb.
bData(0));
143 psbjet.push_back(psb.
bData(1));
144 for (ipsbjet = psbjet.begin(); ipsbjet != psbjet.end(); ipsbjet++) {
145 float rank = (*ipsbjet) & 0x3f;
149 gt_.
Phijet.push_back(((*ipsbjet) >> 10) & 0x1f);
150 gt_.
Etajet.push_back((((*ipsbjet >> 9) & 1) ? 3 - (((*ipsbjet) >> 6) & 7) : (((*ipsbjet) >> 6) & 7) + 18));
166 for (
int iebx = 0; iebx < 5; iebx++) {
171 DecisionWord::const_iterator GTdbitItr;
172 for (GTdbitItr = gtDecisionWord.begin(); GTdbitItr != gtDecisionWord.end(); GTdbitItr++) {
174 if (dbitNumber < 64) {
175 gt_.
tw1[iebx] |= (1LL << dbitNumber);
177 gt_.
tw2[iebx] |= (1LL << (dbitNumber - 64));
185 TechnicalTriggerWord::const_iterator GTtbitItr;
186 for (GTtbitItr = gtTTWord.begin(); GTtbitItr != gtTTWord.end(); GTtbitItr++) {
188 gt_.
tt[iebx] |= (1LL << dbitNumber);
const cms_uint16_t bData(int iB) const
get/set B_DATA_CH_IB
const TechnicalTriggerWord & technicalTriggerWord(int bxInEventValue) const
const cms_uint16_t aData(int iA) const
get/set A_DATA_CH_IA
std::vector< bool > DecisionWord
typedefs
std::vector< bool > TechnicalTriggerWord
technical trigger bits (64 bits)
const L1GtPsbWord gtPsbWord(cms_uint16_t boardIdValue, int bxInEventValue) const
get / set PSB word (record) in the GT readout record
const DecisionWord & decisionWord(int bxInEventValue) const
const L1GtFdlWord gtFdlWord(int bxInEventValue) const
get / set FDL word (record) in the GT readout record
L1AnalysisGTDataFormat gt_