6 #include <boost/ptr_container/ptr_vector.hpp> 28 else if (mode ==
"or")
31 throw cms::Exception(
"Configuration",
"Parameter 'mode' of CombinedSeedComparitor must be either 'and' or 'or'\n");
33 typedef std::vector<edm::ParameterSet>
VPSet;
35 for (VPSet::const_iterator it = psets.begin(), ed = psets.end(); it != ed; ++it) {
44 typedef boost::ptr_vector<SeedComparitor>::iterator ITC;
51 typedef boost::ptr_vector<SeedComparitor>::const_iterator ITC;
53 bool pass = it->compatible(hits);
62 typedef boost::ptr_vector<SeedComparitor>::const_iterator ITC;
64 bool pass = it->compatible(tsos, hit);
74 typedef boost::ptr_vector<SeedComparitor>::const_iterator ITC;
76 bool pass = it->compatible(hits, helixStateAtVertex, helix);
T getParameter(std::string const &) const
bool compatible(const SeedingHitSet &hits) const override
def create(alignables, pedeDump, additionalData, outputFile, config)
BaseTrackerRecHit const * ConstRecHitPointer
void init(const edm::Event &ev, const edm::EventSetup &es) override
~CombinedSeedComparitor() override
#define DEFINE_EDM_PLUGIN(factory, type, name)
boost::ptr_vector< SeedComparitor > comparitors_
CombinedSeedComparitor(const edm::ParameterSet &cfg, edm::ConsumesCollector &iC)