12 : tcpFormat_(tcpFormat),
debug_(debug), famos_(famos), binOfMax_(binOfMax) {
20 std::vector<int> &Et_odd_sum,
21 std::vector<int> &fgvb,
22 std::vector<int> &sfgvb,
24 std::vector<EcalTriggerPrimitiveSample> &
out,
25 std::vector<EcalTriggerPrimitiveSample> &out2) {
32 for (
unsigned int i = 0;
i < out.size(); ++
i) {
34 myEt = Et_even_sum[
i] >> eTTotShift;
44 lut_out = (
lut_)[myEt];
46 int ttFlag = (lut_out & 0x700) >> 8;
47 myEt = lut_out & 0xff;
53 for (
unsigned int i = 0;
i < Et_even_sum.size(); ++
i) {
55 int mysFgvb = sfgvb[
i];
56 bool is_odd_larger =
false;
59 if (Et_odd_sum[
i] > Et_even_sum[
i]) {
65 myEt = Et_even_sum[
i];
68 if (Et_odd_sum[i] > Et_even_sum[i]) {
71 myEt = Et_even_sum[
i];
75 myEt = Et_even_sum[
i] + Et_odd_sum[
i];
79 myEt = Et_even_sum[
i];
84 int infobit1 = myFgvb;
86 infobit1 = is_odd_larger;
103 lut_out = (
lut_)[myEt];
105 int ttFlag = (lut_out & 0x700) >> 8;
109 myEt = lut_out & 0xff;
124 if (ecaltpgSpike !=
nullptr) {
127 if (sit != spikeMap.end()) {
134 if (it != groupmap.end()) {
135 uint32_t lutid = (*it).second;
138 if (itl != lutmap.end()) {
139 lut_ = (*itl).second.getLut();
141 edm::LogWarning(
"EcalTPG") <<
" could not find EcalTPGLutMap for " << lutid;
144 edm::LogWarning(
"EcalTPG") <<
" could not find EcalTPGFineGrainTowerEEMap for " << towid;
148 if (itbadTT != badTTMap.end()) {
std::map< uint32_t, uint16_t >::const_iterator EcalTPGTowerStatusMapIterator
uint16_t EBFenixTcpInfobit1
std::map< uint32_t, uint16_t > EcalTPGTowerStatusMap
const EcalTPGGroupsMap & getMap() const
uint16_t EBFenixTcpOutput
std::map< uint32_t, uint32_t >::const_iterator EcalTPGGroupsMapItr
std::map< uint32_t, uint16_t >::const_iterator EcalTPGSpikeMapIterator
const EcalTPGLutMap & getMap() const
const std::map< uint32_t, uint16_t > & getMap() const
std::map< uint32_t, EcalTPGLut > EcalTPGLutMap
std::map< uint32_t, uint16_t > EcalTPGSpikeMap
Log< level::Warning, false > LogWarning
std::map< uint32_t, uint32_t > EcalTPGGroupsMap
std::map< uint32_t, EcalTPGLut >::const_iterator EcalTPGLutMapItr
const std::map< uint32_t, uint16_t > & getMap() const