Go to the documentation of this file.00001 #ifndef RecoPixelVertexing_SkipBadEvents_h
00002 #define RecoPixelVertexing_SkipBadEvents_h
00003
00012 #include "FWCore/Framework/interface/EDFilter.h"
00013 #include "FWCore/Framework/interface/Frameworkfwd.h"
00014 #include "FWCore/Framework/interface/Event.h"
00015 #include "FWCore/Framework/interface/EventSetup.h"
00016 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00017 #include <map>
00018 #include <set>
00019
00020 class SkipBadEvents: public edm::EDFilter {
00021 public:
00022 explicit SkipBadEvents(const edm::ParameterSet& config);
00023 virtual ~SkipBadEvents();
00024 virtual bool filter(edm::Event& e, const edm::EventSetup& s);
00025
00026 private:
00027 std::map<int,std::set<int> > skip_;
00028 };
00029 #endif