15 class ConsumesCollector;
37 if(_r !=
int(dependant)) requisite.insert(_r);
39 void append(std::set<Collections>
const& _s)
41 for(std::set<Collections>::const_iterator sItr(_s.begin()); sItr != _s.end(); ++sItr)
52 std::vector<Dependency>::iterator dItr(set_.begin());
53 std::vector<Dependency>::iterator dEnd(set_.end());
54 for(; dItr != dEnd; ++dItr)
56 if(dItr == dEnd) set_.push_back(_d);
61 for(
unsigned iD(0); iD < set_.size(); iD++){
62 if(
std::find(sequence.begin(), sequence.end(), set_[iD].dependant) != sequence.end())
continue;
63 formSequenceFragment_(set_[iD], sequence, sequence.end());
69 std::vector<Dependency>
set_;
71 void formSequenceFragment_(
Dependency const&, std::vector<Collections>&, std::vector<Collections>::iterator)
const;
void append(Collections _r)
virtual bool analyze(void const *, Collections)
Dependency(Collections _d, int _r1=-1, int _r2=-1, int _r3=-1, int _r4=-1)
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
virtual void beginEvent(edm::Event const &, edm::EventSetup const &)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
virtual void addDependencies(DependencySet &)
virtual bool filterRunType(short const *)
virtual void endEvent(edm::Event const &, edm::EventSetup const &)
EcalDCCHeaderBlock::EcalDCCEventSettings EventSettings
std::vector< Collections > formSequence() const
virtual bool filterTrigger(edm::TriggerResultsByName const &)
std::vector< Dependency > set_
std::set< Collections > requisite
std::set< std::string > resettable_
void append(std::set< Collections > const &_s)
virtual void setTokens(edm::ConsumesCollector &)
void push_back(Dependency const &_d)