#include <HIMultiTrackSelector.h>
Public Member Functions | |
HIMultiTrackSelector () | |
constructor More... | |
HIMultiTrackSelector (const edm::ParameterSet &cfg) | |
~HIMultiTrackSelector () override | |
destructor More... | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
Protected Types | |
typedef math::XYZPoint | Point |
Protected Member Functions | |
void | beginStream (edm::StreamID) final |
void | ParseForestVars () |
void | processMVA (edm::Event &evt, const edm::EventSetup &es, std::vector< float > &mvaVals_, const reco::VertexCollection &hVtx) const |
void | produce (edm::Event &evt, const edm::EventSetup &es) final |
process one event More... | |
virtual void | run (edm::Event &evt, const edm::EventSetup &es) const |
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 | |
std::vector< bool > | applyAbsCutsIfNoPV_ |
std::vector< bool > | applyAdaptedPVCuts_ |
bool | applyPixelMergingCuts_ |
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_ |
GBRForest * | forest_ |
std::string | forestLabel_ |
std::vector< std::string > | forestVars_ |
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::string | mvaType_ |
std::vector< int > | mvavars_indices |
std::vector< std::string > | name_ |
std::vector< double > | nSigmaZ_ |
std::vector< std::vector< double > > | pixel_pTMaxCut_ |
std::vector< std::vector< double > > | pixel_pTMinCut_ |
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_ |
bool | useVertices_ |
bool | useVtxError_ |
std::vector< StringCutObjectSelector< reco::Vertex > > | vertexCut_ |
edm::EDGetTokenT< reco::VertexCollection > | vertices_ |
std::vector< int32_t > | vtxNumber_ |
vertex cuts More... | |
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 |
selects a subset of a track collection, copying extra information on demand
Definition at line 52 of file HIMultiTrackSelector.h.
|
protected |
Definition at line 70 of file HIMultiTrackSelector.h.
|
explicit |
|
explicit |
Definition at line 94 of file HIMultiTrackSelector.cc.
References applyAbsCutsIfNoPV_, applyAdaptedPVCuts_, applyPixelMergingCuts_, chi2n_no1Dmod_par_, chi2n_par_, d0_par1_, d0_par2_, dbFileName_, dz_par1_, dz_par2_, Exception, edm::ParameterSet::exists(), forest_, forestLabel_, forestVars_, edm::ParameterSet::getParameter(), mps_fire::i, keepAllTracks_, max_d0_, max_d0NoPV_, max_eta_, max_lostHitFraction_, max_lostLayers_, max_minMissHitOutOrIn_, max_relpterr_, max_z0_, max_z0NoPV_, min_3Dlayers_, min_eta_, min_hits_bypass_, min_layers_, min_MVA_, min_nhits_, mvaType_, name_, nSigmaZ_, ParseForestVars(), pixel_pTMaxCut_, pixel_pTMinCut_, preFilter_, qualityToSet_, res_par_, setQualityBit_, AlCaHLTBitMon_QueryRunRegistry::string, useAnyMVA_, useForestFromDB_, useMVA_, useVertices_, vertexCut_, vertices_, and vtxNumber_.
|
override |
|
finalprotected |
Definition at line 278 of file HIMultiTrackSelector.cc.
References dbFileName_, forest_, forestLabel_, and useForestFromDB_.
|
protected |
Definition at line 64 of file HIMultiTrackSelector.cc.
References chi2n, chi2n_no1dmod, chi2perdofperlayer, dxyperdxyerror, dzperdzerror, PVValHelper::eta, etaerror, mps_fire::i, lostmidfrac, minlost, ndof, nhits, nlayers, nlayers3d, nlayerslost, relpterr, AlCaHLTBitMon_QueryRunRegistry::string, and findQualityFiles::v.
Referenced by HIMultiTrackSelector().
|
protected |
Definition at line 593 of file HIMultiTrackSelector.cc.
References vertices_cff::chi2, reco::TrackBase::chi2(), chi2n, chi2n_no1dmod, chi2perdofperlayer, DEFINE_FWK_MODULE, TrackingRecHit::dimension(), PVValHelper::dxy, reco::TrackBase::dxy(), reco::TrackBase::dxyError(), dxyperdxyerror, PVValHelper::dz, reco::TrackBase::dz(), reco::TrackBase::dzError(), dzperdzerror, PVValHelper::eta, reco::TrackBase::eta(), etaerror, reco::TrackBase::etaError(), reco::Track::extra(), f, spr::find(), objects.autophobj::float, forest_, forestLabel_, edm::EventSetup::get(), edm::Event::getByToken(), GBRForest::GetClassifier(), reco::TrackBase::hitPattern(), hSrc_, mps_fire::i, lostmidfrac, SiStripPI::max, min(), minlost, reco::HitPattern::MISSING_INNER_HITS, reco::HitPattern::MISSING_OUTER_HITS, eostools::move(), mvavars_indices, ndof, reco::TrackBase::ndof(), nhits, nlayers, nlayers3d, nlayerslost, reco::TrackBase::normalizedChi2(), reco::TrackBase::numberOfLostHits(), reco::HitPattern::numberOfLostTrackerHits(), reco::TrackBase::numberOfValidHits(), reco::HitPattern::numberOfValidStripLayersWithMonoAndStereo(), reco::HitPattern::pixelLayersWithMeasurement(), position, edm::ESHandle< T >::product(), reco::TrackBase::pt(), reco::TrackBase::ptError(), edm::Event::put(), reco::Track::recHitsSize(), relpterr, mathSSE::sqrt(), src_, HiCentrality_cfi::srcTracks, reco::HitPattern::TRACK_HITS, reco::HitPattern::trackerLayersWithMeasurement(), reco::HitPattern::trackerLayersWithoutMeasurement(), useAnyMVA_, and useForestFromDB_.
Referenced by run().
|
inlinefinalprotected |
process one event
Definition at line 72 of file HIMultiTrackSelector.h.
References hiPixelPairStep_cff::points, writedatasetfile::run, and TauGenJetsDecayModeSelectorAllHadrons_cfi::select.
|
protectedvirtual |
Definition at line 288 of file HIMultiTrackSelector.cc.
References beamspot_, objects.autophobj::filler, edm::Event::getByToken(), muons_cff::highPurity, hSrc_, mps_fire::i, keepAllTracks_, LogTrace, eostools::move(), name_, convertSQLiteXML::ok, hiPixelPairStep_cff::points, preFilter_, processMVA(), reco::TrackBase::pt(), edm::Event::put(), reco::TrackBase::qualityMask(), qualityToSet_, select(), selectVertices(), setQualityBit_, src_, HiCentrality_cfi::srcTracks, useAnyMVA_, useVertices_, and vertices_.
|
protected |
return class, or -1 if rejected
Definition at line 398 of file HIMultiTrackSelector.cc.
References funct::abs(), applyAbsCutsIfNoPV_, applyAdaptedPVCuts_, applyPixelMergingCuts_, vertices_cff::chi2, reco::TrackBase::chi2(), chi2n, chi2n_no1Dmod_par_, chi2n_par_, allConversions_cfi::d0, d0_par1_, d0_par2_, reco::TrackBase::d0Error(), TrackingRecHit::dimension(), reco::TrackBase::dxy(), PVValHelper::dz, reco::TrackBase::dz(), dz_par1_, dz_par2_, pfChMet_cfi::dzCut, reco::TrackBase::dzError(), particleFlow_cfi::dzPV, end, PVValHelper::eta, reco::TrackBase::eta(), reco::Track::extra(), f, objects.autophobj::float, reco::TrackBase::hitPattern(), LogDebug, LogTrace, SiStripPI::max, max_d0_, max_d0NoPV_, max_eta_, max_lostHitFraction_, max_lostLayers_, max_minMissHitOutOrIn_, max_relpterr_, max_z0_, max_z0NoPV_, min(), min_3Dlayers_, min_eta_, min_hits_bypass_, min_layers_, min_MVA_, min_nhits_, reco::HitPattern::MISSING_INNER_HITS, reco::HitPattern::MISSING_OUTER_HITS, ndof, reco::TrackBase::ndof(), nhits, nlayers, reco::TrackBase::normalizedChi2(), nSigmaZ_, reco::TrackBase::numberOfLostHits(), reco::HitPattern::numberOfLostTrackerHits(), reco::TrackBase::numberOfValidHits(), reco::HitPattern::numberOfValidStripLayersWithMonoAndStereo(), pixel_pTMaxCut_, pixel_pTMinCut_, reco::HitPattern::pixelLayersWithMeasurement(), point, reco::BeamSpot::position(), funct::pow(), EnergyCorrector::pt, reco::TrackBase::pt(), reco::TrackBase::ptError(), reco::Track::recHitsSize(), relpterr, res_par_, reco::BeamSpot::sigmaZ(), mathSSE::sqrt(), reco::HitPattern::TRACK_HITS, reco::HitPattern::trackerLayersWithMeasurement(), reco::HitPattern::trackerLayersWithoutMeasurement(), useAnyMVA_, useMVA_, and useVtxError_.
Referenced by run().
|
protected |
Definition at line 569 of file HIMultiTrackSelector.cc.
References LogDebug, LogTrace, mathSSE::sqrt(), vertexCut_, badGlobalMuonTaggersAOD_cff::vtx, and vtxNumber_.
Referenced by run().
|
protected |
Definition at line 159 of file HIMultiTrackSelector.h.
Referenced by HIMultiTrackSelector(), and select().
|
protected |
Definition at line 127 of file HIMultiTrackSelector.h.
Referenced by HIMultiTrackSelector(), and select().
|
protected |
Definition at line 107 of file HIMultiTrackSelector.h.
Referenced by HIMultiTrackSelector(), and select().
|
protected |
Definition at line 99 of file HIMultiTrackSelector.h.
Referenced by run().
|
protected |
Definition at line 121 of file HIMultiTrackSelector.h.
Referenced by HIMultiTrackSelector(), and select().
|
protected |
Definition at line 120 of file HIMultiTrackSelector.h.
Referenced by HIMultiTrackSelector(), and select().
|
protected |
Definition at line 122 of file HIMultiTrackSelector.h.
Referenced by HIMultiTrackSelector(), and select().
|
protected |
Definition at line 124 of file HIMultiTrackSelector.h.
Referenced by HIMultiTrackSelector(), and select().
|
protected |
Definition at line 181 of file HIMultiTrackSelector.h.
Referenced by beginStream(), and HIMultiTrackSelector().
|
protected |
Definition at line 123 of file HIMultiTrackSelector.h.
Referenced by HIMultiTrackSelector(), and select().
|
protected |
Definition at line 125 of file HIMultiTrackSelector.h.
Referenced by HIMultiTrackSelector(), and select().
|
protected |
Definition at line 179 of file HIMultiTrackSelector.h.
Referenced by beginStream(), HIMultiTrackSelector(), processMVA(), and ~HIMultiTrackSelector().
|
protected |
Definition at line 177 of file HIMultiTrackSelector.h.
Referenced by beginStream(), HIMultiTrackSelector(), and processMVA().
|
protected |
Definition at line 178 of file HIMultiTrackSelector.h.
Referenced by HIMultiTrackSelector().
|
protected |
Definition at line 98 of file HIMultiTrackSelector.h.
Referenced by processMVA(), and run().
|
protected |
Definition at line 161 of file HIMultiTrackSelector.h.
Referenced by HIMultiTrackSelector(), and run().
|
protected |
Impact parameter absolute cuts.
Definition at line 130 of file HIMultiTrackSelector.h.
Referenced by HIMultiTrackSelector(), and select().
|
protected |
Definition at line 157 of file HIMultiTrackSelector.h.
Referenced by HIMultiTrackSelector(), and select().
|
protected |
Definition at line 154 of file HIMultiTrackSelector.h.
Referenced by HIMultiTrackSelector(), and select().
|
protected |
Definition at line 151 of file HIMultiTrackSelector.h.
Referenced by HIMultiTrackSelector(), and select().
|
protected |
Definition at line 143 of file HIMultiTrackSelector.h.
Referenced by HIMultiTrackSelector(), and select().
|
protected |
Definition at line 150 of file HIMultiTrackSelector.h.
Referenced by HIMultiTrackSelector(), and select().
|
protected |
Definition at line 147 of file HIMultiTrackSelector.h.
Referenced by HIMultiTrackSelector(), and select().
|
protected |
Definition at line 131 of file HIMultiTrackSelector.h.
Referenced by HIMultiTrackSelector(), and select().
|
protected |
Definition at line 158 of file HIMultiTrackSelector.h.
Referenced by HIMultiTrackSelector(), and select().
|
protected |
Definition at line 142 of file HIMultiTrackSelector.h.
Referenced by HIMultiTrackSelector(), and select().
|
protected |
Definition at line 153 of file HIMultiTrackSelector.h.
Referenced by HIMultiTrackSelector(), and select().
|
protected |
Definition at line 144 of file HIMultiTrackSelector.h.
Referenced by HIMultiTrackSelector(), and select().
|
protected |
Cuts on numbers of layers with hits/3D hits/lost hits.
Definition at line 141 of file HIMultiTrackSelector.h.
Referenced by HIMultiTrackSelector(), and select().
|
protected |
Definition at line 173 of file HIMultiTrackSelector.h.
Referenced by HIMultiTrackSelector(), and select().
|
protected |
Definition at line 148 of file HIMultiTrackSelector.h.
Referenced by HIMultiTrackSelector(), and select().
|
protected |
Definition at line 176 of file HIMultiTrackSelector.h.
Referenced by HIMultiTrackSelector().
|
protected |
Definition at line 171 of file HIMultiTrackSelector.h.
Referenced by processMVA().
|
protected |
Definition at line 165 of file HIMultiTrackSelector.h.
Referenced by HIMultiTrackSelector(), and run().
|
protected |
Definition at line 132 of file HIMultiTrackSelector.h.
Referenced by HIMultiTrackSelector(), and select().
|
protected |
Definition at line 137 of file HIMultiTrackSelector.h.
Referenced by HIMultiTrackSelector(), and select().
|
protected |
Definition at line 136 of file HIMultiTrackSelector.h.
Referenced by HIMultiTrackSelector(), and select().
|
protected |
Definition at line 164 of file HIMultiTrackSelector.h.
Referenced by HIMultiTrackSelector(), and run().
|
protected |
Definition at line 111 of file HIMultiTrackSelector.h.
Referenced by HIMultiTrackSelector(), and run().
|
protected |
Definition at line 119 of file HIMultiTrackSelector.h.
Referenced by HIMultiTrackSelector(), and select().
|
protected |
do I have to set a quality bit?
Definition at line 110 of file HIMultiTrackSelector.h.
Referenced by HIMultiTrackSelector(), and run().
|
protected |
source collection label
Definition at line 97 of file HIMultiTrackSelector.h.
Referenced by processMVA(), and run().
|
protected |
Definition at line 102 of file HIMultiTrackSelector.h.
Referenced by HIMultiTrackSelector(), processMVA(), run(), and select().
|
protected |
Definition at line 180 of file HIMultiTrackSelector.h.
Referenced by beginStream(), HIMultiTrackSelector(), and processMVA().
|
protected |
Definition at line 168 of file HIMultiTrackSelector.h.
Referenced by HIMultiTrackSelector(), and select().
|
protected |
Definition at line 100 of file HIMultiTrackSelector.h.
Referenced by HIMultiTrackSelector(), and run().
|
protected |
Definition at line 101 of file HIMultiTrackSelector.h.
Referenced by select().
|
protected |
Definition at line 116 of file HIMultiTrackSelector.h.
Referenced by HIMultiTrackSelector(), and selectVertices().
|
protected |
Definition at line 103 of file HIMultiTrackSelector.h.
Referenced by HIMultiTrackSelector(), and run().
|
protected |
vertex cuts
Definition at line 114 of file HIMultiTrackSelector.h.
Referenced by HIMultiTrackSelector(), and selectVertices().