Public Member Functions | |
AnalyticalTrackSelector (const edm::ParameterSet &cfg) | |
constructor More... | |
~AnalyticalTrackSelector () override | |
destructor More... | |
Public Member Functions inherited from MultiTrackSelector | |
MultiTrackSelector () | |
constructor More... | |
MultiTrackSelector (const edm::ParameterSet &cfg) | |
~MultiTrackSelector () override | |
destructor More... | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Private Types | |
typedef math::XYZPoint | Point |
Private Member Functions | |
void | run (edm::Event &evt, const edm::EventSetup &es) const override |
process one event More... | |
Private Attributes | |
bool | copyExtras_ |
copy only the tracks, not extras and rechits (for AOD) More... | |
bool | copyTrajectories_ |
copy also trajectories and trajectory->track associations More... | |
double | maxEta_ |
double | minEta_ |
eta restrictions More... | |
edm::EDGetTokenT < TrajTrackAssociationCollection > | srcTass_ |
edm::EDGetTokenT< std::vector < Trajectory > > | srcTraj_ |
Additional Inherited Members | |
Public Types inherited from MultiTrackSelector | |
using | MVACollection = std::vector< float > |
using | QualityMaskCollection = std::vector< unsigned char > |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T...> |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T...> |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Protected Types inherited from MultiTrackSelector | |
typedef math::XYZPoint | Point |
Protected Member Functions inherited from MultiTrackSelector | |
void | beginStream (edm::StreamID) final |
Point | getBestVertex (const reco::TrackBaseRef, const reco::VertexCollection) const |
void | processMVA (edm::Event &evt, const edm::EventSetup &es, const reco::BeamSpot &beamspot, const reco::VertexCollection &vertices, int selIndex, std::vector< float > &mvaVals_, bool writeIt=false) const |
void | produce (edm::Event &evt, const edm::EventSetup &es) final |
process one event More... | |
bool | select (unsigned tsNum, const reco::BeamSpot &vertexBeamSpot, const TrackingRecHitCollection &recHits, const reco::Track &tk, const std::vector< Point > &points, std::vector< float > &vterr, std::vector< float > &vzerr, double mvaVal) const |
return class, or -1 if rejected More... | |
void | selectVertices (unsigned int tsNum, const reco::VertexCollection &vtxs, std::vector< Point > &points, std::vector< float > &vterr, std::vector< float > &vzerr) const |
Protected Attributes inherited from MultiTrackSelector | |
std::vector< bool > | applyAbsCutsIfNoPV_ |
std::vector< bool > | applyAdaptedPVCuts_ |
edm::EDGetTokenT< reco::BeamSpot > | beamspot_ |
std::vector< double > | chi2n_no1Dmod_par_ |
std::vector< double > | chi2n_par_ |
std::vector< std::vector < double > > | d0_par1_ |
std::vector< std::vector < double > > | d0_par2_ |
std::string | dbFileName_ |
std::vector< std::vector < double > > | dz_par1_ |
std::vector< std::vector < double > > | dz_par2_ |
std::vector< GBRForest * > | forest_ |
std::vector< std::string > | forestLabel_ |
std::vector< edm::ESGetToken < GBRForest, GBRWrapperRcd > > | forestToken_ |
edm::EDGetTokenT < TrackingRecHitCollection > | hSrc_ |
std::vector< bool > | keepAllTracks_ |
std::vector< double > | max_d0_ |
Impact parameter absolute cuts. More... | |
std::vector< double > | max_d0NoPV_ |
std::vector< double > | max_eta_ |
std::vector< int32_t > | max_lostHitFraction_ |
std::vector< uint32_t > | max_lostLayers_ |
std::vector< int32_t > | max_minMissHitOutOrIn_ |
std::vector< double > | max_relpterr_ |
std::vector< double > | max_z0_ |
std::vector< double > | max_z0NoPV_ |
std::vector< uint32_t > | min_3Dlayers_ |
std::vector< double > | min_eta_ |
std::vector< uint32_t > | min_hits_bypass_ |
std::vector< uint32_t > | min_layers_ |
Cuts on numbers of layers with hits/3D hits/lost hits. More... | |
std::vector< double > | min_MVA_ |
std::vector< uint32_t > | min_nhits_ |
std::vector< std::string > | mvaType_ |
std::vector< std::string > | name_ |
std::vector< double > | nSigmaZ_ |
std::vector< unsigned int > | preFilter_ |
std::vector < reco::TrackBase::TrackQuality > | qualityToSet_ |
std::vector< std::vector < double > > | res_par_ |
std::vector< bool > | setQualityBit_ |
do I have to set a quality bit? More... | |
edm::EDGetTokenT < reco::TrackCollection > | src_ |
source collection label More... | |
bool | useAnyMVA_ |
bool | useForestFromDB_ |
std::vector< bool > | useMVA_ |
std::vector< bool > | useMVAonly_ |
bool | useVertices_ |
bool | useVtxError_ |
std::vector < StringCutObjectSelector < reco::Vertex > > | vertexCut_ |
edm::EDGetTokenT < reco::VertexCollection > | vertices_ |
std::vector< int32_t > | vtxNumber_ |
vertex cuts More... | |
selects a subset of a track collection, copying extra information on demand
Definition at line 35 of file AnalyticalTrackSelector.cc.
|
private |
Definition at line 44 of file AnalyticalTrackSelector.cc.
|
explicit |
constructor
Definition at line 66 of file AnalyticalTrackSelector.cc.
References HLT_FULL_cff::alias, MultiTrackSelector::applyAbsCutsIfNoPV_, MultiTrackSelector::applyAdaptedPVCuts_, MultiTrackSelector::beamspot_, MultiTrackSelector::chi2n_no1Dmod_par_, MultiTrackSelector::chi2n_par_, copyExtras_, copyTrajectories_, MultiTrackSelector::d0_par1_, MultiTrackSelector::d0_par2_, MultiTrackSelector::dz_par1_, MultiTrackSelector::dz_par2_, Exception, edm::ParameterSet::exists(), edm::ParameterSet::existsAs(), MultiTrackSelector::forest_, MultiTrackSelector::forestLabel_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), MultiTrackSelector::hSrc_, MultiTrackSelector::keepAllTracks_, MultiTrackSelector::max_d0_, MultiTrackSelector::max_d0NoPV_, MultiTrackSelector::max_eta_, MultiTrackSelector::max_lostHitFraction_, MultiTrackSelector::max_lostLayers_, MultiTrackSelector::max_minMissHitOutOrIn_, MultiTrackSelector::max_relpterr_, MultiTrackSelector::max_z0_, MultiTrackSelector::max_z0NoPV_, MultiTrackSelector::min_3Dlayers_, MultiTrackSelector::min_eta_, MultiTrackSelector::min_hits_bypass_, MultiTrackSelector::min_layers_, MultiTrackSelector::min_MVA_, MultiTrackSelector::min_nhits_, MultiTrackSelector::mvaType_, MultiTrackSelector::nSigmaZ_, MultiTrackSelector::preFilter_, pixelTrack::qualityByName(), MultiTrackSelector::qualityToSet_, MultiTrackSelector::res_par_, MultiTrackSelector::setQualityBit_, findQualityFiles::size, MultiTrackSelector::src_, srcTass_, srcTraj_, AlCaHLTBitMon_QueryRunRegistry::string, MultiTrackSelector::useAnyMVA_, MultiTrackSelector::useMVA_, MultiTrackSelector::useMVAonly_, MultiTrackSelector::useVertices_, MultiTrackSelector::useVtxError_, MultiTrackSelector::vertexCut_, MultiTrackSelector::vertices_, and MultiTrackSelector::vtxNumber_.
|
override |
|
overrideprivatevirtual |
process one event
Reimplemented from MultiTrackSelector.
Definition at line 233 of file AnalyticalTrackSelector.cc.
References MultiTrackSelector::beamspot_, edm::AssociationMap< edm::OneToOne< std::vector< Trajectory >, reco::TrackCollection, unsigned short > >::const_iterator, copyExtras_, copyTrajectories_, reco::Track::extra(), edm::Event::get(), edm::Event::getByToken(), edm::Event::getRefBeforePut(), MultiTrackSelector::hSrc_, mps_fire::i, reco::Track::innerDetId(), reco::Track::innerMomentum(), reco::Track::innerOk(), reco::Track::innerPosition(), reco::Track::innerStateCovariance(), MultiTrackSelector::keepAllTracks_, edm::Ref< C, T, F >::key(), LogDebug, LogTrace, loose, match(), eostools::move(), dqmiodumpmetadata::n, convertSQLiteXML::ok, reco::Track::outerDetId(), reco::Track::outerMomentum(), reco::Track::outerOk(), reco::Track::outerPosition(), reco::Track::outerStateCovariance(), MultiTrackSelector::processMVA(), reco::TrackBase::pt(), edm::Event::put(), MultiTrackSelector::qualityToSet_, reco::Track::recHitsBegin(), reco::Track::recHitsEnd(), dt_dqm_sourceclient_common_cff::reco, reco::Track::residuals(), reco::Track::seedDirection(), reco::Track::seedRef(), MultiTrackSelector::select(), MultiTrackSelector::selectVertices(), reco::TrackExtraBase::setHits(), MultiTrackSelector::setQualityBit_, reco::TrackExtra::setResiduals(), reco::TrackExtraBase::setTrajParams(), MultiTrackSelector::src_, srcTass_, srcTraj_, MultiTrackSelector::useAnyMVA_, MultiTrackSelector::useVertices_, and MultiTrackSelector::vertices_.
|
private |
copy only the tracks, not extras and rechits (for AOD)
Definition at line 49 of file AnalyticalTrackSelector.cc.
Referenced by AnalyticalTrackSelector(), and run().
|
private |
copy also trajectories and trajectory->track associations
Definition at line 51 of file AnalyticalTrackSelector.cc.
Referenced by AnalyticalTrackSelector(), and run().
|
private |
Definition at line 54 of file AnalyticalTrackSelector.cc.
|
private |
eta restrictions
Definition at line 53 of file AnalyticalTrackSelector.cc.
|
private |
Definition at line 57 of file AnalyticalTrackSelector.cc.
Referenced by AnalyticalTrackSelector(), and run().
|
private |
Definition at line 56 of file AnalyticalTrackSelector.cc.
Referenced by AnalyticalTrackSelector(), and run().