CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Attributes
PixelTrackProducer Class Reference
Inheritance diagram for PixelTrackProducer:
edm::stream::EDProducer<>

Public Member Functions

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

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 

Private Attributes

const edm::ESGetToken< TrackerTopology, TrackerTopologyRcdhtTopoToken_
 
PixelTrackReconstruction theReconstruction
 

Additional Inherited Members

- Public Types inherited from edm::stream::EDProducer<>
using CacheTypes = CacheContexts< T... >
 
using GlobalCache = typename CacheTypes::GlobalCache
 
using HasAbility = AbilityChecker< T... >
 
using InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache
 
using LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache
 
using LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache >
 
using LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache
 
using RunCache = typename CacheTypes::RunCache
 
using RunContext = RunContextT< RunCache, GlobalCache >
 
using RunSummaryCache = typename CacheTypes::RunSummaryCache
 

Detailed Description

Definition at line 37 of file PixelTrackProducer.cc.

Constructor & Destructor Documentation

◆ PixelTrackProducer()

PixelTrackProducer::PixelTrackProducer ( const edm::ParameterSet cfg)
inlineexplicit

Definition at line 39 of file PixelTrackProducer.cc.

40  : theReconstruction(cfg, consumesCollector()), htTopoToken_(esConsumes()) {
41  edm::LogInfo("PixelTrackProducer") << " construction...";
42  produces<reco::TrackCollection>();
43  produces<TrackingRecHitCollection>();
44  produces<reco::TrackExtraCollection>();
45  }

◆ ~PixelTrackProducer()

PixelTrackProducer::~PixelTrackProducer ( )
overridedefault

Member Function Documentation

◆ fillDescriptions()

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

Definition at line 49 of file PixelTrackProducer.cc.

49  {
51 
52  desc.add<std::string>("passLabel", "pixelTracks"); // What is this? It is not used anywhere in this code.
54 
55  descriptions.add("pixelTracks", desc);
56  }

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

◆ produce()

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

Definition at line 58 of file PixelTrackProducer.cc.

58  {
59  LogDebug("PixelTrackProducer, produce") << "event# :" << ev.id();
60 
63  auto htTopo = es.getData(htTopoToken_);
64 
65  // store tracks
66  storeTracks(ev, tracks, htTopo);
67  }

References ev, edm::EventSetup::getData(), LogDebug, storeTracks(), and tracks.

Member Data Documentation

◆ htTopoToken_

const edm::ESGetToken<TrackerTopology, TrackerTopologyRcd> PixelTrackProducer::htTopoToken_
private

Definition at line 71 of file PixelTrackProducer.cc.

◆ theReconstruction

PixelTrackReconstruction PixelTrackProducer::theReconstruction
private

Definition at line 70 of file PixelTrackProducer.cc.

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.cc:70
PixelTrackReconstruction::run
void run(pixeltrackfitting::TracksWithTTRHs &tah, edm::Event &ev, const edm::EventSetup &es)
Definition: PixelTrackReconstruction.cc:42
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:233
tracks
const uint32_t *__restrict__ const HitContainer *__restrict__ TkSoA *__restrict__ tracks
Definition: CAHitNtupletGeneratorKernelsImpl.h:176
pixeltrackfitting::TracksWithTTRHs
std::vector< TrackWithTTRHs > TracksWithTTRHs
Definition: TracksWithHits.h:14
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
storeTracks
void storeTracks(Ev &ev, const TWH &tracksWithHits, const TrackerTopology &ttopo)
Definition: storeTracks.h:20
edm::EventSetup::getData
bool getData(T &iHolder) const
Definition: EventSetup.h:127
looper.cfg
cfg
Definition: looper.py:296
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
ev
bool ev
Definition: Hydjet2Hadronizer.cc:97
PixelTrackProducer::htTopoToken_
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > htTopoToken_
Definition: PixelTrackProducer.cc:71
DeDxTools::esConsumes
ESGetTokenH3DDVariant esConsumes(std::string const &Reccord, edm::ConsumesCollector &)
Definition: DeDxTools.cc:283