#include <TrackMVAClassifier.h>
Public Types | |
using | MVACollection = std::vector< float > |
using | MVAPairCollection = std::vector< std::pair< float, bool > > |
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 |
Public Member Functions | |
TrackMVAClassifierBase (const edm::ParameterSet &cfg) | |
~TrackMVAClassifierBase () override | |
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 |
Protected Member Functions | |
virtual void | computeMVA (reco::TrackCollection const &tracks, reco::BeamSpot const &beamSpot, reco::VertexCollection const &vertices, MVAPairCollection &mvas) const =0 |
virtual void | initEvent (const edm::EventSetup &es)=0 |
Static Protected Member Functions | |
static void | fill (edm::ParameterSetDescription &desc) |
Private Member Functions | |
void | produce (edm::Event &evt, const edm::EventSetup &es) final |
Private Attributes | |
edm::EDGetTokenT< reco::BeamSpot > | beamspot_ |
bool | ignoreVertices_ |
float | qualityCuts [3] |
edm::EDGetTokenT< reco::TrackCollection > | src_ |
source collection label More... | |
edm::EDGetTokenT< reco::VertexCollection > | vertices_ |
Definition at line 22 of file TrackMVAClassifier.h.
using TrackMVAClassifierBase::MVACollection = std::vector<float> |
Definition at line 27 of file TrackMVAClassifier.h.
using TrackMVAClassifierBase::MVAPairCollection = std::vector<std::pair<float, bool> > |
Definition at line 31 of file TrackMVAClassifier.h.
using TrackMVAClassifierBase::QualityMaskCollection = std::vector<unsigned char> |
Definition at line 28 of file TrackMVAClassifier.h.
|
explicit |
Definition at line 22 of file TrackMVAClassifierBase.cc.
References cms::cuda::assert(), looper::cfg, filterCSVwithJSON::copy, mps_fire::end, and qualityCuts.
|
override |
Definition at line 20 of file TrackMVAClassifierBase.cc.
|
protectedpure virtual |
Implemented in TrackMVAClassifier< MVA, EventCache >.
Referenced by produce().
|
staticprotected |
Definition at line 10 of file TrackMVAClassifierBase.cc.
References cuts, submitPVResolutionJobs::desc, and HLT_2022v12_cff::InputTag.
Referenced by TrackMVAClassifier< MVA, EventCache >::fillDescriptions().
|
protectedpure virtual |
Implemented in TrackMVAClassifier< MVA, EventCache >.
Referenced by produce().
|
finalprivate |
Definition at line 35 of file TrackMVAClassifierBase.cc.
References cms::cuda::assert(), beamspot_, computeMVA(), f, edm::Event::getByToken(), reco::TrackBase::highPurity, ignoreVertices_, initEvent(), edm::HandleBase::isValid(), dqmdumpme::k, reco::TrackBase::loose, SiStripPI::max, eostools::move(), beam_dqm_sourceclient-live_cfg::mva, convertSQLitetoXML_cfg::output, edm::Event::put(), qualityCuts, src_, reco::TrackBase::tight, tracks, AlignmentTracksFromVertexSelector_cfi::vertices, and vertices_.
|
private |
Definition at line 48 of file TrackMVAClassifier.h.
Referenced by produce().
|
private |
Definition at line 51 of file TrackMVAClassifier.h.
Referenced by produce().
|
private |
Definition at line 56 of file TrackMVAClassifier.h.
Referenced by produce(), and TrackMVAClassifierBase().
|
private |
source collection label
Definition at line 47 of file TrackMVAClassifier.h.
Referenced by produce().
|
private |
Definition at line 49 of file TrackMVAClassifier.h.
Referenced by produce().