#include <TrackCandidateProducer.h>
Public Member Functions | |
virtual void | beginRun (edm::Run &run, const edm::EventSetup &es) |
virtual void | produce (edm::Event &e, const edm::EventSetup &es) |
TrackCandidateProducer (const edm::ParameterSet &conf) | |
virtual | ~TrackCandidateProducer () |
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 | addSplitHits (const TrackerRecHit &, std::vector< TrackerRecHit > &) |
int | findId (const reco::Track &aTrack) const |
bool | isDuplicateCandidate (const TrackCandidateCollection &candidates, const TrackCandidate &newCand) const |
bool | sameLocalParameters (const TrackingRecHit *aH, const TrackingRecHit *bH) const |
Private Attributes | |
double | estimatorCut_ |
edm::InputTag | hitProducer |
bool | keepFittedTracks |
unsigned int | maxNumberOfCrossedLayers |
unsigned int | minNumberOfCrossedLayers |
bool | rejectOverlaps |
bool | seedCleaning |
edm::InputTag | seedProducer |
edm::InputTag | simTracks_ |
bool | splitHits |
const TrackerGeometry * | theGeometry |
const MagneticField * | theMagField |
PropagatorWithMaterial * | thePropagator |
std::vector< edm::InputTag > | trackProducers |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
Definition at line 28 of file TrackCandidateProducer.h.
|
explicit |
Definition at line 54 of file TrackCandidateProducer.cc.
References gather_cfg::cout, estimatorCut_, edm::ParameterSet::getParameter(), hitProducer, keepFittedTracks, maxNumberOfCrossedLayers, minNumberOfCrossedLayers, rejectOverlaps, seedCleaning, seedProducer, simTracks_, splitHits, and trackProducers.
|
virtual |
Definition at line 106 of file TrackCandidateProducer.cc.
References gather_cfg::cout, and thePropagator.
|
private |
Definition at line 725 of file TrackCandidateProducer.cc.
References TrackerRecHit::matchedHit(), SiTrackerGSMatchedRecHit2D::monoHit(), SiTrackerGSRecHit2D::simhitId(), and SiTrackerGSMatchedRecHit2D::stereoHit().
Referenced by produce().
|
virtual |
Reimplemented from edm::EDProducer.
Definition at line 119 of file TrackCandidateProducer.cc.
References alongMomentum, geometry, edm::EventSetup::get(), theGeometry, theMagField, and thePropagator.
|
private |
Definition at line 710 of file TrackCandidateProducer.cc.
References reco::Track::recHitsBegin(), reco::Track::recHitsEnd(), and SiTrackerGSMatchedRecHit2D::simtrackId().
Referenced by produce().
|
private |
Definition at line 746 of file TrackCandidateProducer.cc.
References LocalTrajectoryParameters::dxdz(), LogDebug, PTrajectoryStateOnDet::parameters(), LocalTrajectoryParameters::qbp(), TrackCandidate::recHits(), sameLocalParameters(), and TrackCandidate::trajectoryStateOnDet().
Referenced by produce().
|
virtual |
Implements edm::EDProducer.
Definition at line 137 of file TrackCandidateProducer.cc.
References addSplitHits(), PV3DBase< T, PVType, FrameType >::basicVector(), funct::C, DeDxDiscriminatorTools::charge(), CoreSimTrack::charge(), TrackingRecHit::clone(), gather_cfg::cout, TrajectoryStateOnSurface::curvilinearError(), PTrajectoryStateOnDet::detId(), TrajectorySeed::direction(), Basic3DVector< T >::dot(), estimatorCut_, findId(), edm::OwnVector< T, P >::front(), g, TrackingRecHit::geographicalId(), edm::EventSetup::get(), edm::Event::getByLabel(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalParameters(), TrajectoryStateOnSurface::globalPosition(), hitProducer, errorMatrix2Lands_multiChannel::id, TrackerGeometry::idToDet(), getHLTprescales::index, reco::Track::innerDetId(), reco::Track::innerMomentum(), reco::Track::innerOk(), reco::Track::innerPosition(), reco::Track::innerStateCovariance(), isDuplicateCandidate(), trackerHitRTTI::isMatched(), SiTrackerGSMatchedRecHit2D::isMatched(), TrackerRecHit::isOnTheSameLayer(), TrajectoryStateOnSurface::isValid(), keepFittedTracks, edm::helpers::KeyVal< K, V >::key, TrackerRecHit::layerNumber(), TrackerRecHit::localError(), TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localParameters(), LogDebug, LogTrace, m, TrackerRecHit::matchedHit(), LocalTrajectoryError::matrix(), CurvilinearTrajectoryError::matrix(), maxNumberOfCrossedLayers, minNumberOfCrossedLayers, FreeTrajectoryState::momentum(), LocalTrajectoryParameters::momentum(), ecaldqm::nCollections, TrajectorySeed::nHits(), oppositeToMomentum, reco::Track::outerDetId(), reco::Track::outerMomentum(), reco::Track::outerOk(), reco::Track::outerPosition(), reco::Track::outerStateCovariance(), convertSQLitetoXML_cfg::output, PTrajectoryStateOnDet::parameters(), trajectoryStateTransform::persistentState(), position, PropagatorWithMaterial::propagate(), LargeD0_PixelPairStep_cff::propagator, edm::OwnVector< T, P >::push_back(), edm::Event::put(), DetId::rawId(), reco::Track::recHit(), TrajectorySeed::recHits(), reco::Track::recHitsSize(), rejectOverlaps, edm::OwnVector< T, P >::reserve(), seedCleaning, reco::Track::seedDirection(), seedProducer, reco::Track::seedRef(), SiTrackerGSMatchedRecHit2D::simtrackId(), edm::OwnVector< T, P >::size(), splitHits, TrajectorySeed::startingState(), TrackerRecHit::subDetId(), GeomDet::surface(), TrajectoryStateOnSurface::surface(), theGeometry, theMagField, thePropagator, SimTrack::trackerSurfaceMomentum(), SimTrack::trackerSurfacePosition(), trackProducers, TrackCandidate::trajectoryStateOnDet(), trajectoryStateTransform::transientState(), v, edm::helpers::KeyVal< K, V >::val, LocalTrajectoryParameters::vector(), PV3DBase< T, PVType, FrameType >::x(), vdt::x, detailsBasic3DVector::y, PV3DBase< T, PVType, FrameType >::y(), detailsBasic3DVector::z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Definition at line 778 of file TrackCandidateProducer.cc.
References TrackingRecHit::localPosition(), TrackingRecHit::localPositionError(), LocalError::xx(), LocalError::xy(), and LocalError::yy().
Referenced by isDuplicateCandidate().
|
private |
Definition at line 69 of file TrackCandidateProducer.h.
Referenced by produce(), and TrackCandidateProducer().
|
private |
Definition at line 56 of file TrackCandidateProducer.h.
Referenced by produce(), and TrackCandidateProducer().
|
private |
Definition at line 66 of file TrackCandidateProducer.h.
Referenced by produce(), and TrackCandidateProducer().
|
private |
Definition at line 61 of file TrackCandidateProducer.h.
Referenced by produce(), and TrackCandidateProducer().
|
private |
Definition at line 60 of file TrackCandidateProducer.h.
Referenced by produce(), and TrackCandidateProducer().
|
private |
Definition at line 63 of file TrackCandidateProducer.h.
Referenced by produce(), and TrackCandidateProducer().
|
private |
Definition at line 65 of file TrackCandidateProducer.h.
Referenced by produce(), and TrackCandidateProducer().
|
private |
Definition at line 55 of file TrackCandidateProducer.h.
Referenced by produce(), and TrackCandidateProducer().
|
private |
Definition at line 68 of file TrackCandidateProducer.h.
Referenced by TrackCandidateProducer().
|
private |
Definition at line 64 of file TrackCandidateProducer.h.
Referenced by produce(), and TrackCandidateProducer().
|
private |
Definition at line 50 of file TrackCandidateProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 51 of file TrackCandidateProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 52 of file TrackCandidateProducer.h.
Referenced by beginRun(), produce(), and ~TrackCandidateProducer().
|
private |
Definition at line 58 of file TrackCandidateProducer.h.
Referenced by produce(), and TrackCandidateProducer().