#include <PixelTrackProducer.h>
Definition at line 16 of file PixelTrackProducer.h.
◆ PixelTrackProducer()
Definition at line 25 of file PixelTrackProducer.cc.
26 edm::LogInfo(
"PixelTrackProducer") <<
" construction...";
27 produces<reco::TrackCollection>();
28 produces<TrackingRecHitCollection>();
29 produces<reco::TrackExtraCollection>();
◆ ~PixelTrackProducer()
PixelTrackProducer::~PixelTrackProducer |
( |
| ) |
|
|
override |
◆ fillDescriptions()
◆ produce()
◆ store()
Definition at line 56 of file PixelTrackProducer.cc.
57 auto tracks = std::make_unique<reco::TrackCollection>();
58 auto recHits = std::make_unique<TrackingRecHitCollection>();
59 auto trackExtras = std::make_unique<reco::TrackExtraCollection>();
61 int cc = 0,
nTracks = tracksWithHits.size();
67 for (
unsigned int k = 0;
k <
hits.size();
k++) {
70 track->appendHitPattern(*
hit, ttopo);
77 LogDebug(
"TrackProducer") <<
"put the collection of TrackingRecHit in the event"
86 unsigned int nHits =
tracks->at(
k).numberOfValidHits();
87 theTrackExtra.setHits(hitCollProd,
cc, nHits);
93 trackExtras->push_back(theTrackExtra);
96 LogDebug(
"TrackProducer") <<
"put the collection of TrackExtra in the event"
102 (
tracks->at(
k)).setExtra(theTrackExtraRef);
References ev, hfClusterShapes_cfi::hits, mps_fire::i, dqmdumpme::k, LogDebug, eostools::move(), BeamSpotPI::nTracks, FastTrackerRecHitMaskProducer_cfi::recHits, HLT_FULL_cff::track, PDWG_EXOHSCP_cff::tracks, and findQualityFiles::v.
Referenced by produce().
◆ theReconstruction