CMS 3D CMS Logo

HcalZeroSuppressionAlgo.h
Go to the documentation of this file.
1 #ifndef SimCalorimetry_HcalZeroSuppressionAlgos_HCALZEROSUPPESSIONALGO_H
2 #define SimCalorimetry_HcalZeroSuppressionAlgos_HCALZEROSUPPESSIONALGO_H 1
3 
7 
13 class HcalDbService;
14 
16 public:
17  virtual ~HcalZeroSuppressionAlgo() = default;
23  virtual bool shouldKeep(const HBHEDataFrame &digi) const = 0;
24  virtual bool shouldKeep(const HODataFrame &digi) const = 0;
25  virtual bool shouldKeep(const HFDataFrame &digi) const = 0;
26  virtual bool shouldKeep(const QIE10DataFrame &digi) const = 0;
27  virtual bool shouldKeep(const QIE11DataFrame &digi) const = 0;
29  void clearDbService() { m_dbService = nullptr; }
30  // template <class DIGI> bool keepMe(const DIGI& inp, int threshold);
31 
32 protected:
35 
36 private:
38 };
39 
40 #endif
HcalZeroSuppressionAlgo::shouldKeep
virtual bool shouldKeep(const HBHEDataFrame &digi) const =0
input
static const std::string input
Definition: EdmProvDump.cc:48
HcalDataFrameContainer
Definition: HcalDigiCollections.h:35
convertSQLitetoXML_cfg.output
output
Definition: convertSQLitetoXML_cfg.py:32
edm::SortedCollection
Definition: SortedCollection.h:49
HcalZeroSuppressionAlgo
Definition: HcalZeroSuppressionAlgo.h:15
dqmiodatasetharvest.db
db
Definition: dqmiodatasetharvest.py:119
HcalDigiCollections.h
DigiNZS_cff.markAndPass
markAndPass
Definition: DigiNZS_cff.py:6
HcalDbRecord.h
HBHEDataFrame
Definition: HBHEDataFrame.h:14
HFDataFrame
Definition: HFDataFrame.h:14
HcalZeroSuppressionAlgo::clearDbService
void clearDbService()
Definition: HcalZeroSuppressionAlgo.h:29
HcalZeroSuppressionAlgo::m_markAndPass
bool m_markAndPass
Definition: HcalZeroSuppressionAlgo.h:37
HcalZeroSuppressionAlgo::HcalZeroSuppressionAlgo
HcalZeroSuppressionAlgo(bool markAndPass)
Definition: HcalZeroSuppressionAlgo.cc:3
HcalDbService
Definition: HcalDbService.h:26
QIE10DataFrame
Definition: QIE10DataFrame.h:11
HODataFrame
Definition: HODataFrame.h:14
QIE11DataFrame
Definition: QIE11DataFrame.h:11
HcalZeroSuppressionAlgo::~HcalZeroSuppressionAlgo
virtual ~HcalZeroSuppressionAlgo()=default
HcalDbService.h
HcalZeroSuppressionAlgo::setDbService
void setDbService(const HcalDbService *db)
Definition: HcalZeroSuppressionAlgo.h:28
HcalZeroSuppressionAlgo::m_dbService
const HcalDbService * m_dbService
Definition: HcalZeroSuppressionAlgo.h:34
HcalZeroSuppressionAlgo::suppress
void suppress(const HBHEDigiCollection &input, HBHEDigiCollection &output)
Definition: HcalZeroSuppressionAlgo.cc:5