#include <TrackMVAClassifier.h>
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, GBRForest const *forestP, MVACollection &mvas) const =0 |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Static Protected Member Functions | |
static void | fill (edm::ParameterSetDescription &desc) |
Private Member Functions | |
void | beginStream (edm::StreamID) overridefinal |
void | produce (edm::Event &evt, const edm::EventSetup &es) overridefinal |
Private Attributes | |
edm::EDGetTokenT< reco::BeamSpot > | beamspot_ |
const std::string | dbFileName_ |
std::unique_ptr< GBRForest > | forest_ |
const std::string | forestLabel_ |
float | qualityCuts [3] |
edm::EDGetTokenT < reco::TrackCollection > | src_ |
source collection label More... | |
const bool | useForestFromDB_ |
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 |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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 27 of file TrackMVAClassifierBase.cc.
References assert(), begin, filterCSVwithJSON::copy, end, edm::ParameterSet::getParameter(), and qualityCuts.
TrackMVAClassifierBase::~TrackMVAClassifierBase | ( | ) |
Definition at line 25 of file TrackMVAClassifierBase.cc.
|
finaloverrideprivatevirtual |
Reimplemented from edm::stream::EDProducerBase.
Definition at line 94 of file TrackMVAClassifierBase.cc.
References dbFileName_, forest_, and forestLabel_.
|
protectedpure virtual |
Implemented in TrackMVAClassifier< MVA >.
Referenced by produce().
|
staticprotected |
Definition at line 13 of file TrackMVAClassifierBase.cc.
References edm::ParameterSetDescription::add(), hpstanc_transforms::cuts, HLT_FULL_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by TrackMVAClassifier< MVA >::fillDescriptions().
|
finaloverrideprivatevirtual |
Implements edm::stream::EDProducerBase.
Definition at line 44 of file TrackMVAClassifierBase.cc.
References assert(), beamspot_, computeMVA(), forest_, forestLabel_, edm::EventSetup::get(), edm::Event::getByToken(), reco::TrackBase::highPurity, relval_2017::k, reco::TrackBase::loose, eostools::move(), HLT_FULL_cff::mva, edm::ESHandle< class >::product(), edm::Event::put(), qualityCuts, src_, reco::TrackBase::tight, testEve_cfg::tracks, useForestFromDB_, and vertices_.
|
private |
Definition at line 50 of file TrackMVAClassifier.h.
Referenced by produce().
|
private |
Definition at line 57 of file TrackMVAClassifier.h.
Referenced by beginStream().
|
private |
Definition at line 55 of file TrackMVAClassifier.h.
Referenced by beginStream(), and produce().
|
private |
Definition at line 56 of file TrackMVAClassifier.h.
Referenced by beginStream(), and produce().
|
private |
Definition at line 61 of file TrackMVAClassifier.h.
Referenced by produce(), and TrackMVAClassifierBase().
|
private |
source collection label
Definition at line 49 of file TrackMVAClassifier.h.
Referenced by produce().
|
private |
Definition at line 58 of file TrackMVAClassifier.h.
Referenced by produce().
|
private |
Definition at line 51 of file TrackMVAClassifier.h.
Referenced by produce().