50 static const std::string kPathStatus(
"edm::PathStatus");
51 static const std::string kEndPathStatus(
"edm::EndPathStatus");
53 switch (
branch.branchType()) {
57 branch.className() != kPathStatus and
branch.className() != kEndPathStatus))
65 this->consumes<edm::InLumi>(
73 this->consumes<edm::InRun>(
81 this->consumes<edm::InProcess>(
87 <<
"Unexpected branch type " <<
branch.branchType() <<
"\nPlease contact a Framework developer\n";
94 "This plugin depends on all the event, lumi and run products " 95 "produced by the modules listed in its configuration.");
98 desc.addUntracked<std::vector<std::string>>(
"eventProducts", {})
100 "List of modules whose event products this module will depend on. " 101 "Use \"*\" to depend on all event products.");
102 desc.addUntracked<std::vector<std::string>>(
"lumiProducts", {})
104 "List of modules whose lumi products this module will depend on. " 105 "Use \"*\" to depend on all lumi products.");
106 desc.addUntracked<std::vector<std::string>>(
"runProducts", {})
108 "List of modules whose run products this module will depend on. " 109 "Use \"*\" to depend on all run products.");
110 desc.addUntracked<std::vector<std::string>>(
"processProducts", {})
112 "List of modules whose process products this module will depend on. " 113 "Use \"*\" to depend on all process products.");
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
static void fillDescriptions(ConfigurationDescriptions &descriptions)
~GenericConsumer() override=default
void callWhenNewProductsRegistered(std::function< void(BranchDescription const &)> const &func)
GenericConsumer(ParameterSet const &)
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
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::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
#define DEFINE_FWK_MODULE(type)
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_
std::vector< std::string > processLabels_
std::vector< std::string > lumiLabels_