16 geomToken_ = cc.consumes();
20 return std::make_unique<TransientTrackBuilder>(&iRecord.
get(
magToken_), iRecord.
getHandle(geomToken_));
26 ->setComment(
"data label to use when getting the data product");
ESHandle< ProductT > getHandle(ESGetToken< ProductT, DepRecordT > const &iToken) const
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void addDefault(ParameterSetDescription const &psetDescription)
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
ParameterDescriptionBase * add(U const &iLabel, T const &value)
TransientTrackBuilderESProducer(const edm::ParameterSet &p)
T getParameter(std::string const &) const
std::unique_ptr< TransientTrackBuilder > produce(const TransientTrackRecord &)