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 
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);
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
HcalZSAlgoRealistic::HFsearchTS_
std::pair< int, int > HFsearchTS_
Definition: HcalZSAlgoRealistic.h:49
start
Definition: start.py:1
HcalZSAlgoRealistic::thresholdHO_
int thresholdHO_
Definition: HcalZSAlgoRealistic.h:48
HcalZSAlgoRealistic::HOsearchTS_
std::pair< int, int > HOsearchTS_
Definition: HcalZSAlgoRealistic.h:49
TrendClient_cfi.Digi
Digi
Definition: TrendClient_cfi.py:7
HcalZeroSuppressionAlgo
Definition: HcalZeroSuppressionAlgo.h:15
HcalZSAlgoRealistic::keepMe
bool keepMe(const Digi &inp, int start, int finish, int threshold, uint32_t zsmask) const
Definition: HcalZSAlgoRealistic.cc:47
HcalZeroSuppressionAlgo.h
HcalZSAlgoRealistic::usingDBvalues
bool usingDBvalues
Definition: HcalZSAlgoRealistic.h:47
DigiNZS_cff.markAndPass
markAndPass
Definition: DigiNZS_cff.py:6
HcalZSAlgoRealistic::shouldKeep
bool shouldKeep(const HBHEDataFrame &digi) const override
Definition: HcalZSAlgoRealistic.cc:97
HBHEDataFrame
Definition: HBHEDataFrame.h:14
HFDataFrame
Definition: HFDataFrame.h:14
HcalZSAlgoRealistic::thresholdHE_
int thresholdHE_
Definition: HcalZSAlgoRealistic.h:48
HcalZSAlgoRealistic::HEsearchTS_
std::pair< int, int > HEsearchTS_
Definition: HcalZSAlgoRealistic.h:49
HcalZSAlgoRealistic::thresholdHB_
int thresholdHB_
Definition: HcalZSAlgoRealistic.h:48
HcalZSAlgoRealistic::HcalZSAlgoRealistic
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)
Definition: HcalZSAlgoRealistic.cc:27
HcalZSAlgoRealistic::thresholdHF_
int thresholdHF_
Definition: HcalZSAlgoRealistic.h:48
HcalZSAlgoRealistic::use1ts_
bool use1ts_
Definition: HcalZSAlgoRealistic.h:47
QIE10DataFrame
Definition: QIE10DataFrame.h:11
HODataFrame
Definition: HODataFrame.h:14
QIE11DataFrame
Definition: QIE11DataFrame.h:11
HcalZSAlgoRealistic
Definition: HcalZSAlgoRealistic.h:17
HcalZSAlgoRealistic::HBsearchTS_
std::pair< int, int > HBsearchTS_
Definition: HcalZSAlgoRealistic.h:49
HcalZSAlgoRealistic::~HcalZSAlgoRealistic
~HcalZSAlgoRealistic() override=default
remoteMonitoring_LED_IterMethod_cfg.threshold
threshold
Definition: remoteMonitoring_LED_IterMethod_cfg.py:426
hcalDigisNoSuppression_cfi.use1ts
use1ts
Definition: hcalDigisNoSuppression_cfi.py:15