CMS 3D CMS Logo

HcalZSAlgoRealistic.h
Go to the documentation of this file.
1 #ifndef SIMCALORIMETRY_HCALZEROSUPPRESSIONALGOS_HCALZSALGOREALISTIC_H
2 #define SIMCALORIMETRY_HCALZEROSUPPRESSIONALGOS_HCALZSALGOREALISTIC_H 1
3 
5 
16 public:
18  std::pair<int, int> HBsearchTS,
19  std::pair<int, int> HEsearchTS,
20  std::pair<int, int> HOsearchTS,
21  std::pair<int, int> HFsearchTS);
22  HcalZSAlgoRealistic(bool markAndPass,
23  int levelHB,
24  int levelHE,
25  int levelHO,
26  int levelHF,
27  std::pair<int, int> HBsearchTS,
28  std::pair<int, int> HEsearchTS,
29  std::pair<int, int> HOsearchTS,
30  std::pair<int, int> HFsearchTS);
31  ~HcalZSAlgoRealistic() override = default;
32 
33 protected:
34  // these need to be overloads instead of templates to avoid linking issues
35  // when calling private member function templates
36  bool shouldKeep(const HBHEDataFrame &digi) const override;
37  bool shouldKeep(const HODataFrame &digi) const override;
38  bool shouldKeep(const HFDataFrame &digi) const override;
39  bool shouldKeep(const QIE10DataFrame &digi) const override;
40  bool shouldKeep(const QIE11DataFrame &digi) const override;
41 
42 private:
46  template <class Digi>
47  bool keepMe(const Digi &inp, int start, int finish, int threshold, uint32_t zsmask) const;
48 };
49 
50 #endif
Definition: start.py:1
bool keepMe(const Digi &inp, int start, int finish, int threshold, uint32_t zsmask) const
std::tuple< unsigned int, int, int, DigiType, int, int, int, float > Digi
Definition: GenericDigi.h:40
std::pair< int, int > HOsearchTS_
std::pair< int, int > HBsearchTS_
bool shouldKeep(const HBHEDataFrame &digi) const override
~HcalZSAlgoRealistic() override=default
std::pair< int, int > HFsearchTS_
std::pair< int, int > HEsearchTS_
HcalZSAlgoRealistic(bool markAndPass, std::pair< int, int > HBsearchTS, std::pair< int, int > HEsearchTS, std::pair< int, int > HOsearchTS, std::pair< int, int > HFsearchTS)