CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Attributes
PixelTrackProducer Class Reference

#include <PixelTrackProducer.h>

Inheritance diagram for PixelTrackProducer:
edm::stream::EDProducer<>

Public Member Functions

 PixelTrackProducer (const edm::ParameterSet &conf)
 
void produce (edm::Event &ev, const edm::EventSetup &es) override
 
 ~PixelTrackProducer () override
 
- Public Member Functions inherited from edm::stream::EDProducer<>
 EDProducer ()=default
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 

Private Attributes

PixelTrackReconstruction theReconstruction
 

Additional Inherited Members

- Public Types inherited from edm::stream::EDProducer<>
typedef CacheContexts< T... > CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T... > HasAbility
 
typedef CacheTypes::LuminosityBlockCache LuminosityBlockCache
 
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCacheLuminosityBlockContext
 
typedef CacheTypes::LuminosityBlockSummaryCache LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache, GlobalCacheRunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 

Detailed Description

Definition at line 15 of file PixelTrackProducer.h.

Constructor & Destructor Documentation

◆ PixelTrackProducer()

PixelTrackProducer::PixelTrackProducer ( const edm::ParameterSet conf)
explicit

Definition at line 24 of file PixelTrackProducer.cc.

24  : theReconstruction(cfg, consumesCollector()) {
25  edm::LogInfo("PixelTrackProducer") << " construction...";
26  produces<reco::TrackCollection>();
27  produces<TrackingRecHitCollection>();
28  produces<reco::TrackExtraCollection>();
29 }

◆ ~PixelTrackProducer()

PixelTrackProducer::~PixelTrackProducer ( )
override

Definition at line 31 of file PixelTrackProducer.cc.

31 {}

Member Function Documentation

◆ fillDescriptions()

void PixelTrackProducer::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 33 of file PixelTrackProducer.cc.

33  {
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 }

References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, PixelTrackReconstruction::fillDescriptions(), and AlCaHLTBitMon_QueryRunRegistry::string.

◆ produce()

void PixelTrackProducer::produce ( edm::Event ev,
const edm::EventSetup es 
)
override

Definition at line 42 of file PixelTrackProducer.cc.

42  {
43  LogDebug("PixelTrackProducer, produce") << "event# :" << ev.id();
44 
48  es.get<TrackerTopologyRcd>().get(httopo);
49 
50  // store tracks
51  storeTracks(ev, tracks, *httopo);
52 }

References ev, edm::EventSetup::get(), get, LogDebug, PixelTrackReconstruction::run(), storeTracks(), theReconstruction, and tracks.

Member Data Documentation

◆ theReconstruction

PixelTrackReconstruction PixelTrackProducer::theReconstruction
private

Definition at line 26 of file PixelTrackProducer.h.

Referenced by produce().

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::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
edm::EventSetup::get
T get() const
Definition: EventSetup.h:87
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
edm::ESHandle< TrackerTopology >
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:233
tracks
const uint32_t *__restrict__ const HitContainer *__restrict__ TkSoA *__restrict__ tracks
Definition: CAHitNtupletGeneratorKernelsImpl.h:159
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
TrackerTopologyRcd
Definition: TrackerTopologyRcd.h:10