Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:49:44

0001 #ifndef HLTHcalLaserFilter_h
0002 #define HLTHcalLaserFilter_h
0003 
0004 /** \class HLTHcalLaserFilter
0005  *
0006  *  \author Alex Mott (Caltech), Jeff Temple (FNAL)
0007  *
0008  */
0009 
0010 #include "FWCore/Framework/interface/Frameworkfwd.h"
0011 #include "FWCore/Framework/interface/Event.h"
0012 #include "FWCore/Framework/interface/EDFilter.h"
0013 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0014 #include "FWCore/Utilities/interface/InputTag.h"
0015 #include "RecoMET/METAlgorithms/interface/HcalNoiseAlgo.h"
0016 #include "DataFormats/HcalDigi/interface/HcalDigiCollections.h"
0017 
0018 namespace edm {
0019   class ConfigurationDescriptions;
0020 }
0021 
0022 class HLTHcalLaserFilter : public edm::EDFilter {
0023 public:
0024   explicit HLTHcalLaserFilter(const edm::ParameterSet&);
0025   ~HLTHcalLaserFilter() override;
0026   static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0027   bool filter(edm::Event&, const edm::EventSetup&) override;
0028 
0029 private:
0030   edm::EDGetTokenT<HcalCalibDigiCollection> m_theCalibToken;
0031   // parameters
0032   edm::InputTag hcalDigiCollection_;
0033   std::vector<int> timeSlices_;
0034   std::vector<double> thresholdsfC_;
0035   std::vector<int> CalibCountFilterValues_;
0036   std::vector<double> CalibChargeFilterValues_;
0037   double maxTotalCalibCharge_;
0038   int maxAllowedHFcalib_;
0039 };
0040 
0041 #endif  //HLTHcalLaserFilter_h