Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:18:30

0001 #ifndef HLTrigger_JetMET_HLTHPDFilter_h
0002 #define HLTrigger_JetMET_HLTHPDFilter_h
0003 
0004 /** \class HLTHPDFilter
0005  *
0006  *  \author Fedor Ratnikov (UMd)
0007  *
0008  */
0009 
0010 #include "FWCore/Framework/interface/Frameworkfwd.h"
0011 #include "FWCore/Framework/interface/Event.h"
0012 #include "FWCore/Framework/interface/stream/EDFilter.h"
0013 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0014 #include "FWCore/Utilities/interface/InputTag.h"
0015 #include "DataFormats/HcalRecHit/interface/HcalRecHitCollections.h"
0016 
0017 namespace edm {
0018   class ConfigurationDescriptions;
0019 }
0020 
0021 class HLTHPDFilter : public edm::stream::EDFilter<> {
0022 public:
0023   explicit HLTHPDFilter(const edm::ParameterSet&);
0024   ~HLTHPDFilter() override;
0025   static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0026   bool filter(edm::Event&, const edm::EventSetup&) override;
0027 
0028 private:
0029   edm::EDGetTokenT<HBHERecHitCollection> m_theRecHitCollectionToken;
0030   edm::InputTag mInputTag;  // input tag for HCAL HBHE digis
0031   double mEnergyThreshold;
0032   double mHPDSpikeEnergyThreshold;
0033   double mHPDSpikeIsolationEnergyThreshold;
0034   double mRBXSpikeEnergyThreshold;
0035   double mRBXSpikeUnbalanceThreshold;
0036 };
0037 
0038 #endif