File indexing completed on 2024-04-06 12:18:40
0001 #ifndef HLTHcalNoiseFilter_h
0002 #define HLTHcalNoiseFilter_h
0003
0004 #include "HLTrigger/HLTcore/interface/HLTFilter.h"
0005 #include "FWCore/Utilities/interface/InputTag.h"
0006
0007 #include "DataFormats/CaloTowers/interface/CaloTowerCollection.h"
0008 #include "DataFormats/CaloTowers/interface/CaloTower.h"
0009 #include "DataFormats/JetReco/interface/CaloJetCollection.h"
0010 #include "DataFormats/JetReco/interface/CaloJet.h"
0011 #include "DataFormats/METReco/interface/CaloMET.h"
0012 #include "DataFormats/METReco/interface/CaloMETCollection.h"
0013
0014 namespace edm {
0015 class ConfigurationDescriptions;
0016 }
0017
0018 class HLTHcalNoiseFilter : public HLTFilter {
0019 public:
0020 explicit HLTHcalNoiseFilter(const edm::ParameterSet&);
0021 ~HLTHcalNoiseFilter() override;
0022 bool hltFilter(edm::Event&,
0023 const edm::EventSetup&,
0024 trigger::TriggerFilterObjectWithRefs& filterproduct) const override;
0025 static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0026
0027 private:
0028 edm::EDGetTokenT<reco::CaloJetCollection> JetSourceToken_;
0029 edm::EDGetTokenT<reco::CaloMETCollection> MetSourceToken_;
0030 edm::EDGetTokenT<CaloTowerCollection> TowerSourceToken_;
0031 edm::InputTag JetSource_;
0032 edm::InputTag MetSource_;
0033 edm::InputTag TowerSource_;
0034 bool useMet_;
0035 bool useJet_;
0036 double MetCut_;
0037 double JetMinE_;
0038 double JetHCALminEnergyFraction_;
0039 };
0040
0041 #endif