Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:20:41

0001 #ifndef HLTriggerspecialHLTHcalLaserMisfireFilter_h
0002 #define HLTriggerspecialHLTHcalLaserMisfireFilter_h
0003 // -*- C++ -*-
0004 //
0005 // Package:    HLTHcalLaserMisfireFilter
0006 // Class:      HLTHcalLaserMisfireFilter
0007 //
0008 /**\class HLTHcalLaserMisfireFilter HLTHcalLaserMisfireFilter.cc filter/HLTHcalCalibTypeFilter/src/HLTHcalCalibTypeFilter.cc
0009 
0010 Description: Filter to select HCAL Laser fired events
0011 
0012 Implementation:
0013 <Notes on implementation>
0014 */
0015 
0016 // include files
0017 #include "FWCore/Framework/interface/Frameworkfwd.h"
0018 #include "FWCore/Framework/interface/Event.h"
0019 #include "FWCore/Framework/interface/global/EDFilter.h"
0020 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0021 
0022 #include "DataFormats/FEDRawData/interface/FEDRawData.h"
0023 #include "DataFormats/FEDRawData/interface/FEDRawDataCollection.h"
0024 #include "DataFormats/HcalDigi/interface/HcalDigiCollections.h"
0025 
0026 namespace edm {
0027   class ConfigurationDescriptions;
0028 }
0029 
0030 //
0031 // class declaration
0032 //
0033 
0034 class HLTHcalLaserMisfireFilter : public edm::global::EDFilter<> {
0035 public:
0036   explicit HLTHcalLaserMisfireFilter(const edm::ParameterSet&);
0037   ~HLTHcalLaserMisfireFilter() override;
0038   static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0039 
0040 private:
0041   bool filter(edm::StreamID, edm::Event&, const edm::EventSetup&) const override;
0042   void endJob(void) override {}
0043 
0044   // ----------member data ---------------------------
0045   edm::InputTag inputHBHE_, inputHF_;
0046   edm::EDGetTokenT<HBHEDigiCollection> inputTokenHBHE_;
0047   edm::EDGetTokenT<QIE10DigiCollection> inputTokenHF_;
0048   double minFracDiffHBHELaser_, minFracHFLaser_;
0049   int minADCHBHE_, minADCHF_;
0050   bool testMode_;
0051 };
0052 
0053 #endif