#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 | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () 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 23 of file TrackMVAClassifier.h.
using TrackMVAClassifierBase::MVACollection = std::vector<float> |
Definition at line 28 of file TrackMVAClassifier.h.
using TrackMVAClassifierBase::MVAPairCollection = std::vector<std::pair<float, bool>> |
Definition at line 32 of file TrackMVAClassifier.h.
using TrackMVAClassifierBase::QualityMaskCollection = std::vector<unsigned char> |
Definition at line 29 of file TrackMVAClassifier.h.
|
explicit |
Definition at line 24 of file TrackMVAClassifierBase.cc.
References begin, popcon2dropbox::copy(), end, edm::ParameterSet::getParameter(), and qualityCuts.
|
override |
Definition at line 22 of file TrackMVAClassifierBase.cc.
|
protectedpure virtual |
Implemented in TrackMVAClassifier< MVA, EventCache >.
Referenced by produce().
|
staticprotected |
Definition at line 11 of file TrackMVAClassifierBase.cc.
References edm::ParameterSetDescription::add(), and egammaForCoreTracking_cff::cuts.
Referenced by TrackMVAClassifier< MVA, EventCache >::fillDescriptions().
|
protectedpure virtual |
Implemented in TrackMVAClassifier< MVA, EventCache >.
Referenced by produce().
|
finalprivate |
Definition at line 39 of file TrackMVAClassifierBase.cc.
References beamspot_, computeMVA(), f, edm::Event::getByToken(), reco::TrackBase::highPurity, ignoreVertices_, initEvent(), edm::HandleBase::isValid(), gen::k, reco::TrackBase::loose, SiStripPI::max, eostools::move(), DetachedQuadStep_cff::mva, RecoTauHPSTancTauProdcuer_cfi::mvas, convertSQLitetoXML_cfg::output, edm::Event::put(), qualityCuts, src_, reco::TrackBase::tight, l1t::tracks, electrons_cff::vertices, and vertices_.
|
private |
Definition at line 51 of file TrackMVAClassifier.h.
Referenced by produce().
|
private |
Definition at line 54 of file TrackMVAClassifier.h.
Referenced by produce().
|
private |
Definition at line 59 of file TrackMVAClassifier.h.
Referenced by produce(), and TrackMVAClassifierBase().
|
private |
source collection label
Definition at line 50 of file TrackMVAClassifier.h.
Referenced by produce().
|
private |
Definition at line 52 of file TrackMVAClassifier.h.
Referenced by produce().