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 
15 public:
16  HcalZSAlgoRealistic(bool markAndPass, std::pair<int,int> HBsearchTS, std::pair<int,int> HEsearchTS, std::pair<int,int> HOsearchTS, std::pair<int,int> HFsearchTS);
17  HcalZSAlgoRealistic(bool markAndPass, int levelHB, int levelHE, int levelHO, int levelHF, std::pair<int,int> HBsearchTS, std::pair<int,int> HEsearchTS, std::pair<int,int> HOsearchTS, std::pair<int,int> HFsearchTS);
18  ~HcalZSAlgoRealistic() override = default;
19 protected:
20  //these need to be overloads instead of templates to avoid linking issues when calling private member function templates
21  bool shouldKeep(const HBHEDataFrame& digi) const override;
22  bool shouldKeep(const HODataFrame& digi) const override;
23  bool shouldKeep(const HFDataFrame& digi) const override;
24  bool shouldKeep(const QIE10DataFrame& digi) const override;
25  bool shouldKeep(const QIE11DataFrame& digi) const override;
26 private:
30  template<class Digi> bool keepMe(const Digi& inp, int start, int finish, int threshold, uint32_t zsmask) const;
31 };
32 
33 #endif
Definition: start.py:1
std::pair< int, int > HOsearchTS_
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:30
std::pair< int, int > HEsearchTS_
bool shouldKeep(const HBHEDataFrame &digi) const override
~HcalZSAlgoRealistic() override=default
std::pair< int, int > HFsearchTS_
std::pair< int, int > HBsearchTS_
HcalZSAlgoRealistic(bool markAndPass, std::pair< int, int > HBsearchTS, std::pair< int, int > HEsearchTS, std::pair< int, int > HOsearchTS, std::pair< int, int > HFsearchTS)