CMS 3D CMS Logo

PixelTrackProducer.cc
Go to the documentation of this file.
1 #include <vector>
2 
17 
18 #include "PixelTrackProducer.h"
19 #include "storeTracks.h"
20 
21 using namespace pixeltrackfitting;
22 using edm::ParameterSet;
23 
24 PixelTrackProducer::PixelTrackProducer(const ParameterSet& cfg) : theReconstruction(cfg, consumesCollector()) {
25  edm::LogInfo("PixelTrackProducer") << " construction...";
26  produces<reco::TrackCollection>();
27  produces<TrackingRecHitCollection>();
28  produces<reco::TrackExtraCollection>();
29 }
30 
32 
35 
36  desc.add<std::string>("passLabel", "pixelTracks"); // What is this? It is not used anywhere in this code.
38 
39  descriptions.add("pixelTracks", desc);
40 }
41 
43  LogDebug("PixelTrackProducer, produce") << "event# :" << ev.id();
44 
48  es.get<TrackerTopologyRcd>().get(httopo);
49 
50  // store tracks
51  storeTracks(ev, tracks, *httopo);
52 }
ConfigurationDescriptions.h
TrackExtra.h
PixelTrackProducer::produce
void produce(edm::Event &ev, const edm::EventSetup &es) override
Definition: PixelTrackProducer.cc:42
MessageLogger.h
ESHandle.h
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
PixelTrackReconstruction::fillDescriptions
static void fillDescriptions(edm::ParameterSetDescription &desc)
Definition: PixelTrackReconstruction.cc:35
edm::LogInfo
Log< level::Info, false > LogInfo
Definition: MessageLogger.h:125
PixelTrackProducer::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: PixelTrackProducer.cc:33
PixelTrackProducer::theReconstruction
PixelTrackReconstruction theReconstruction
Definition: PixelTrackProducer.h:26
PixelTrackReconstruction::run
void run(pixeltrackfitting::TracksWithTTRHs &tah, edm::Event &ev, const edm::EventSetup &es)
Definition: PixelTrackReconstruction.cc:42
PixelTrackProducer.h
LocalTrajectoryParameters.h
TrackerTopology.h
TrackerTopologyRcd.h
Track.h
edm::EventSetup::get
T get() const
Definition: EventSetup.h:87
TrackFwd.h
PixelTrackProducer::~PixelTrackProducer
~PixelTrackProducer() override
Definition: PixelTrackProducer.cc:31
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
OrphanHandle.h
edm::ESHandle< TrackerTopology >
pixeltrackfitting
Definition: TracksWithHits.h:10
ParameterSetDescription.h
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:233
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
tracks
const uint32_t *__restrict__ const HitContainer *__restrict__ TkSoA *__restrict__ tracks
Definition: CAHitNtupletGeneratorKernelsImpl.h:159
storeTracks.h
edm::EventSetup
Definition: EventSetup.h:58
pixeltrackfitting::TracksWithTTRHs
std::vector< TrackWithTTRHs > TracksWithTTRHs
Definition: TracksWithHits.h:14
get
#define get
storeTracks
void storeTracks(Ev &ev, const TWH &tracksWithHits, const TrackerTopology &ttopo)
Definition: storeTracks.h:20
looper.cfg
cfg
Definition: looper.py:297
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
ev
bool ev
Definition: Hydjet2Hadronizer.cc:95
EventSetup.h
PixelTrackProducer::PixelTrackProducer
PixelTrackProducer(const edm::ParameterSet &conf)
Definition: PixelTrackProducer.cc:24
TrackerTopologyRcd
Definition: TrackerTopologyRcd.h:10
ParameterSet.h
edm::Event
Definition: Event.h:73