CMS 3D CMS Logo

HcalZeroSuppressionAlgo.h
Go to the documentation of this file.
1 #ifndef SimCalorimetry_HcalZeroSuppressionProducers_HCALZEROSUPPESSIONALGO_H
2 #define SimCalorimetry_HcalZeroSuppressionProducers_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
const HcalDbService * m_dbService
void suppress(const HBHEDigiCollection &input, HBHEDigiCollection &output)
static std::string const input
Definition: EdmProvDump.cc:47
virtual ~HcalZeroSuppressionAlgo()=default
HcalZeroSuppressionAlgo(bool markAndPass)
void setDbService(const HcalDbService *db)
virtual bool shouldKeep(const HBHEDataFrame &digi) const =0