#include <TrackMVAClassifier.h>
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 Types | |
using | MVACollection = std::vector< float > |
using | QualityMaskCollection = std::vector< unsigned char > |
Protected Member Functions | |
virtual void | computeMVA (reco::TrackCollection const &tracks, reco::BeamSpot const &beamSpot, reco::VertexCollection const &vertices, MVACollection &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_ |
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 |
Definition at line 23 of file TrackMVAClassifier.h.
|
protected |
Definition at line 32 of file TrackMVAClassifier.h.
|
protected |
Definition at line 33 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 >.
Referenced by produce().
|
staticprotected |
Definition at line 11 of file TrackMVAClassifierBase.cc.
References edm::ParameterSetDescription::add(), and egammaForCoreTracking_cff::cuts.
Referenced by TrackMVAClassifier< MVA >::fillDescriptions().
|
protectedpure virtual |
Implemented in TrackMVAClassifier< MVA >.
Referenced by produce().
|
finalprivate |
Definition at line 39 of file TrackMVAClassifierBase.cc.
References beamspot_, computeMVA(), edm::Event::getByToken(), reco::TrackBase::highPurity, ignoreVertices_, initEvent(), edm::HandleBase::isValid(), gen::k, reco::TrackBase::loose, eostools::move(), DetachedQuadStep_cff::mva, RecoTauHPSTancTauProdcuer_cfi::mvas, edm::Event::put(), qualityCuts, src_, reco::TrackBase::tight, l1t::tracks, electrons_cff::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().