|
|
Go to the documentation of this file.
62 void endJob()
override;
93 sInputTruthLabel_tok_ = consumes<reco::GenParticleCollection>(iConfig.
getParameter<
InputTag>(
"InputTruthLabel"));
94 sInputRecoLabel_tok_ = consumes<reco::PFMETCollection>(iConfig.
getParameter<
InputTag>(
"InputRecoLabel"));
95 sInputCaloLabel_tok_ = consumes<reco::CaloMETCollection>(iConfig.
getParameter<
InputTag>(
"InputCaloLabel"));
96 sInputTCLabel_tok_ = consumes<reco::METCollection>(iConfig.
getParameter<
InputTag>(
"InputTCLabel"));
119 bool isGen =
iEvent.getByToken(sInputTruthLabel_tok_, genparticles);
121 std::cout <<
"Warning : no Gen Particles in input !" << std::endl;
127 bool isReco =
iEvent.getByToken(sInputRecoLabel_tok_, pfmets);
129 std::cout <<
"Warning : no PF MET in input !" << std::endl;
135 bool isTC =
iEvent.getByToken(sInputTCLabel_tok_, tcmets);
137 std::cout <<
"Warning : no TC MET in input !" << std::endl;
142 bool isCalo =
iEvent.getByToken(sInputCaloLabel_tok_, calomets);
144 std::cout <<
"Warning : no Calo MET in input !" << std::endl;
edm::EDGetTokenT< reco::GenParticleCollection > sInputTruthLabel_tok_
T getUntrackedParameter(std::string const &, T const &) const
#define DEFINE_FWK_MODULE(type)
void process(const reco::PFMETCollection &, const reco::GenParticleCollection &, const reco::CaloMETCollection &, const reco::METCollection &)
void analyze(const edm::Event &, const edm::EventSetup &) override
void setup(std::string Filename, bool debug, bool plotAgainstReco=false, std::string benchmarkLabel_="ParticleFlow", DQMStore *dbe_store=nullptr)
dqm::legacy::DQMStore DQMStore
PFMETBenchmark PFMETBenchmark_
PFJet Benchmark.
PFMETBenchmarkAnalyzer(const edm::ParameterSet &)
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
dqm::legacy::MonitorElement MonitorElement
T getParameter(std::string const &) const
~PFMETBenchmarkAnalyzer() override
edm::EDGetTokenT< reco::PFMETCollection > sInputRecoLabel_tok_
dqm::legacy::DQMStore * xdbe_
edm::EDGetTokenT< reco::METCollection > sInputTCLabel_tok_
edm::EDGetTokenT< reco::CaloMETCollection > sInputCaloLabel_tok_