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  virtual ~HcalZSAlgoRealistic() = default;
19 protected:
20  //these need to be overloads instead of templates to avoid linking issues when calling private member function templates
21  virtual bool shouldKeep(const HBHEDataFrame& digi) const;
22  virtual bool shouldKeep(const HODataFrame& digi) const;
23  virtual bool shouldKeep(const HFDataFrame& digi) const;
24  virtual bool shouldKeep(const QIE10DataFrame& digi) const;
25  virtual bool shouldKeep(const QIE11DataFrame& digi) const;
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_
virtual ~HcalZSAlgoRealistic()=default
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
virtual bool shouldKeep(const HBHEDataFrame &digi) const
std::pair< int, int > HEsearchTS_
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)