Classes | |
struct | Block |
Public Member Functions | |
TrackMultiSelector (const edm::ParameterSet &cfg) | |
constructor More... | |
~TrackMultiSelector () override | |
destructor More... | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::stream::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
~EDProducerBase () override | |
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 () | |
std::vector< edm::ProductResolverIndex > const & | putTokenIndexToProductResolverIndex () const |
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, ModuleToResolverIndicies 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 |
process one event More... | |
short | select (const reco::Track &tk, const reco::BeamSpot &beamSpot, const std::vector< Point > &points) |
return class, or -1 if rejected More... | |
void | selectVertices (const reco::VertexCollection &vtxs, std::vector< Point > &points) |
bool | testVtx (const reco::Track &tk, const reco::BeamSpot &beamSpot, const std::vector< Point > &points, const Block &cut) |
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 | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
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 TrackMultiSelector.cc.
|
private |
Definition at line 51 of file TrackMultiSelector.cc.
|
explicit |
constructor
Definition at line 124 of file TrackMultiSelector.cc.
References met_cff::alias, beamspot_, beamspotD0_, beamspotDZsigmas_, blocks_, copyExtras_, copyTrajectories_, edm::ParameterSet::getParameter(), mps_fire::i, checklumidiff::l, labels_, rHits_, rTrackExtras_, rTracks_, rTrajectories_, selHits_, selTrackExtras_, selTracks_, selTrajs_, selTTAss_, splitOutputs_, src_, AlCaHLTBitMon_QueryRunRegistry::string, tokenTracks, tokenTraj, tokenTrajTrack, vertices_, and HistogramManager_cfi::VPSet().
|
override |
destructor
Definition at line 195 of file TrackMultiSelector.cc.
References selHits_, selTrackExtras_, selTracks_, selTrajs_, and selTTAss_.
|
overrideprivate |
process one event
Definition at line 203 of file TrackMultiSelector.cc.
References beamspot_, blocks_, edm::AssociationMap< edm::OneToOne< std::vector< Trajectory >, reco::TrackCollection, unsigned short > >::const_iterator, copyExtras_, copyTrajectories_, edm::friendlyname::emptyString(), edm::AssociationMap< Tag >::end(), edm::AssociationMap< Tag >::find(), plotBeamSpotDB::first, edm::Event::getByToken(), edm::Event::getRefBeforePut(), mps_fire::i, reco::Track::innerDetId(), reco::Track::innerMomentum(), reco::Track::innerOk(), reco::Track::innerPosition(), reco::Track::innerStateCovariance(), edm::Ref< C, T, F >::key(), labels_, match(), eostools::move(), gen::n, reco::Track::outerDetId(), reco::Track::outerMomentum(), reco::Track::outerOk(), reco::Track::outerPosition(), reco::Track::outerStateCovariance(), hiPixelPairStep_cff::points, edm::Event::put(), reco::Track::recHitsBegin(), reco::Track::recHitsEnd(), reco::Track::residuals(), rHits_, rTrackExtras_, rTracks_, rTrajectories_, edm::second(), reco::Track::seedDirection(), reco::Track::seedRef(), select(), selectVertices(), selHits_, selTrackExtras_, selTracks_, selTrajs_, selTTAss_, reco::TrackExtraBase::setHits(), reco::TrackExtra::setResiduals(), findQualityFiles::size, splitOutputs_, AlCaHLTBitMon_QueryRunRegistry::string, tokenTracks, tokenTraj, tokenTrajTrack, vertices_, vtxNumber_, and whereItWent_.
|
private |
return class, or -1 if rejected
Definition at line 329 of file TrackMultiSelector.cc.
References blocks_, chi2n, reco::TrackBase::hitPattern(), reco::TrackBase::normalizedChi2(), reco::TrackBase::numberOfLostHits(), EnergyCorrector::pt, reco::TrackBase::pt(), testVtx(), reco::HitPattern::trackerLayersWithMeasurement(), and eostools::which().
Referenced by produce().
|
private |
Definition at line 345 of file TrackMultiSelector.cc.
References DEFINE_FWK_MODULE, vtxChi2Prob_, vtxNumber_, and vtxTracks_.
Referenced by produce().
|
inlineprivate |
Definition at line 311 of file TrackMultiSelector.cc.
References funct::abs(), beamspotD0_, beamspotDZsigmas_, allConversions_cfi::d0, TrackMultiSelector::Block::d0, reco::TrackBase::d0Error(), TrackMultiSelector::Block::d0Rel, reco::TrackBase::dxy(), PVValHelper::dz, TrackMultiSelector::Block::dz, reco::TrackBase::dz(), electrons_cff::dzErr, reco::TrackBase::dzError(), TrackMultiSelector::Block::dzRel, MillePedeFileConverter_cfg::e, end, SiStripPI::max, point, reco::BeamSpot::position(), and reco::BeamSpot::sigmaZ().
Referenced by select().
|
private |
Definition at line 62 of file TrackMultiSelector.cc.
Referenced by produce(), and TrackMultiSelector().
|
private |
Definition at line 67 of file TrackMultiSelector.cc.
Referenced by testVtx(), and TrackMultiSelector().
|
private |
Definition at line 67 of file TrackMultiSelector.cc.
Referenced by testVtx(), and TrackMultiSelector().
|
private |
filter psets
Definition at line 75 of file TrackMultiSelector.cc.
Referenced by produce(), select(), and TrackMultiSelector().
|
private |
copy only the tracks, not extras and rechits (for AOD)
Definition at line 69 of file TrackMultiSelector.cc.
Referenced by produce(), and TrackMultiSelector().
|
private |
copy also trajectories and trajectory->track associations
Definition at line 71 of file TrackMultiSelector.cc.
Referenced by produce(), and TrackMultiSelector().
|
private |
output labels
Definition at line 81 of file TrackMultiSelector.cc.
Referenced by produce(), and TrackMultiSelector().
|
private |
Definition at line 90 of file TrackMultiSelector.cc.
Referenced by produce(), and TrackMultiSelector().
|
private |
Definition at line 89 of file TrackMultiSelector.cc.
Referenced by produce(), and TrackMultiSelector().
|
private |
Definition at line 88 of file TrackMultiSelector.cc.
Referenced by produce(), and TrackMultiSelector().
|
private |
Definition at line 91 of file TrackMultiSelector.cc.
Referenced by produce(), and TrackMultiSelector().
|
private |
Definition at line 85 of file TrackMultiSelector.cc.
Referenced by produce(), TrackMultiSelector(), and ~TrackMultiSelector().
|
private |
Definition at line 84 of file TrackMultiSelector.cc.
Referenced by produce(), TrackMultiSelector(), and ~TrackMultiSelector().
|
private |
some storage
Definition at line 83 of file TrackMultiSelector.cc.
Referenced by produce(), TrackMultiSelector(), and ~TrackMultiSelector().
|
private |
Definition at line 86 of file TrackMultiSelector.cc.
Referenced by produce(), TrackMultiSelector(), and ~TrackMultiSelector().
|
private |
Definition at line 87 of file TrackMultiSelector.cc.
Referenced by produce(), TrackMultiSelector(), and ~TrackMultiSelector().
|
private |
split selections in more sets
Definition at line 73 of file TrackMultiSelector.cc.
Referenced by produce(), and TrackMultiSelector().
|
private |
source collection label
Definition at line 60 of file TrackMultiSelector.cc.
Referenced by TrackMultiSelector().
|
private |
Definition at line 63 of file TrackMultiSelector.cc.
Referenced by produce(), and TrackMultiSelector().
|
private |
Definition at line 64 of file TrackMultiSelector.cc.
Referenced by produce(), and TrackMultiSelector().
|
private |
Definition at line 65 of file TrackMultiSelector.cc.
Referenced by produce(), and TrackMultiSelector().
|
private |
Definition at line 61 of file TrackMultiSelector.cc.
Referenced by produce(), and TrackMultiSelector().
|
private |
Definition at line 79 of file TrackMultiSelector.cc.
Referenced by selectVertices().
|
private |
vertex cuts
Definition at line 77 of file TrackMultiSelector.cc.
Referenced by produce(), and selectVertices().
|
private |
Definition at line 78 of file TrackMultiSelector.cc.
Referenced by selectVertices().
|
private |
Definition at line 92 of file TrackMultiSelector.cc.
Referenced by produce().