29 else if (mode ==
"or")
32 throw cms::Exception(
"Configuration",
"Parameter 'mode' of CombinedSeedComparitor must be either 'and' or 'or'\n");
34 typedef std::vector<edm::ParameterSet>
VPSet;
36 for (VPSet::const_iterator it = psets.begin(), ed = psets.end(); it != ed; ++it) {
52 bool pass = it->compatible(hits);
62 bool pass = it->compatible(tsos, hit);
73 bool pass = it->compatible(hits, helixStateAtVertex, helix);
bool compatible(const SeedingHitSet &hits) const override
BaseTrackerRecHit const * ConstRecHitPointer
void init(const edm::Event &ev, const edm::EventSetup &es) override
~CombinedSeedComparitor() override
T getParameter(std::string const &) const
std::vector< std::unique_ptr< SeedComparitor > > comparitors_
#define DEFINE_EDM_PLUGIN(factory, type, name)
CombinedSeedComparitor(const edm::ParameterSet &cfg, edm::ConsumesCollector &iC)