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 36 of file PixelTrackProducer.cc.

Constructor & Destructor Documentation

◆ PixelTrackProducer()

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

Definition at line 38 of file PixelTrackProducer.cc.

39  : theReconstruction(cfg, consumesCollector()), htTopoToken_(esConsumes()) {
40  edm::LogInfo("PixelTrackProducer") << " construction...";
41  produces<reco::TrackCollection>();
42  produces<TrackingRecHitCollection>();
43  produces<reco::TrackExtraCollection>();
44  }
ESGetTokenH3DDVariant esConsumes(std::string const &Record, edm::ConsumesCollector &)
Definition: DeDxTools.cc:283
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > htTopoToken_
Log< level::Info, false > LogInfo
PixelTrackReconstruction theReconstruction

◆ ~PixelTrackProducer()

PixelTrackProducer::~PixelTrackProducer ( )
overridedefault

Member Function Documentation

◆ fillDescriptions()

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

Definition at line 48 of file PixelTrackProducer.cc.

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

48  {
50 
51  desc.add<std::string>("passLabel", "pixelTracks"); // What is this? It is not used anywhere in this code.
53 
54  descriptions.add("pixelTracks", desc);
55  }
void add(std::string const &label, ParameterSetDescription const &psetDescription)
static void fillDescriptions(edm::ParameterSetDescription &desc)

◆ produce()

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

Definition at line 57 of file PixelTrackProducer.cc.

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

57  {
58  LogDebug("PixelTrackProducer, produce") << "event# :" << ev.id();
59 
62  auto htTopo = es.getData(htTopoToken_);
63 
64  // store tracks
65  storeTracks(ev, tracks, htTopo);
66  }
void storeTracks(Ev &ev, const TWH &tracksWithHits, const TrackerTopology &ttopo)
Definition: storeTracks.h:19
std::vector< TrackWithTTRHs > TracksWithTTRHs
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > htTopoToken_
bool getData(T &iHolder) const
Definition: EventSetup.h:122
void run(pixeltrackfitting::TracksWithTTRHs &tah, edm::Event &ev, const edm::EventSetup &es)
auto const & tracks
cannot be loose
PixelTrackReconstruction theReconstruction
#define LogDebug(id)

Member Data Documentation

◆ htTopoToken_

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

Definition at line 70 of file PixelTrackProducer.cc.

◆ theReconstruction

PixelTrackReconstruction PixelTrackProducer::theReconstruction
private

Definition at line 69 of file PixelTrackProducer.cc.