4 #include <FWCore/PluginManager/interface/PluginFactory.h>
5 #include <FWCore/ParameterSet/interface/ParameterSet.h>
6 #include <FWCore/Framework/interface/Event.h>
7 #include <FWCore/Framework/interface/Run.h>
8 #include <FWCore/Framework/interface/LuminosityBlock.h>
9 #include <FWCore/Framework/interface/EventSetup.h>
10 #include <FWCore/Framework/interface/ConsumesCollector.h>
11 #include <FWCore/Utilities/interface/InputTag.h>
13 #include <cp3_llbb/Framework/interface/ProducersManager.h>
14 #include <cp3_llbb/Framework/interface/MetadataManager.h>
15 #include <cp3_llbb/TreeWrapper/interface/TreeWrapper.h>
17 #include <cp3_llbb/Framework/interface/Types.h>
29 friend class ::ExTreeMaker;
33 Analyzer(
const std::string& name,
const ROOT::TreeGroup& tree_,
const edm::ParameterSet& config):
36 m_systematics(config.getUntrackedParameter<
bool>(
"systematics",
false)) {
40 virtual void doConsumes(
const edm::ParameterSet&, edm::ConsumesCollector&& collector) {}
42 virtual void registerCategories(
CategoryManager& manager,
const edm::ParameterSet& config) {}
47 virtual void beginRun(
const edm::Run&,
const edm::EventSetup&) {}
48 virtual void endRun(
const edm::Run&,
const edm::EventSetup&) {}
50 virtual void beginLuminosityBlock(
const edm::LuminosityBlock&,
const edm::EventSetup&) {}
51 virtual void endLuminosityBlock(
const edm::LuminosityBlock&,
const edm::EventSetup&) {}
62 inline bool doingSystematics()
const {
71 void setRun(
bool run) {
83 typedef edmplugin::PluginFactory<
Framework::Analyzer* (
const std::string&,
const ROOT::TreeGroup&,
const edm::ParameterSet&)> ExTreeMakerAnalyzerFactory;
Definition: AnalyzersManager.h:10
Definition: Category.h:88
Definition: Framework.h:21
Definition: Analyzer.h:28
Definition: ProducersManager.h:10