File indexing completed on 2023-03-17 11:22:04
0001 #ifndef HCALTBTRIGGERFILTER_H
0002 #define HCALTBTRIGGERFILTER_H 1
0003
0004 #include "FWCore/Framework/interface/global/EDFilter.h"
0005 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0006 #include "FWCore/Framework/interface/Event.h"
0007 #include "FWCore/Framework/interface/EventSetup.h"
0008 #include "FWCore/Utilities/interface/InputTag.h"
0009 #include "TBDataFormats/HcalTBObjects/interface/HcalTBTriggerData.h"
0010
0011
0012
0013
0014
0015 class HcalTBTriggerFilter : public edm::global::EDFilter<> {
0016 public:
0017 HcalTBTriggerFilter(const edm::ParameterSet& ps);
0018 bool filter(edm::StreamID, edm::Event& e, edm::EventSetup const& c) const override;
0019
0020 private:
0021 bool allowPedestal_;
0022 bool allowPedestalInSpill_;
0023 bool allowPedestalOutSpill_;
0024 bool allowLaser_;
0025 bool allowLED_;
0026 bool allowBeam_;
0027 edm::EDGetTokenT<HcalTBTriggerData> tok_tb_;
0028 };
0029
0030 #endif