Go to the documentation of this file.
10 std::pair<int, int> HBsearchTS,
11 std::pair<int, int> HEsearchTS,
12 std::pair<int, int> HOsearchTS,
13 std::pair<int, int> HFsearchTS)
16 thresholdHB_(levelHB),
17 thresholdHE_(levelHE),
18 thresholdHO_(levelHO),
19 thresholdHF_(levelHF),
20 HBsearchTS_(HBsearchTS),
21 HEsearchTS_(HEsearchTS),
22 HOsearchTS_(HOsearchTS),
23 HFsearchTS_(HFsearchTS) {
29 std::pair<int, int> HBsearchTS,
30 std::pair<int, int> HEsearchTS,
31 std::pair<int, int> HOsearchTS,
32 std::pair<int, int> HFsearchTS)
35 HBsearchTS_(HBsearchTS),
36 HEsearchTS_(HEsearchTS),
37 HOsearchTS_(HOsearchTS),
38 HFsearchTS_(HFsearchTS) {
53 for (
int i =
start;
i < finish;
i++) {
54 if ((zsmask & (1 <<
i)) != 0)
65 bool HcalZSAlgoRealistic::keepMe<QIE10DataFrame>(
72 for (
int i =
start;
i < finish;
i++) {
80 bool HcalZSAlgoRealistic::keepMe<QIE11DataFrame>(
87 for (
int i =
start;
i < finish;
i++) {
88 int sum = inp[
i].adc();
90 sum += inp[
i + 1].adc();
constexpr uint32_t zsCrossingMask() const
zs crossing mask (which sums considered)
std::pair< int, int > HFsearchTS_
constexpr int samples() const
total number of samples in the digi
uint16_t *__restrict__ uint16_t const *__restrict__ adc
std::pair< int, int > HOsearchTS_
bool keepMe(const Digi &inp, int start, int finish, int threshold, uint32_t zsmask) const
constexpr uint32_t zsCrossingMask() const
zs crossing mask (which sums considered)
const HcalZSThreshold * getHcalZSThreshold(const HcalGenericDetId &fId) const
constexpr int samples() const
total number of samples in the digi
bool shouldKeep(const HBHEDataFrame &digi) const override
constexpr int size() const
total number of samples in the digi
constexpr edm::DataFrame::id_type id() const
constexpr HcalSubdetector subdet() const
get the subdetector
constexpr int size() const
total number of samples in the digi
std::pair< int, int > HEsearchTS_
constexpr uint32_t zsCrossingMask() const
zs crossing mask (which sums considered)
HcalZSAlgoRealistic(bool markAndPass, bool use1ts, std::pair< int, int > HBsearchTS, std::pair< int, int > HEsearchTS, std::pair< int, int > HOsearchTS, std::pair< int, int > HFsearchTS)
constexpr const HcalDetId & id() const
constexpr int size() const
total number of samples in the digi
std::pair< int, int > HBsearchTS_
constexpr edm::DataFrame::id_type id() const
const HcalDbService * m_dbService