CMS 3D CMS Logo

HLTHcalTowerNoiseCleanerWithrechit.h
Go to the documentation of this file.
1 #ifndef HLTHcalTowerNoiseCleanerWithrechit_h
2 #define HLTHcalTowerNoiseCleanerWithrechit_h
3 
14 
18 
19 namespace edm {
21 }
22 
24 
25  public:
28  static void fillDescriptions(edm::ConfigurationDescriptions & descriptions);
29  virtual void produce(edm::Event&, const edm::EventSetup&);
30 
31  private:
34  // parameters
37  int severity_;
41  double minRBXEnergy_;
42  double minRatio_;
43  double maxRatio_;
47  int minZeros_;
50  double maxRBXEMF_;
51 
52  // imported from the RecoMET/METProducers/python/hcalnoiseinfoproducer_cfi
53  double minRecHitE_, minLowHitE_, minHighHitE_, minR45HitE_;
54 
56  std::vector<std::pair<double, double> > TS4TS5UpperCut_;
57  std::vector<std::pair<double, double> > TS4TS5LowerCut_;
58 
59  // Rechit-r45 filter parameters:
60  std::vector<double> hltMinRBXRechitR45Cuts_;
61 
62  // helper function to compare noise data energies
63  struct noisedatacomp {
64  inline bool operator() ( const CommonHcalNoiseRBXData& t1, const CommonHcalNoiseRBXData& t2) {
65  return t1.energy()>t2.energy();
66  }
67  };
68  typedef std::set<CommonHcalNoiseRBXData, noisedatacomp> noisedataset_t;
69 };
70 
71 #endif //HLTHcalTowerNoiseCleanerWithrechit_h
edm::EDGetTokenT< CaloTowerCollection > m_theCaloTowerCollectionToken
std::vector< std::pair< double, double > > TS4TS5UpperCut_
std::set< CommonHcalNoiseRBXData, noisedatacomp > noisedataset_t
auto const T2 &decltype(t1.eta()) t2
Definition: deltaR.h:16
double energy(void) const
Definition: HcalNoiseAlgo.h:20
HLT enums.
edm::EDGetTokenT< reco::HcalNoiseRBXCollection > m_theHcalNoiseToken
std::vector< std::pair< double, double > > TS4TS5LowerCut_