#include <TrackCandidateProducer.h>
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 | |
std::vector< edm::EDGetTokenT < TrajTrackAssociationCollection > > | assoMapTokens |
double | estimatorCut_ |
edm::InputTag | hitProducer |
bool | keepFittedTracks |
unsigned int | maxNumberOfCrossedLayers |
unsigned int | minNumberOfCrossedLayers |
edm::EDGetTokenT < SiTrackerGSMatchedRecHit2DCollection > | recHitToken |
bool | rejectOverlaps |
bool | seedCleaning |
edm::InputTag | seedProducer |
edm::EDGetTokenT< edm::View < TrajectorySeed > > | seedToken |
edm::InputTag | simTracks_ |
edm::EDGetTokenT < edm::SimTrackContainer > | simTrackToken |
edm::EDGetTokenT < edm::SimVertexContainer > | simVertexToken |
bool | splitHits |
const TrackerGeometry * | theGeometry |
const MagneticField * | theMagField |
PropagatorWithMaterial * | thePropagator |
std::vector< edm::InputTag > | trackProducers |
std::vector< edm::EDGetTokenT < reco::TrackCollection > > | trackTokens |
std::vector< edm::EDGetTokenT < std::vector< Trajectory > > > | trajectoryTokens |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
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::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Definition at line 34 of file TrackCandidateProducer.h.
|
explicit |
Definition at line 48 of file TrackCandidateProducer.cc.
References assoMapTokens, edm::EDConsumerBase::consumes(), gather_cfg::cout, estimatorCut_, edm::ParameterSet::getParameter(), hitProducer, keepFittedTracks, maxNumberOfCrossedLayers, minNumberOfCrossedLayers, recHitToken, rejectOverlaps, seedCleaning, seedProducer, seedToken, simTracks_, simTrackToken, simVertexToken, splitHits, trackProducers, trackTokens, and trajectoryTokens.
|
virtual |
Definition at line 112 of file TrackCandidateProducer.cc.
References gather_cfg::cout, and thePropagator.
|
private |
Definition at line 737 of file TrackCandidateProducer.cc.
References TrackerRecHit::matchedHit(), SiTrackerGSMatchedRecHit2D::monoHit(), SiTrackerGSRecHit2D::simhitId(), and SiTrackerGSMatchedRecHit2D::stereoHit().
Referenced by produce().
|
overridevirtual |
Reimplemented from edm::EDProducer.
Definition at line 125 of file TrackCandidateProducer.cc.
References alongMomentum, geometry, edm::EventSetup::get(), theGeometry, theMagField, and thePropagator.
|
private |
Definition at line 722 of file TrackCandidateProducer.cc.
References reco::Track::recHitsBegin(), reco::Track::recHitsEnd(), and SiTrackerGSMatchedRecHit2D::simtrackId().
Referenced by produce().
|
private |
Definition at line 758 of file TrackCandidateProducer.cc.
References LocalTrajectoryParameters::dxdz(), LogDebug, PTrajectoryStateOnDet::parameters(), LocalTrajectoryParameters::qbp(), TrackCandidate::recHits(), sameLocalParameters(), and TrackCandidate::trajectoryStateOnDet().
Referenced by produce().
|
overridevirtual |
Implements edm::EDProducer.
Definition at line 143 of file TrackCandidateProducer.cc.
References addSplitHits(), assoMapTokens, PV3DBase< T, PVType, FrameType >::basicVector(), funct::C, DeDxDiscriminatorTools::charge(), CoreSimTrack::charge(), TrackingRecHit::clone(), edm::AssociationMap< edm::OneToOne< std::vector< Trajectory >, reco::TrackCollection, unsigned short > >::const_iterator, 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::getByToken(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalParameters(), TrajectoryStateOnSurface::globalPosition(), TrackingRecHit::hit(), TrackerGeometry::idToDet(), cmsHarvester::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::Ref< C, T, F >::key(), TrackerRecHit::layerNumber(), TrajectoryStateOnSurface::localError(), TrackerRecHit::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, edm::ESHandle< class >::product(), Propagator::propagate(), edm::OwnVector< T, P >::push_back(), edm::Event::put(), DetId::rawId(), reco::Track::recHit(), TrajectorySeed::recHits(), reco::Track::recHitsSize(), recHitToken, rejectOverlaps, edm::OwnVector< T, P >::reserve(), seedCleaning, reco::Track::seedDirection(), seedProducer, reco::Track::seedRef(), seedToken, SiTrackerGSMatchedRecHit2D::simtrackId(), simTrackToken, simVertexToken, edm::OwnVector< T, P >::size(), splitHits, TrajectorySeed::startingState(), TrackerRecHit::subDetId(), GeomDet::surface(), TrajectoryStateOnSurface::surface(), theGeometry, theMagField, thePropagator, SimTrack::trackerSurfaceMomentum(), SimTrack::trackerSurfacePosition(), trackProducers, trackTokens, TrackCandidate::trajectoryStateOnDet(), trajectoryTokens, trajectoryStateTransform::transientState(), findQualityFiles::v, LocalTrajectoryParameters::vector(), x, PV3DBase< T, PVType, FrameType >::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 790 of file TrackCandidateProducer.cc.
References TrackingRecHit::localPosition(), TrackingRecHit::localPositionError(), LocalError::xx(), LocalError::xy(), and LocalError::yy().
Referenced by isDuplicateCandidate().
|
private |
Definition at line 84 of file TrackCandidateProducer.h.
Referenced by produce(), and TrackCandidateProducer().
|
private |
Definition at line 75 of file TrackCandidateProducer.h.
Referenced by produce(), and TrackCandidateProducer().
|
private |
Definition at line 62 of file TrackCandidateProducer.h.
Referenced by TrackCandidateProducer().
|
private |
Definition at line 72 of file TrackCandidateProducer.h.
Referenced by produce(), and TrackCandidateProducer().
|
private |
Definition at line 67 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 79 of file TrackCandidateProducer.h.
Referenced by produce(), and TrackCandidateProducer().
|
private |
Definition at line 69 of file TrackCandidateProducer.h.
Referenced by produce(), and TrackCandidateProducer().
|
private |
Definition at line 71 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 78 of file TrackCandidateProducer.h.
Referenced by produce(), and TrackCandidateProducer().
|
private |
Definition at line 74 of file TrackCandidateProducer.h.
Referenced by TrackCandidateProducer().
|
private |
Definition at line 81 of file TrackCandidateProducer.h.
Referenced by produce(), and TrackCandidateProducer().
|
private |
Definition at line 80 of file TrackCandidateProducer.h.
Referenced by produce(), and TrackCandidateProducer().
|
private |
Definition at line 70 of file TrackCandidateProducer.h.
Referenced by produce(), and TrackCandidateProducer().
|
private |
Definition at line 56 of file TrackCandidateProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 57 of file TrackCandidateProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 58 of file TrackCandidateProducer.h.
Referenced by beginRun(), produce(), and ~TrackCandidateProducer().
|
private |
Definition at line 64 of file TrackCandidateProducer.h.
Referenced by produce(), and TrackCandidateProducer().
|
private |
Definition at line 82 of file TrackCandidateProducer.h.
Referenced by produce(), and TrackCandidateProducer().
|
private |
Definition at line 83 of file TrackCandidateProducer.h.
Referenced by produce(), and TrackCandidateProducer().