16 for (MESetCollection::iterator mItr(
MEs_.begin()); mItr !=
MEs_.end(); ++mItr) {
18 mItr->second->setBatchMode();
23 std::vector<Collections>& _sequence,
24 std::vector<Collections>::iterator _maxPos)
const {
26 std::vector<Collections>::iterator
pos(
std::find(_sequence.begin(), _sequence.end(),
col));
27 if (
pos == _sequence.end())
28 _sequence.insert(_maxPos,
col);
29 else if (
pos < _maxPos)
32 throw cms::Exception(
"InvalidConfiguration") <<
"Circular dependency of collections";
34 for (std::set<Collections>::const_iterator rItr(_d.
requisite.begin()); rItr != _d.
requisite.end(); ++rItr) {
35 for (std::vector<Dependency>::const_iterator dItr(
set_.begin()); dItr !=
set_.end(); ++dItr) {
36 if (dItr->dependant != *rItr)