33 using namespace pixeltrackfitting;
39 : theReconstruction(cfg, consumesCollector()), htTopoToken_(
esConsumes()) {
40 edm::LogInfo(
"PixelTrackProducer") <<
" construction...";
41 produces<reco::TrackCollection>();
42 produces<TrackingRecHitCollection>();
43 produces<reco::TrackExtraCollection>();
54 descriptions.
add(
"pixelTracks", desc);
58 LogDebug(
"PixelTrackProducer, produce") <<
"event# :" << ev.
id();
61 theReconstruction.run(tracks, ev, es);
62 auto htTopo = es.
getData(htTopoToken_);
void storeTracks(Ev &ev, const TWH &tracksWithHits, const TrackerTopology &ttopo)
#define DEFINE_FWK_MODULE(type)
auto const & tracks
cannot be loose
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
bool getData(T &iHolder) const
std::vector< TrackWithTTRHs > TracksWithTTRHs
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > htTopoToken_
void produce(edm::Event &ev, const edm::EventSetup &es) override
ParameterDescriptionBase * add(U const &iLabel, T const &value)
Log< level::Info, false > LogInfo
void add(std::string const &label, ParameterSetDescription const &psetDescription)
PixelTrackReconstruction theReconstruction
static void fillDescriptions(edm::ParameterSetDescription &desc)
PixelTrackProducer(const edm::ParameterSet &cfg)