81 if (iConfig.
exists(
"InputTags"))
92 if (!plotPset.
empty()){
101 if (!ntPset.
empty()){
111 produces<std::vector<bool> >();
131 bool majorGlobalAccept=
false;
133 auto passedProduct = std::make_unique<std::vector<bool>>(
flows_.size(),
false);
134 bool filledOnce=
false;
140 unsigned int iFlow=0;
150 bool globalAccept=
true;
167 if (filter.
inverted()) cumulative+=
"not";
168 cumulative+=filter->
name();
171 if (accept[filter->
name()]){
179 bool goodForAllButThisOne=
true;
180 for (std::map<std::string,bool>::iterator decision=accept.begin(); decision!=accept.end();++decision){
181 if (decision->first==filter->
name())
continue;
182 if (!decision->second) {
183 goodForAllButThisOne=
false;
194 (*passedProduct)[iFlow]=
true;
195 majorGlobalAccept=
true;
210 return majorGlobalAccept;
T getParameter(std::string const &) const
std::vector< FilterSelection >::iterator iterator
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
#define DEFINE_FWK_MODULE(type)
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.
virtual unsigned int registerleaves(edm::ProducerBase *producer)=0
const std::string & name()
bool filter(edm::Event &, const edm::EventSetup &) override
~ConfigurableAnalysis() override
FilterSelections * selections_
ConfigurableAnalysis(const edm::ParameterSet &)
virtual void fill(edm::Event &iEvent)=0
virtual void fill(std::string subDir, const edm::Event &iEvent)=0
virtual void complete()=0
virtual void setDir(std::string dir)=0
T get(const Candidate &c)
std::vector< std::string > flows_