#include <TrackCandidateProducer.h>
Public Member Functions | |
virtual void | beginRun (edm::Run const &run, const edm::EventSetup &es) override |
virtual void | produce (edm::Event &e, const edm::EventSetup &es) override |
TrackCandidateProducer (const edm::ParameterSet &conf) | |
virtual | ~TrackCandidateProducer () |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::stream::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
void | addSplitHits (const TrajectorySeedHitCandidate &, std::vector< TrajectorySeedHitCandidate > &) |
Private Attributes | |
double | estimatorCut_ |
edm::InputTag | hitProducer |
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 |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T...> | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T...> | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT < LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
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 36 of file TrackCandidateProducer.h.
|
explicit |
Definition at line 48 of file TrackCandidateProducer.cc.
References assert(), gather_cfg::cout, estimatorCut_, edm::ParameterSet::exists(), cmsRelvalreport::exit, edm::ParameterSet::getParameter(), hitProducer, maxNumberOfCrossedLayers, minNumberOfCrossedLayers, recHitToken, rejectOverlaps, seedCleaning, seedProducer, seedToken, simTracks_, simTrackToken, simVertexToken, and splitHits.
|
virtual |
Definition at line 100 of file TrackCandidateProducer.cc.
References thePropagator.
|
private |
Definition at line 462 of file TrackCandidateProducer.cc.
References TrajectorySeedHitCandidate::matchedHit(), SiTrackerGSMatchedRecHit2D::monoHit(), SiTrackerGSRecHit2D::simhitId(), and SiTrackerGSMatchedRecHit2D::stereoHit().
Referenced by produce().
|
overridevirtual |
Reimplemented from edm::stream::EDProducerBase.
Definition at line 106 of file TrackCandidateProducer.cc.
References alongMomentum, geometry, edm::EventSetup::get(), theGeometry, theMagField, and thePropagator.
|
overridevirtual |
Implements edm::stream::EDProducerBase.
Definition at line 123 of file TrackCandidateProducer.cc.
References addSplitHits(), PV3DBase< T, PVType, FrameType >::basicVector(), funct::C, CoreSimTrack::charge(), TrackingRecHit::clone(), gather_cfg::cout, TrajectoryStateOnSurface::curvilinearError(), PTrajectoryStateOnDet::detId(), TrajectorySeed::direction(), Basic3DVector< T >::dot(), estimatorCut_, edm::OwnVector< T, P >::front(), g, TrackingRecHit::geographicalId(), edm::EventSetup::get(), edm::Event::getByToken(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalParameters(), TrajectoryStateOnSurface::globalPosition(), TrackingRecHit::hit(), TrackerGeometry::idToDet(), SiTrackerGSMatchedRecHit2D::isMatched(), TrajectorySeedHitCandidate::isOnTheSameLayer(), TrajectoryStateOnSurface::isValid(), TrajectorySeedHitCandidate::layerNumber(), TrajectoryStateOnSurface::localError(), TrajectorySeedHitCandidate::localError(), TrajectoryStateOnSurface::localParameters(), LogDebug, contentValuesFiles::m, TrajectorySeedHitCandidate::matchedHit(), LocalTrajectoryError::matrix(), CurvilinearTrajectoryError::matrix(), maxNumberOfCrossedLayers, minNumberOfCrossedLayers, FreeTrajectoryState::momentum(), TrajectorySeed::nHits(), oppositeToMomentum, convertSQLitetoXML_cfg::output, trajectoryStateTransform::persistentState(), position, edm::ESHandle< class >::product(), Propagator::propagate(), HLT_25ns14e33_v1_cff::propagator, edm::OwnVector< T, P >::push_back(), edm::Event::put(), DetId::rawId(), TrajectorySeed::recHits(), recHitToken, rejectOverlaps, edm::OwnVector< T, P >::reserve(), seedCleaning, seedProducer, seedToken, SiTrackerGSMatchedRecHit2D::simtrackId(), simTrackToken, simVertexToken, edm::OwnVector< T, P >::size(), splitHits, TrajectorySeed::startingState(), TrajectorySeedHitCandidate::subDetId(), GeomDet::surface(), TrajectoryStateOnSurface::surface(), theGeometry, theMagField, thePropagator, SimTrack::trackerSurfaceMomentum(), SimTrack::trackerSurfacePosition(), trajectoryStateTransform::transientState(), findQualityFiles::v, LocalTrajectoryParameters::vector(), x, detailsBasic3DVector::y, and detailsBasic3DVector::z.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Definition at line 68 of file TrackCandidateProducer.h.
Referenced by produce(), and TrackCandidateProducer().
|
private |
Definition at line 57 of file TrackCandidateProducer.h.
Referenced by 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 72 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 56 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 67 of file TrackCandidateProducer.h.
Referenced by TrackCandidateProducer().
|
private |
Definition at line 74 of file TrackCandidateProducer.h.
Referenced by produce(), and TrackCandidateProducer().
|
private |
Definition at line 73 of file TrackCandidateProducer.h.
Referenced by produce(), and TrackCandidateProducer().
|
private |
Definition at line 64 of file TrackCandidateProducer.h.
Referenced by produce(), and TrackCandidateProducer().
|
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(), and produce().
|
private |
Definition at line 53 of file TrackCandidateProducer.h.
Referenced by beginRun(), produce(), and ~TrackCandidateProducer().
|
private |
Definition at line 58 of file TrackCandidateProducer.h.