1 #include "../interface/DQWorkerTask.h"
27 for(MESetCollection::iterator mItr(
MEs_.begin()); mItr !=
MEs_.end(); ++mItr){
34 !mItr->second->isVariableBinning() &&
60 std::vector<Collections>::iterator pos(
std::find(_sequence.begin(), _sequence.end(),
col));
61 if(pos == _sequence.end()) _sequence.insert(_maxPos, col);
62 else if(pos < _maxPos)
return;
64 throw cms::Exception(
"InvalidConfiguration") <<
"Circular dependency of collections";
66 for(std::set<Collections>::const_iterator rItr(_d.
requisite.begin()); rItr != _d.
requisite.end(); ++rItr){
67 for(std::vector<Dependency>::const_iterator dItr(
set_.begin()); dItr !=
set_.end(); ++dItr){
68 if(dItr->dependant != *rItr)
continue;
69 pos =
std::find(_sequence.begin(), _sequence.end(),
col);
static void fillDescriptions(edm::ParameterSetDescription &)
void formSequenceFragment_(Dependency const &, std::vector< Collections > &, std::vector< Collections >::iterator) const
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
virtual void setME(edm::ParameterSet const &)
void setME(edm::ParameterSet const &) final
static void fillDescriptions(edm::ParameterSetDescription &_desc)
std::vector< Dependency > set_
std::set< Collections > requisite
std::set< std::string > resettable_