15 rctLookupTables_(rctLookupTables),
17 nonisolatedEGObjects(4),
31 for (
int i = 0;
i < 8;
i++) {
42 for (
int i = 0;
i < 4;
i++) {
78 for (
int i = 0;
i < 4;
i++) {
89 std::vector<unsigned short> isoCards03(8);
90 std::vector<unsigned short> isoCards46(8);
91 std::vector<unsigned short> sortIso(8);
93 for (
int i = 0;
i < 8;
i++) {
94 isoCards03.at(
i) = isoElectrons.at(
i);
96 for (
int i = 0;
i < 6;
i++) {
97 isoCards46.at(
i) = isoElectrons.at(
i + 8);
100 isoCards46.at(7) = 0;
105 sortIso.at(0) = isoCards03.at(0);
106 sortIso.at(2) = isoCards03.at(2);
107 sortIso.at(4) = isoCards03.at(4);
108 sortIso.at(6) = isoCards03.at(6);
109 sortIso.at(1) = isoCards46.at(0);
110 sortIso.at(3) = isoCards46.at(2);
111 sortIso.at(5) = isoCards46.at(4);
112 sortIso.at(7) = isoCards46.at(6);
130 std::vector<unsigned short> nonIsoCards03(8);
131 std::vector<unsigned short> nonIsoCards46(8);
132 std::vector<unsigned short> sortNonIso(8);
134 for (
int i = 0;
i < 8;
i++) {
135 nonIsoCards03.at(
i) = nonIsoElectrons.at(
i);
137 for (
int i = 0;
i < 6;
i++) {
138 nonIsoCards46.at(
i) = nonIsoElectrons.at(
i + 8);
140 nonIsoCards46.at(6) = 0;
141 nonIsoCards46.at(7) = 0;
146 sortNonIso.at(0) = nonIsoCards03.at(0);
147 sortNonIso.at(2) = nonIsoCards03.at(2);
148 sortNonIso.at(4) = nonIsoCards03.at(4);
149 sortNonIso.at(6) = nonIsoCards03.at(6);
150 sortNonIso.at(1) = nonIsoCards46.at(0);
151 sortNonIso.at(3) = nonIsoCards46.at(2);
152 sortNonIso.at(5) = nonIsoCards46.at(4);
153 sortNonIso.at(7) = nonIsoCards46.at(6);
169 for (
int i = 0;
i < 14;
i++)
176 for (
int i = 0;
i < 14;
i++)
182 bitset<14> overflows;
183 for (
int i = 0;
i < 14;
i++)
184 overflows[
i] = overflow.at(
i);
195 for (
int i = 0;
i < 8;
i++) {
202 for (
int i = 8;
i < 14;
i++) {
214 unsigned short temp, temp2;
260 for (
i = 0;
i < 4;
i++) {
277 for (
int i = 0;
i < 4;
i++) {
283 for (
int i = 0;
i < 22;
i++)
unsigned short overFlowBits
void fillIsolatedEGObjects(const std::vector< unsigned short > &isoElectrons)
std::vector< unsigned short > nonisolatedEGObjects
unsigned int lookup(unsigned short ecalInput, unsigned short hcalInput, unsigned short fgbit, unsigned short crtNo, unsigned short crdNo, unsigned short twrNo) const
std::vector< unsigned short > isolatedEGObjects
std::vector< unsigned short > HFRegions
void asicCompare(std::vector< unsigned short > &array)
void fillOverFlowBits(const std::vector< unsigned short > &overflow)
void fillHFRegionSums(const std::vector< unsigned short > &hfRegionSums)
std::vector< unsigned short > jetRegions
unsigned quietThresholdEndcap
std::vector< unsigned short > barrelRegions
unsigned quietThresholdBarrel
const L1RCTParameters * rctParameters() const
void fillTauBits(const std::vector< unsigned short > &tau)
unsigned jscQuietThresholdBarrel() const
void asicSort(std::vector< unsigned short > &electrons)
std::vector< unsigned short > hfFineGrainBits
void fillNonIsolatedEGObjects(const std::vector< unsigned short > &nonIsoElectrons)
void fillMIPBits(const std::vector< unsigned short > &mip)
L1RCTJetSummaryCard()=delete
unsigned jscQuietThresholdEndcap() const
unsigned int emRank(unsigned short energy) const
const L1RCTLookupTables * rctLookupTables_