CMS 3D CMS Logo

ProdigalAnalyzer.cc
Go to the documentation of this file.
1 #include <cassert>
2 
6 #include "ProdigalAnalyzer.h"
7 #include "DataFormats/TestObjects/interface/ToyProducts.h"
8 
9 namespace edmtest {
10  ProdigalAnalyzer::ProdigalAnalyzer(edm::ParameterSet const&) { consumes<Prodigal>(edm::InputTag{"maker"}); }
11 
14  assert(e.getByLabel("maker", h));
15  assert(h.provenance()->productProvenance()->parentage().parents().empty());
16  }
17 
18 } // namespace edmtest
assert(be >=bs)
ProdigalAnalyzer(edm::ParameterSet const &pset)
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
void analyze(edm::StreamID, edm::Event const &e, edm::EventSetup const &c) const final
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4