#include <HcalZSAlgoRealistic.h>
Public Member Functions | |
HcalZSAlgoRealistic (bool markAndPass, std::pair< int, int > HBsearchTS, std::pair< int, int > HEsearchTS, std::pair< int, int > HOsearchTS, std::pair< int, int > HFsearchTS) | |
HcalZSAlgoRealistic (bool markAndPass, int levelHB, int levelHE, int levelHO, int levelHF, std::pair< int, int > HBsearchTS, std::pair< int, int > HEsearchTS, std::pair< int, int > HOsearchTS, std::pair< int, int > HFsearchTS) | |
Public Member Functions inherited from HcalZeroSuppressionAlgo | |
void | clearDbService () |
void | setDbService (const HcalDbService *db) |
void | suppress (const HBHEDigiCollection &input, HBHEDigiCollection &output) |
void | suppress (const HODigiCollection &input, HODigiCollection &output) |
void | suppress (const HFDigiCollection &input, HFDigiCollection &output) |
Protected Member Functions | |
virtual bool | shouldKeep (const HBHEDataFrame &digi) const |
virtual bool | shouldKeep (const HODataFrame &digi) const |
virtual bool | shouldKeep (const HFDataFrame &digi) const |
Protected Member Functions inherited from HcalZeroSuppressionAlgo | |
HcalZeroSuppressionAlgo (bool markAndPass) | |
Private Member Functions | |
bool | keepMe (const HBHEDataFrame &inp, int start, int finish, int threshold, uint32_t hbhezsmask) const |
bool | keepMe (const HODataFrame &inp, int start, int finish, int threshold, uint32_t hozsmask) const |
bool | keepMe (const HFDataFrame &inp, int start, int finish, int threshold, uint32_t hfzsmask) const |
Private Attributes | |
std::pair< int, int > | HBsearchTS_ |
std::pair< int, int > | HEsearchTS_ |
std::pair< int, int > | HFsearchTS_ |
std::pair< int, int > | HOsearchTS_ |
int | thresholdHB_ |
int | thresholdHE_ |
int | thresholdHF_ |
int | thresholdHO_ |
bool | usingDBvalues |
Additional Inherited Members | |
Protected Attributes inherited from HcalZeroSuppressionAlgo | |
const HcalDbService * | m_dbService |
Simple amplitude-based zero suppression algorithm. For each digi, add up consecutive 2 samples in a slice of 10 time samples, beginning with (start) sample. If any of the sums are greater then the threshold, keep the event.
Definition at line 16 of file HcalZSAlgoRealistic.h.
HcalZSAlgoRealistic::HcalZSAlgoRealistic | ( | bool | markAndPass, |
std::pair< int, int > | HBsearchTS, | ||
std::pair< int, int > | HEsearchTS, | ||
std::pair< int, int > | HOsearchTS, | ||
std::pair< int, int > | HFsearchTS | ||
) |
Definition at line 18 of file HcalZSAlgoRealistic.cc.
References thresholdHB_, thresholdHE_, thresholdHF_, thresholdHO_, and usingDBvalues.
HcalZSAlgoRealistic::HcalZSAlgoRealistic | ( | bool | markAndPass, |
int | levelHB, | ||
int | levelHE, | ||
int | levelHO, | ||
int | levelHF, | ||
std::pair< int, int > | HBsearchTS, | ||
std::pair< int, int > | HEsearchTS, | ||
std::pair< int, int > | HOsearchTS, | ||
std::pair< int, int > | HFsearchTS | ||
) |
Definition at line 4 of file HcalZSAlgoRealistic.cc.
References usingDBvalues.
|
private |
Definition at line 37 of file HcalZSAlgoRealistic.cc.
References HcalDbService::getHcalZSThreshold(), i, HBHEDataFrame::id(), j, HcalZeroSuppressionAlgo::m_dbService, and usingDBvalues.
Referenced by shouldKeep().
|
private |
Definition at line 60 of file HcalZSAlgoRealistic.cc.
References HcalDbService::getHcalZSThreshold(), i, HODataFrame::id(), j, HcalZeroSuppressionAlgo::m_dbService, and usingDBvalues.
|
private |
Definition at line 83 of file HcalZSAlgoRealistic.cc.
References HcalDbService::getHcalZSThreshold(), i, HFDataFrame::id(), j, HcalZeroSuppressionAlgo::m_dbService, and usingDBvalues.
|
protectedvirtual |
Implements HcalZeroSuppressionAlgo.
Definition at line 106 of file HcalZSAlgoRealistic.cc.
References HBsearchTS_, HcalBarrel, HEsearchTS_, HBHEDataFrame::id(), keepMe(), max(), min, HBHEDataFrame::size(), dqm_diff::start, HcalDetId::subdet(), thresholdHB_, thresholdHE_, and HBHEDataFrame::zsCrossingMask().
|
protectedvirtual |
Implements HcalZeroSuppressionAlgo.
Definition at line 133 of file HcalZSAlgoRealistic.cc.
References HOsearchTS_, keepMe(), max(), min, HODataFrame::size(), dqm_diff::start, thresholdHO_, and HODataFrame::zsCrossingMask().
|
protectedvirtual |
Implements HcalZeroSuppressionAlgo.
Definition at line 140 of file HcalZSAlgoRealistic.cc.
References HFsearchTS_, keepMe(), max(), min, HFDataFrame::size(), dqm_diff::start, thresholdHF_, and HFDataFrame::zsCrossingMask().
|
private |
Definition at line 28 of file HcalZSAlgoRealistic.h.
Referenced by shouldKeep().
|
private |
Definition at line 28 of file HcalZSAlgoRealistic.h.
Referenced by shouldKeep().
|
private |
Definition at line 28 of file HcalZSAlgoRealistic.h.
Referenced by shouldKeep().
|
private |
Definition at line 28 of file HcalZSAlgoRealistic.h.
Referenced by shouldKeep().
|
private |
Definition at line 27 of file HcalZSAlgoRealistic.h.
Referenced by HcalZSAlgoRealistic(), and shouldKeep().
|
private |
Definition at line 27 of file HcalZSAlgoRealistic.h.
Referenced by HcalZSAlgoRealistic(), and shouldKeep().
|
private |
Definition at line 27 of file HcalZSAlgoRealistic.h.
Referenced by HcalZSAlgoRealistic(), and shouldKeep().
|
private |
Definition at line 27 of file HcalZSAlgoRealistic.h.
Referenced by HcalZSAlgoRealistic(), and shouldKeep().
|
private |
Definition at line 26 of file HcalZSAlgoRealistic.h.
Referenced by HcalZSAlgoRealistic(), and keepMe().