#include <KfTrackProducerBase.h>
Public Member Functions | |
KfTrackProducerBase (bool trajectoryInEvent, bool split) | |
Constructor. More... | |
virtual void | putInEvt (edm::Event &, const Propagator *prop, const MeasurementTracker *measTk, std::unique_ptr< TrackingRecHitCollection > &, std::unique_ptr< reco::TrackCollection > &, std::unique_ptr< reco::TrackExtraCollection > &, std::unique_ptr< std::vector< Trajectory > > &, std::unique_ptr< std::vector< int > > &, AlgoProductCollection &, TransientTrackingRecHitBuilder const *, const TrackerTopology *ttopo, int BeforeOrAfter=0) |
Put produced collections in the event. More... | |
Public Member Functions inherited from TrackProducerBase< reco::Track > | |
const edm::ParameterSet & | getConf () const |
virtual void | getFromES (const edm::EventSetup &, edm::ESHandle< TrackerGeometry > &, edm::ESHandle< MagneticField > &, edm::ESHandle< TrajectoryFitter > &, edm::ESHandle< Propagator > &, edm::ESHandle< MeasurementTracker > &, edm::ESHandle< TransientTrackingRecHitBuilder > &) |
Get needed services from the Event Setup. More... | |
virtual void | getFromEvt (edm::Event &, edm::Handle< TrackCandidateCollection > &, reco::BeamSpot &) |
Get TrackCandidateCollection from the Event (needed by TrackProducer) More... | |
virtual void | getFromEvt (edm::Event &, edm::Handle< TrackView > &, reco::BeamSpot &) |
Get TrackCollection from the Event (needed by TrackRefitter) More... | |
void | initTrackProducerBase (const edm::ParameterSet &conf, edm::ConsumesCollector cc, const edm::EDGetToken &src) |
Call this method in inheriting class' constructor. More... | |
virtual void | produce (edm::Event &, const edm::EventSetup &)=0 |
Method where the procduction take place. To be implemented in concrete classes. More... | |
void | setAlias (std::string alias) |
set the aliases of produced collections More... | |
void | setSecondHitPattern (Trajectory *traj, reco::Track &track, const Propagator *prop, const MeasurementTrackerEvent *measTk, const TrackerTopology *ttopo) |
TrackProducerBase (bool trajectoryInEvent=false) | |
Constructor. More... | |
virtual | ~TrackProducerBase () noexcept(false) |
Destructor. More... | |
Protected Member Functions | |
void | setClusterRemovalInfo (const edm::InputTag &clusterRemovalInfo) |
Sets the information on cluster removal, and turns it on. More... | |
Private Attributes | |
bool | useSplitting |
Additional Inherited Members | |
Public Types inherited from TrackProducerBase< reco::Track > | |
using | AlgoProductCollection = typename Base::AlgoProductCollection |
using | Base = AlgoProductTraits< reco::Track > |
using | TrackCollection = typename Base::TrackCollection |
using | TrackView = typename Base::TrackView |
Public Types inherited from AlgoProductTraits< reco::Track > | |
using | AlgoProductCollection = std::vector< AlgoProduct > |
using | TrackCollection = std::vector< reco::Track > |
using | TrackView = edm::View< reco::Track > |
Produce Tracks from TrackCandidates
Definition at line 16 of file KfTrackProducerBase.h.
|
inlineexplicit |
Constructor.
Definition at line 19 of file KfTrackProducerBase.h.
|
virtual |
Put produced collections in the event.
Definition at line 21 of file KfTrackProducerBase.cc.
References alongMomentum, cms::cuda::assert(), clusterRemovalInfo_, TrajectoryStateOnSurface::curvilinearError(), edm::Event::getByToken(), edm::Event::getRefBeforePut(), TrajectoryStateOnSurface::globalParameters(), mps_fire::i, heavyIonCSV_trainingSettings::idx, edm::ESHandleBase::isValid(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, LogDebug, LogTrace, GlobalTrajectoryParameters::momentum(), eostools::move(), TrackProducerBase< reco::Track >::mteSrc_, AlCaHLTBitMon_ParallelJobs::p, GlobalTrajectoryParameters::position(), edm::Event::put(), reco::TrackExtraBase::recHitsSize(), ClusterRemovalRefSetter::reKey(), rekeyClusterRefs_, TrackProducerBase< reco::Track >::rTracks_, reco::TrackExtraBase::setHits(), reco::TrackExtra::setResiduals(), TrackProducerBase< reco::Track >::setSecondHitPattern(), reco::TrackExtraBase::setTrajParams(), TrackProducerBase< reco::Track >::theSchool, HLT_2024v11_cff::track, TrackProducerBase< reco::Track >::trajectoryInEvent_, trajectoryToResiduals(), reco::TrackExtraBase::trajParams(), useSplitting, and findQualityFiles::v.
Referenced by TrackRefitter::produce(), TrackProducer::produce(), and DAFTrackProducer::produce().
|
inlineprotected |
Sets the information on cluster removal, and turns it on.
Definition at line 43 of file KfTrackProducerBase.h.
References HLT_2024v11_cff::clusterRemovalInfo, clusterRemovalInfo_, and rekeyClusterRefs_.
Referenced by TrackProducer::TrackProducer().
|
protected |
Definition at line 49 of file KfTrackProducerBase.h.
Referenced by putInEvt(), and setClusterRemovalInfo().
|
protected |
Definition at line 48 of file KfTrackProducerBase.h.
Referenced by putInEvt(), and setClusterRemovalInfo().
|
private |
Definition at line 52 of file KfTrackProducerBase.h.
Referenced by putInEvt().