Classes | |
struct | Block |
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 | |
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 HLT_FULL_cff::alias, beamspot_, beamspotD0_, beamspotDZsigmas_, blocks_, copyExtras_, copyTrajectories_, edm::ParameterSet::getParameter(), i, cmsLHEtoEOSManager::l, labels_, rHits_, rTrackExtras_, rTracks_, rTrajectories_, selHits_, selTrackExtras_, selTracks_, selTrajs_, selTTAss_, splitOutputs_, src_, AlCaHLTBitMon_QueryRunRegistry::string, tokenTracks, tokenTraj, tokenTrajTrack, vertices_, and HistogramManager_cfi::VPSet().
|
virtual |
destructor
Definition at line 195 of file TrackMultiSelector.cc.
References selHits_, selTrackExtras_, selTracks_, selTrajs_, and selTTAss_.
|
overrideprivatevirtual |
process one event
Implements edm::stream::EDProducerBase.
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(), plotBeamSpotDB::first, edm::Event::getByToken(), edm::Event::getRefBeforePut(), 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(), edm::Event::put(), reco::Track::recHitsBegin(), reco::Track::recHitsEnd(), dt_dqm_sourceclient_common_cff::reco, 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 dt_dqm_sourceclient_common_cff::reco, vtxChi2Prob_, vtxNumber_, and vtxTracks_.
Referenced by produce().
|
inlineprivate |
Definition at line 311 of file TrackMultiSelector.cc.
References funct::abs(), beamspotD0_, beamspotDZsigmas_, TrackMultiSelector::Block::d0, reco::TrackBase::d0Error(), TrackMultiSelector::Block::d0Rel, reco::TrackBase::dxy(), TrackMultiSelector::Block::dz, reco::TrackBase::dz(), reco::TrackBase::dzError(), TrackMultiSelector::Block::dzRel, alignCSCRings::e, end, bookConverter::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().