38 : eventLabels_(config.getUntrackedParameter<std::
vector<std::
string>>(
"eventProducts")),
39 lumiLabels_(config.getUntrackedParameter<std::
vector<std::
string>>(
"lumiProducts")),
40 runLabels_(config.getUntrackedParameter<std::
vector<std::
string>>(
"runProducts")) {
47 static const std::string kPathStatus(
"edm::PathStatus");
48 static const std::string kEndPathStatus(
"edm::EndPathStatus");
62 this->consumes<edm::InLumi>(
70 this->consumes<edm::InRun>(
77 <<
"Unexpected branch type " << branch.
branchType() <<
"\nPlease contact a Framework developer\n";
84 "This plugin depends on all the event, lumi and run products "
85 "produced by the modules listed in its configuration.");
88 desc.
addUntracked<std::vector<std::string>>(
"eventProducts", {})
90 "List of modules whose event products this module will depend on. "
91 "Use \"*\" to depend on all event products.");
92 desc.
addUntracked<std::vector<std::string>>(
"lumiProducts", {})
94 "List of modules whose lumi products this module will depend on. "
95 "Use \"*\" to depend on all event products.");
96 desc.
addUntracked<std::vector<std::string>>(
"runProducts", {})
98 "List of modules whose run products this module will depend on. "
99 "Use \"*\" to depend on all event products.");
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
BranchType const & branchType() const
static void fillDescriptions(ConfigurationDescriptions &descriptions)
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventIDconst &, edm::Timestampconst & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
~GenericConsumer() override=default
void callWhenNewProductsRegistered(std::function< void(BranchDescription const &)> const &func)
#define DEFINE_FWK_MODULE(type)
GenericConsumer(ParameterSet const &)
std::string const & processName() const
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
std::string const & className() const
std::string const & moduleLabel() const
std::string const & productInstanceName() const
TypeID unwrappedTypeID() const
void analyze(StreamID, Event const &, EventSetup const &) const override
std::vector< std::string > eventLabels_
void setComment(std::string const &value)
std::vector< std::string > runLabels_
tuple config
parse the configuration file
std::vector< std::string > lumiLabels_