#include <DAFTrackProducer.h>
Public Types | |
typedef std::vector< Trajectory > | TrajectoryCollection |
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 > |
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 |
Public Member Functions | |
DAFTrackProducer (const edm::ParameterSet &iConfig) | |
void | produce (edm::Event &, const edm::EventSetup &) override |
Method where the procduction take place. To be implemented in concrete classes. More... | |
Public Member Functions inherited from KfTrackProducerBase | |
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... | |
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... | |
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 EDProducer & | operator= (const EDProducer &)=delete |
Private Member Functions | |
void | getFromEvt (edm::Event &, edm::Handle< TrajTrackAssociationCollection > &, reco::BeamSpot &) |
void | putInEvtTrajAnn (edm::Event &theEvent, TrajAnnealingCollection &trajannResults, std::unique_ptr< TrajAnnealingCollection > &selTrajAnn) |
EDProducer for DAFTrackProducerAlgorithm.
Definition at line 19 of file DAFTrackProducer.h.
typedef std::vector<Trajectory> DAFTrackProducer::TrajectoryCollection |
Definition at line 21 of file DAFTrackProducer.h.
|
explicit |
Definition at line 20 of file DAFTrackProducer.cc.
References TrackProducerBase< reco::Track >::alias_, deDxTools::esConsumes(), TrackProducerBase< reco::Track >::getConf(), edm::ParameterSet::getParameter(), TrackProducerBase< reco::Track >::initTrackProducerBase(), measurementCollectorToken_, TrackProducerBase< reco::Track >::setAlias(), srcTT_, AlCaHLTBitMon_QueryRunRegistry::string, TrajAnnSaving_, ttopoToken_, and updatorToken_.
|
private |
Definition at line 171 of file DAFTrackProducer.cc.
References cms::cuda::bs, TrackProducerBase< reco::Track >::bsSrc_, edm::Event::getByToken(), and srcTT_.
Referenced by produce().
|
overridevirtual |
Method where the procduction take place. To be implemented in concrete classes.
Implements TrackProducerBase< reco::Track >.
Definition at line 47 of file DAFTrackProducer.cc.
References cms::cuda::bs, MillePedeFileConverter_cfg::e, edm::Event::getByToken(), TrackProducerBase< reco::Track >::getFromES(), getFromEvt(), edm::EventBase::id(), LogDebug, measurementCollectorToken_, TrackProducerBase< reco::Track >::mteSrc_, edm::ESHandle< T >::product(), KfTrackProducerBase::putInEvt(), putInEvtTrajAnn(), DAFTrackProducerAlgorithm::runWithCandidate(), singleTopDQM_cfi::setup, theAlgo, TrajAnnSaving_, ttopoToken_, and updatorToken_.
|
private |
Definition at line 184 of file DAFTrackProducer.cc.
References mps_fire::i, eostools::move(), edm::Event::put(), and findQualityFiles::size.
Referenced by produce().
|
private |
Definition at line 39 of file DAFTrackProducer.h.
Referenced by DAFTrackProducer(), and produce().
|
private |
Definition at line 37 of file DAFTrackProducer.h.
Referenced by DAFTrackProducer(), and getFromEvt().
|
private |
Definition at line 29 of file DAFTrackProducer.h.
Referenced by produce().
|
private |
Definition at line 36 of file DAFTrackProducer.h.
Referenced by DAFTrackProducer(), and produce().
|
private |
Definition at line 38 of file DAFTrackProducer.h.
Referenced by DAFTrackProducer(), and produce().
|
private |
Definition at line 40 of file DAFTrackProducer.h.
Referenced by DAFTrackProducer(), and produce().