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