Public Member Functions | |
CosmicTrackSelector (const edm::ParameterSet &cfg) | |
virtual | ~CosmicTrackSelector () |
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 | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Types | |
typedef math::XYZPoint | Point |
Private Member Functions | |
void | produce (edm::Event &evt, const edm::EventSetup &es) override |
bool | select (const reco::BeamSpot &vertexBeamSpot, const reco::Track &tk) |
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 |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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::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) |
selects a subset of a track collection, copying extra information on demand
Definition at line 32 of file CosmicTrackSelector.cc.
|
private |
Definition at line 41 of file CosmicTrackSelector.cc.
|
explicit |
Definition at line 99 of file CosmicTrackSelector.cc.
References egammaCTFFinalFitWithMaterial_cff::alias, copyExtras_, copyTrajectories_, Exception, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), keepAllTracks_, qualityToSet_, setQualityBit_, srcTass_, srcTraj_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
Definition at line 152 of file CosmicTrackSelector.cc.
|
overrideprivate |
Definition at line 155 of file CosmicTrackSelector.cc.
References beamspot_, edm::AssociationMap< edm::OneToOne< std::vector< Trajectory >, reco::TrackCollection, unsigned short > >::const_iterator, copyExtras_, copyTrajectories_, edm::friendlyname::emptyString(), edm::AssociationMap< Tag >::end(), reco::Track::extra(), edm::AssociationMap< Tag >::find(), edm::Event::getByToken(), edm::Event::getRefBeforePut(), mps_fire::i, reco::Track::innerDetId(), reco::Track::innerMomentum(), reco::Track::innerOk(), reco::Track::innerPosition(), reco::Track::innerStateCovariance(), keepAllTracks_, edm::Ref< C, T, F >::key(), match(), eostools::move(), gen::n, convertSQLiteXML::ok, reco::Track::outerDetId(), reco::Track::outerMomentum(), reco::Track::outerOk(), reco::Track::outerPosition(), reco::Track::outerStateCovariance(), edm::Event::productGetter(), edm::Event::put(), qualityToSet_, reco::Track::recHitsBegin(), reco::Track::recHitsEnd(), reco::Track::residuals(), rHits_, rTrackExtras_, rTracks_, rTrajectories_, reco::Track::seedDirection(), reco::Track::seedRef(), select(), selHits_, selTrackExtras_, selTracks_, selTrajs_, selTTAss_, reco::TrackExtraBase::setHits(), setQualityBit_, reco::TrackExtra::setResiduals(), reco::TrackExtraBase::setTrajParams(), src_, srcTass_, srcTraj_, AlCaHLTBitMon_QueryRunRegistry::string, and trackRefs_.
|
private |
Definition at line 255 of file CosmicTrackSelector.cc.
References funct::abs(), chi2n, chi2n_par_, allConversions_cfi::d0, DEFINE_FWK_MODULE, reco::TrackBase::dxy(), allConversions_cfi::dz, reco::TrackBase::dz(), stringResolutionProvider_cfi::eta, reco::TrackBase::eta(), reco::TrackBase::hitPattern(), hcalTTPDigis_cfi::id, createfilelist::int, max_d0_, max_eta_, max_lostLayers_, max_z0_, min_3Dlayers_, min_layers_, min_nHit_, min_nPixelHit_, min_pt_, nlayers, reco::TrackBase::normalizedChi2(), reco::HitPattern::numberOfValidStripLayersWithMonoAndStereo(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, reco::HitPattern::pixelLayersWithMeasurement(), reco::BeamSpot::position(), EnergyCorrector::pt, reco::TrackBase::pt(), rpcPointValidation_cfi::recHit, reco::Track::recHitsBegin(), reco::Track::recHitsEnd(), reco::HitPattern::TRACK_HITS, reco::HitPattern::trackerLayersWithMeasurement(), and reco::HitPattern::trackerLayersWithoutMeasurement().
Referenced by produce().
|
private |
Definition at line 48 of file CosmicTrackSelector.cc.
Referenced by produce().
|
private |
Definition at line 64 of file CosmicTrackSelector.cc.
Referenced by select().
|
private |
Definition at line 50 of file CosmicTrackSelector.cc.
Referenced by CosmicTrackSelector(), and produce().
|
private |
Definition at line 52 of file CosmicTrackSelector.cc.
Referenced by CosmicTrackSelector(), and produce().
|
private |
Definition at line 57 of file CosmicTrackSelector.cc.
Referenced by CosmicTrackSelector(), and produce().
|
private |
Definition at line 67 of file CosmicTrackSelector.cc.
Referenced by select().
|
private |
Definition at line 71 of file CosmicTrackSelector.cc.
Referenced by select().
|
private |
Definition at line 79 of file CosmicTrackSelector.cc.
Referenced by select().
|
private |
Definition at line 68 of file CosmicTrackSelector.cc.
Referenced by select().
|
private |
Definition at line 78 of file CosmicTrackSelector.cc.
Referenced by select().
|
private |
Definition at line 77 of file CosmicTrackSelector.cc.
Referenced by select().
|
private |
Definition at line 73 of file CosmicTrackSelector.cc.
Referenced by select().
|
private |
Definition at line 75 of file CosmicTrackSelector.cc.
Referenced by select().
|
private |
Definition at line 70 of file CosmicTrackSelector.cc.
Referenced by select().
|
private |
Definition at line 60 of file CosmicTrackSelector.cc.
Referenced by CosmicTrackSelector(), and produce().
|
private |
Definition at line 63 of file CosmicTrackSelector.cc.
|
private |
Definition at line 90 of file CosmicTrackSelector.cc.
Referenced by produce().
|
private |
Definition at line 89 of file CosmicTrackSelector.cc.
Referenced by produce().
|
private |
Definition at line 88 of file CosmicTrackSelector.cc.
Referenced by produce().
|
private |
Definition at line 91 of file CosmicTrackSelector.cc.
Referenced by produce().
|
private |
Definition at line 84 of file CosmicTrackSelector.cc.
Referenced by produce().
|
private |
Definition at line 83 of file CosmicTrackSelector.cc.
Referenced by produce().
|
private |
Definition at line 82 of file CosmicTrackSelector.cc.
Referenced by produce().
|
private |
Definition at line 86 of file CosmicTrackSelector.cc.
|
private |
Definition at line 85 of file CosmicTrackSelector.cc.
Referenced by produce().
|
private |
Definition at line 87 of file CosmicTrackSelector.cc.
Referenced by produce().
|
private |
Definition at line 59 of file CosmicTrackSelector.cc.
Referenced by CosmicTrackSelector(), and produce().
|
private |
Definition at line 47 of file CosmicTrackSelector.cc.
Referenced by produce().
|
private |
Definition at line 54 of file CosmicTrackSelector.cc.
Referenced by CosmicTrackSelector(), and produce().
|
private |
Definition at line 53 of file CosmicTrackSelector.cc.
Referenced by CosmicTrackSelector(), and produce().
|
private |
Definition at line 92 of file CosmicTrackSelector.cc.
Referenced by produce().