CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
HcalZSAlgoRealistic.h
Go to the documentation of this file.
1 #ifndef SIMCALORIMETRY_HCALZEROSUPPRESSIONPRODUCERS_HCALZSALGOREALISTIC_H
2 #define SIMCALORIMETRY_HCALZEROSUPPRESSIONPRODUCERS_HCALZSALGOREALISTIC_H 1
3 
5 
18 public:
20  bool use1ts,
21  std::pair<int, int> HBsearchTS,
22  std::pair<int, int> HEsearchTS,
23  std::pair<int, int> HOsearchTS,
24  std::pair<int, int> HFsearchTS);
25  HcalZSAlgoRealistic(bool markAndPass,
26  bool use1ts,
27  int levelHB,
28  int levelHE,
29  int levelHO,
30  int levelHF,
31  std::pair<int, int> HBsearchTS,
32  std::pair<int, int> HEsearchTS,
33  std::pair<int, int> HOsearchTS,
34  std::pair<int, int> HFsearchTS);
35  ~HcalZSAlgoRealistic() override = default;
36 
37 protected:
38  // these need to be overloads instead of templates to avoid linking issues
39  // when calling private member function templates
40  bool shouldKeep(const HBHEDataFrame &digi) const override;
41  bool shouldKeep(const HODataFrame &digi) const override;
42  bool shouldKeep(const HFDataFrame &digi) const override;
43  bool shouldKeep(const QIE10DataFrame &digi) const override;
44  bool shouldKeep(const QIE11DataFrame &digi) const override;
45 
46 private:
50  template <class Digi>
51  bool keepMe(const Digi &inp, int start, int finish, int threshold, uint32_t zsmask) const;
52 };
53 
54 #endif
bool keepMe(const Digi &inp, int start, int finish, int threshold, uint32_t zsmask) const
bool shouldKeep(const HBHEDataFrame &digi) const override
std::pair< int, int > HOsearchTS_
std::pair< int, int > HBsearchTS_
~HcalZSAlgoRealistic() override=default
std::pair< int, int > HFsearchTS_
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)
std::pair< int, int > HEsearchTS_