3 #include <FWCore/PluginManager/interface/PluginFactory.h>
4 #include <FWCore/ParameterSet/interface/ParameterSet.h>
5 #include <FWCore/Framework/interface/Event.h>
6 #include <FWCore/Framework/interface/Run.h>
7 #include <FWCore/Framework/interface/LuminosityBlock.h>
8 #include <FWCore/Framework/interface/EventSetup.h>
9 #include <FWCore/Framework/interface/ConsumesCollector.h>
10 #include <FWCore/Utilities/interface/InputTag.h>
12 #include <cp3_llbb/Framework/interface/Types.h>
13 #include <cp3_llbb/Framework/interface/MetadataManager.h>
15 #include <Math/Vector4D.h>
24 Filter(
const std::string& name,
const edm::ParameterSet& config):
28 virtual bool filter(edm::Event&,
const edm::EventSetup&) = 0;
29 virtual void doConsumes(
const edm::ParameterSet&, edm::ConsumesCollector&& collector) {}
34 virtual void beginRun(
const edm::Run&,
const edm::EventSetup&) {}
35 virtual void endRun(
const edm::Run&,
const edm::EventSetup&) {}
37 virtual void beginLuminosityBlock(
const edm::LuminosityBlock&,
const edm::EventSetup&) {}
38 virtual void endLuminosityBlock(
const edm::LuminosityBlock&,
const edm::EventSetup&) {}
46 typedef edmplugin::PluginFactory<
Framework::Filter* (
const std::string&,
const edm::ParameterSet&)> ExTreeMakerFilterFactory;