77 if (iConfig.
exists(
"InputTags"))
98 if (!ntPset.
empty()) {
107 produces<std::vector<bool>>();
121 bool majorGlobalAccept =
false;
123 auto passedProduct = std::make_unique<std::vector<bool>>(
flows_.size(),
false);
124 bool filledOnce =
false;
130 unsigned int iFlow = 0;
131 for (; iFlow !=
flows_.size(); ++iFlow) {
147 bool globalAccept =
true;
174 globalAccept =
false;
176 bool goodForAllButThisOne =
true;
177 for (std::map<std::string, bool>::iterator decision =
accept.begin(); decision !=
accept.end(); ++decision) {
178 if (decision->first ==
filter->name())
180 if (!decision->second) {
181 goodForAllButThisOne =
false;
193 (*passedProduct)[iFlow] =
true;
194 majorGlobalAccept =
true;
210 return majorGlobalAccept;
static const std::string kSharedResource
T getParameter(std::string const &) const
std::vector< FilterSelection >::iterator iterator
bool exists(std::string const ¶meterName) const
checks if a parameter exists
bool accept(const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath)
std::vector< SFilter >::iterator iterator
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
#define DEFINE_FWK_MODULE(type)
bool filter(edm::Event &, const edm::EventSetup &) override
ProducesCollector producesCollector()
std::unique_ptr< NTupler > ntupler_
ConfigurableAnalysis(const edm::ParameterSet &)
std::unique_ptr< Plotter > plotter_
std::unique_ptr< FilterSelections > selections_
std::vector< std::string > flows_