#include <TrackProducerWithSCAssociation.h>
Public Member Functions | |
std::vector< reco::TransientTrack > | getTransient (edm::Event &, const edm::EventSetup &) |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
TrackProducerWithSCAssociation (const edm::ParameterSet &iConfig) | |
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< TrackCollection > &, 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 (edm::ParameterSet conf) |
Set parameter set. More... | |
void | setSecondHitPattern (Trajectory *traj, reco::Track &track, const Propagator *prop, const MeasurementTracker *measTk) |
void | setSrc (edm::InputTag src, edm::InputTag bsSrc) |
set label of source collection More... | |
TrackProducerBase (bool trajectoryInEvent=false) | |
Constructor. More... | |
virtual | ~TrackProducerBase () |
Destructor. More... | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Private Member Functions | |
void | putInEvt (edm::Event &evt, const Propagator *thePropagator, const MeasurementTracker *theMeasTk, std::auto_ptr< TrackingRecHitCollection > &selHits, std::auto_ptr< reco::TrackCollection > &selTracks, std::auto_ptr< reco::TrackExtraCollection > &selTrackExtras, std::auto_ptr< std::vector< Trajectory > > &selTrajectories, AlgoProductCollection &algoResults) |
Private Attributes | |
std::string | conversionTrackCandidateProducer_ |
std::string | myname_ |
bool | myTrajectoryInEvent_ |
edm::OrphanHandle < reco::TrackCollection > | rTracks_ |
TrackProducerAlgorithm < reco::Track > | theAlgo |
std::string | trackCSuperClusterAssociationCollection_ |
std::string | trackSuperClusterAssociationCollection_ |
bool | validTrackCandidateSCAssociationInput_ |
Definition at line 20 of file TrackProducerWithSCAssociation.h.
|
explicit |
Definition at line 20 of file TrackProducerWithSCAssociation.cc.
References TrackProducerBase< reco::Track >::alias_, conversionTrackCandidateProducer_, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), myname_, myTrajectoryInEvent_, TrackProducerBase< reco::Track >::setAlias(), TrackProducerBase< reco::Track >::setClusterRemovalInfo(), TrackProducerBase< reco::Track >::setConf(), TrackProducerBase< reco::Track >::setSrc(), GlobalPosition_Frontier_DevDB_cff::tag, trackCSuperClusterAssociationCollection_, and trackSuperClusterAssociationCollection_.
std::vector< reco::TransientTrack > TrackProducerWithSCAssociation::getTransient | ( | edm::Event & | theEvent, |
const edm::EventSetup & | setup | ||
) |
Definition at line 200 of file TrackProducerWithSCAssociation.cc.
References alignCSCRings::e, TrackProducerBase< reco::Track >::getFromES(), TrackProducerBase< reco::Track >::getFromEvt(), edm::EventBase::id(), parseEventContent::prod, edm::ESHandle< class >::product(), TrackProducerAlgorithm< T >::runWithCandidate(), and theAlgo.
|
virtual |
Implements edm::EDProducer.
Definition at line 54 of file TrackProducerWithSCAssociation.cc.
References TrackProducerAlgorithm< T >::buildTrack(), cont, conversionTrackCandidateProducer_, PTrajectoryStateOnDet::detId(), alignCSCRings::e, edm::HandleBase::failedToGet(), edm::helper::Filler< Map >::fill(), edm::Event::getByLabel(), TrackProducerBase< reco::Track >::getFromES(), TrackProducerBase< reco::Track >::getFromEvt(), i, edm::helper::Filler< Map >::insert(), edm::HandleBase::isValid(), convertSQLiteXML::ok, edm::Handle< T >::product(), edm::ESHandle< class >::product(), edm::Event::put(), putInEvt(), TrackCandidate::recHits(), rTracks_, TrackCandidate::seed(), TrackCandidate::seedRef(), edm::ValueMap< T >::size(), evf::utils::state, theAlgo, trackCSuperClusterAssociationCollection_, trackSuperClusterAssociationCollection_, TrackCandidate::trajectoryStateOnDet(), trajectoryStateTransform::transientState(), and validTrackCandidateSCAssociationInput_.
|
private |
Definition at line 251 of file TrackProducerWithSCAssociation.cc.
References reco::TrackExtraBase::add(), alongMomentum, TrajectoryStateOnSurface::curvilinearError(), Trajectory::direction(), Trajectory::firstMeasurement(), edm::Event::getRefBeforePut(), TrajectoryStateOnSurface::globalParameters(), i, edm::ESHandleBase::isValid(), j, gen::k, Trajectory::lastMeasurement(), GlobalTrajectoryParameters::momentum(), myTrajectoryInEvent_, AlCaHLTBitMon_ParallelJobs::p, GlobalTrajectoryParameters::position(), edm::Event::put(), TrajectoryMeasurement::recHit(), Trajectory::recHits(), rTracks_, Trajectory::seedRef(), reco::Track::setExtra(), reco::TrackBase::setHitPattern(), TrackProducerBase< reco::Track >::setSecondHitPattern(), lumiQTWidget::t, TrackProducerBase< reco::Track >::theSchool, TrackProducerBase< reco::Track >::trajectoryInEvent_, TrajectoryMeasurement::updatedState(), v, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by produce().
|
private |
Definition at line 33 of file TrackProducerWithSCAssociation.h.
Referenced by produce(), and TrackProducerWithSCAssociation().
|
private |
Definition at line 31 of file TrackProducerWithSCAssociation.h.
Referenced by TrackProducerWithSCAssociation().
|
private |
Definition at line 37 of file TrackProducerWithSCAssociation.h.
Referenced by putInEvt(), and TrackProducerWithSCAssociation().
|
private |
Definition at line 36 of file TrackProducerWithSCAssociation.h.
Referenced by produce(), and putInEvt().
|
private |
Definition at line 32 of file TrackProducerWithSCAssociation.h.
Referenced by getTransient(), and produce().
|
private |
Definition at line 34 of file TrackProducerWithSCAssociation.h.
Referenced by produce(), and TrackProducerWithSCAssociation().
|
private |
Definition at line 35 of file TrackProducerWithSCAssociation.h.
Referenced by produce(), and TrackProducerWithSCAssociation().
|
private |
Definition at line 38 of file TrackProducerWithSCAssociation.h.
Referenced by produce().