#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 | setAlias (std::string alias) |
set the aliases of produced collections More... | |
void | setClusterRemovalInfo (const edm::InputTag &clusterRemovalInfo) |
Sets the information on cluster removal, and turns it on. More... | |
void | setConf (const edm::ParameterSet &conf) |
Set parameter set. More... | |
void | setSecondHitPattern (Trajectory *traj, reco::Track &track, const Propagator *prop, const MeasurementTrackerEvent *measTk, const TrackerTopology *ttopo) |
void | setSrc (const edm::EDGetToken &src, const edm::EDGetTokenT< reco::BeamSpot > &bsSrc, const edm::EDGetTokenT< MeasurementTrackerEvent > &mteSrc) |
set label of source collection More... | |
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) |
Private Attributes | |
edm::EDGetToken | srcTT_ |
DAFTrackProducerAlgorithm | theAlgo |
bool | TrajAnnSaving_ |
Additional Inherited Members | |
Protected Attributes inherited from TrackProducerBase< reco::Track > | |
std::string | alias_ |
edm::EDGetTokenT< reco::BeamSpot > | bsSrc_ |
edm::InputTag | clusterRemovalInfo_ |
edm::ParameterSet | conf_ |
edm::EDGetTokenT< MeasurementTrackerEvent > | mteSrc_ |
bool | rekeyClusterRefs_ |
edm::OrphanHandle< TrackCollection > | rTracks_ |
edm::EDGetToken | src_ |
edm::ESHandle< NavigationSchool > | theSchool |
bool | trajectoryInEvent_ |
EDProducer for DAFTrackProducerAlgorithm.
Definition at line 17 of file DAFTrackProducer.h.
typedef std::vector<Trajectory> DAFTrackProducer::TrajectoryCollection |
Definition at line 19 of file DAFTrackProducer.h.
|
explicit |
Definition at line 20 of file DAFTrackProducer.cc.
References TrackProducerBase< reco::Track >::alias_, edm::ParameterSet::getParameter(), TrackProducerBase< reco::Track >::setAlias(), TrackProducerBase< reco::Track >::setConf(), TrackProducerBase< reco::Track >::setSrc(), srcTT_, AlCaHLTBitMon_QueryRunRegistry::string, and TrajAnnSaving_.
|
private |
Definition at line 173 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 44 of file DAFTrackProducer.cc.
References cms::cuda::bs, MillePedeFileConverter_cfg::e, get, edm::Event::getByToken(), TrackProducerBase< reco::Track >::getConf(), TrackProducerBase< reco::Track >::getFromES(), getFromEvt(), edm::ParameterSet::getParameter(), edm::EventBase::id(), LogDebug, TrackProducerBase< reco::Track >::mteSrc_, edm::ESHandle< T >::product(), KfTrackProducerBase::putInEvt(), putInEvtTrajAnn(), DAFTrackProducerAlgorithm::runWithCandidate(), singleTopDQM_cfi::setup, AlCaHLTBitMon_QueryRunRegistry::string, theAlgo, and TrajAnnSaving_.
|
private |
Definition at line 186 of file DAFTrackProducer.cc.
References mps_fire::i, eostools::move(), edm::Event::put(), and findQualityFiles::size.
Referenced by produce().
|
private |
Definition at line 35 of file DAFTrackProducer.h.
Referenced by DAFTrackProducer(), and getFromEvt().
|
private |
Definition at line 27 of file DAFTrackProducer.h.
Referenced by produce().
|
private |
Definition at line 34 of file DAFTrackProducer.h.
Referenced by DAFTrackProducer(), and produce().