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:
18  void suppress(const HODigiCollection& input, HODigiCollection& output);
19  void suppress(const HFDigiCollection& input, HFDigiCollection& output);
20  void suppress(const QIE10DigiCollection& input, QIE10DigiCollection& output);
21  void suppress(const QIE11DigiCollection& input, QIE11DigiCollection& output);
22  virtual bool shouldKeep(const HBHEDataFrame& digi) const = 0;
23  virtual bool shouldKeep(const HODataFrame& digi) const = 0;
24  virtual bool shouldKeep(const HFDataFrame& digi) const = 0;
25  virtual bool shouldKeep(const QIE10DataFrame& digi) const = 0;
26  virtual bool shouldKeep(const QIE11DataFrame& digi) const = 0;
27  void setDbService(const HcalDbService* db) { m_dbService=db; }
29  // template <class DIGI> bool keepMe(const DIGI& inp, int threshold);
30 
31 protected:
34 
35 private:
37 };
38 
39 #endif
const HcalDbService * m_dbService
void suppress(const HBHEDigiCollection &input, HBHEDigiCollection &output)
static std::string const input
Definition: EdmProvDump.cc:44
HcalZeroSuppressionAlgo(bool markAndPass)
virtual bool shouldKeep(const HBHEDataFrame &digi) const =0
void setDbService(const HcalDbService *db)