File indexing completed on 2024-04-06 12:18:40
0001 #ifndef HLTriggerspecialHLTHcalLaserMisfireFilter_h
0002 #define HLTriggerspecialHLTHcalLaserMisfireFilter_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
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
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
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