#include <ElectronTagger.h>
Public Member Functions | |
virtual float | discriminator (const TagInfoHelper &tagInfo) const override |
b-tag a jet based on track-to-jet parameters in the extened info collection More... | |
ElectronTagger (const edm::ParameterSet &) | |
explicit ctor More... | |
void | initialize (const JetTagComputerRecord &) override |
Public Member Functions inherited from JetTagComputer | |
const std::vector< std::string > & | getInputLabels () const |
JetTagComputer () | |
JetTagComputer (const edm::ParameterSet &configuration) | |
float | operator() (const reco::BaseTagInfo &info) const |
float | operator() (const TagInfoHelper &helper) const |
void | setupDone () |
virtual | ~JetTagComputer () |
Private Attributes | |
const std::string | m_gbrForestLabel |
const btag::LeptonSelector | m_selector |
const bool | m_useAdaBoost |
const bool | m_useCondDB |
const bool | m_useGBRForest |
const edm::FileInPath | m_weightFile |
std::unique_ptr< TMVAEvaluator > | mvaID |
Additional Inherited Members | |
Protected Member Functions inherited from JetTagComputer | |
virtual float | discriminator (const reco::BaseTagInfo &) const |
void | uses (unsigned int id, const std::string &label) |
void | uses (const std::string &label) |
Definition at line 16 of file ElectronTagger.h.
ElectronTagger::ElectronTagger | ( | const edm::ParameterSet & | cfg | ) |
explicit ctor
Definition at line 14 of file ElectronTagger.cc.
References mvaID, and JetTagComputer::uses().
|
overridevirtual |
b-tag a jet based on track-to-jet parameters in the extened info collection
Reimplemented from JetTagComputer.
Definition at line 46 of file ElectronTagger.cc.
References funct::abs(), reco::SoftLeptonProperties::deltaR, reco::SoftLeptonProperties::elec_mva, f, JetTagComputer::TagInfoHelper::get(), i, infinity, info(), SiPixelRawToDigiRegional_cfi::inputs, btag::LeptonSelector::isNegative(), reco::TemplatedSoftLeptonTagInfo< REF >::leptons(), m_selector, mvaID, reco::TemplatedSoftLeptonTagInfo< REF >::properties(), reco::SoftLeptonProperties::ptRel, random, reco::SoftLeptonProperties::ratio, reco::SoftLeptonProperties::sip2dsig, reco::SoftLeptonProperties::sip3dsig, and GlobalPosition_Frontier_DevDB_cff::tag.
|
overridevirtual |
Reimplemented from JetTagComputer.
Definition at line 26 of file ElectronTagger.cc.
References edm::FileInPath::fullPath(), edm::eventsetup::EventSetupRecord::get(), edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord(), m_gbrForestLabel, m_useAdaBoost, m_useCondDB, m_useGBRForest, m_weightFile, mvaID, and makeLayoutFileForGui::variables.
|
private |
Definition at line 27 of file ElectronTagger.h.
Referenced by initialize().
|
private |
Definition at line 25 of file ElectronTagger.h.
Referenced by discriminator().
|
private |
Definition at line 30 of file ElectronTagger.h.
Referenced by initialize().
|
private |
Definition at line 26 of file ElectronTagger.h.
Referenced by initialize().
|
private |
Definition at line 29 of file ElectronTagger.h.
Referenced by initialize().
|
private |
Definition at line 28 of file ElectronTagger.h.
Referenced by initialize().
|
private |
Definition at line 32 of file ElectronTagger.h.
Referenced by discriminator(), ElectronTagger(), and initialize().