80 if (iConfig.
exists(
"InputTags"))
91 if (!plotPset.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;
140 bool globalAccept=
true;
157 if (filter.
inverted()) cumulative+=
"not";
158 cumulative+=filter->
name();
161 if (accept[filter->
name()]){
169 bool goodForAllButThisOne=
true;
170 for (std::map<std::string,bool>::iterator decision=accept.begin(); decision!=accept.end();++decision){
171 if (decision->first==filter->
name())
continue;
172 if (!decision->second) {
173 goodForAllButThisOne=
false;
184 (*passedProduct)[iFlow]=
true;
185 majorGlobalAccept=
true;
200 return majorGlobalAccept;
T getParameter(std::string const &) const
~ConfigurableAnalysis() override=default
std::vector< FilterSelection >::iterator iterator
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
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
#define DEFINE_FWK_MODULE(type)
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
const std::string & name()
bool filter(edm::Event &, const edm::EventSetup &) override
std::unique_ptr< NTupler > ntupler_
ConfigurableAnalysis(const edm::ParameterSet &)
std::unique_ptr< Plotter > plotter_
std::unique_ptr< FilterSelections > selections_
T get(const Candidate &c)
std::vector< std::string > flows_