#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<> | |
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 Member Functions | |
TrackMVAClassifierBase (const edm::ParameterSet &cfg) | |
~TrackMVAClassifierBase () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
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 21 of file TrackMVAClassifier.h.
using TrackMVAClassifierBase::MVACollection = std::vector<float> |
Definition at line 26 of file TrackMVAClassifier.h.
using TrackMVAClassifierBase::MVAPairCollection = std::vector<std::pair<float, bool> > |
Definition at line 30 of file TrackMVAClassifier.h.
using TrackMVAClassifierBase::QualityMaskCollection = std::vector<unsigned char> |
Definition at line 27 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 L1TMuonDQMOffline_cfi::cuts, submitPVResolutionJobs::desc, and HLT_FULL_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, PDWG_EXOHSCP_cff::tracks, pwdgSkimBPark_cfi::vertices, and vertices_.
|
private |
Definition at line 47 of file TrackMVAClassifier.h.
Referenced by produce().
|
private |
Definition at line 50 of file TrackMVAClassifier.h.
Referenced by produce().
|
private |
Definition at line 55 of file TrackMVAClassifier.h.
Referenced by produce(), and TrackMVAClassifierBase().
|
private |
source collection label
Definition at line 46 of file TrackMVAClassifier.h.
Referenced by produce().
|
private |
Definition at line 48 of file TrackMVAClassifier.h.
Referenced by produce().