#include <HcalFinegrainBit.h>
Public Types | |
typedef std::array< std::bitset< 6 >, 2 > | Tower |
typedef std::array< std::pair< std::pair< int, bool >, std::pair< int, int > >, 7 > | TowerTDC |
Public Member Functions | |
std::bitset< 2 > | compute (const Tower &) const |
std::bitset< 6 > | compute (const TowerTDC &, const HcalTrigTowerDetId &) const |
HcalFinegrainBit (int version) | |
Private Attributes | |
const int | is_above_mip = 1 |
const int | is_mip = 0 |
const int | tdc_boundary [29][7] |
int | version_ |
Definition at line 8 of file HcalFinegrainBit.h.
typedef std::array<std::bitset<6>, 2> HcalFinegrainBit::Tower |
Definition at line 12 of file HcalFinegrainBit.h.
typedef std::array<std::pair<std::pair<int, bool>, std::pair<int, int> >, 7> HcalFinegrainBit::TowerTDC |
Definition at line 14 of file HcalFinegrainBit.h.
|
inline |
Definition at line 16 of file HcalFinegrainBit.h.
std::bitset< 2 > HcalFinegrainBit::compute | ( | const Tower & | tower | ) | const |
Definition at line 5 of file HcalFinegrainBit.cc.
References is_above_mip, is_mip, mps_fire::result, l1tHGCalTowerProducer_cfi::tower, and version_.
Referenced by HcalTriggerPrimitiveAlgo::analyzeQIE11().
std::bitset< 6 > HcalFinegrainBit::compute | ( | const TowerTDC & | tower, |
const HcalTrigTowerDetId & | id | ||
) | const |
Definition at line 44 of file HcalFinegrainBit.cc.
References funct::abs(), mps_fire::i, gmtKMTFMuons_cfi::Nprompt, mps_fire::result, tdc_boundary, and l1tHGCalTowerProducer_cfi::tower.
|
private |
Definition at line 24 of file HcalFinegrainBit.h.
Referenced by compute().
|
private |
Definition at line 23 of file HcalFinegrainBit.h.
Referenced by compute().
|
private |
Definition at line 29 of file HcalFinegrainBit.h.
Referenced by compute().
|
private |
Definition at line 26 of file HcalFinegrainBit.h.
Referenced by compute().