7 if (seedingModeString ==
"Candidate")
9 else if (seedingModeString ==
"Global")
22 <<
"Delta eta and phi parameters must be set for candidates in candidate seeding mode";
29 desc.
add<
double>(
"deltaEta_Cand", -1.);
30 desc.
add<
double>(
"deltaPhi_Cand", -1.);
40 result = std::make_pair(objects.
product(), dimensions);
42 result = std::make_pair(
nullptr, dimensions);
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
std::pair< const reco::CandidateView *, std::pair< float, float > > Objects
bool getByToken(EDGetToken token, Handle< PROD > &result) const
SeedingMode m_seedingMode
TrackingSeedCandidates(const edm::ParameterSet ®PSet, edm::ConsumesCollector &&iC)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
T const * product() const
static void fillDescriptions(edm::ParameterSetDescription &desc)
T getParameter(std::string const &) const
edm::EDGetTokenT< reco::CandidateView > m_token_input
Objects objects(const edm::Event &iEvent) const