![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef JETQGTAGGERBDT_H_
6 #define JETQGTAGGERBDT_H_
12 #include "TMVA/Tools.h"
13 #include "TMVA/Reader.h"
14 #include "TMVA/MethodCuts.h"
17 class IInDetTrackSelectionTool;
53 std::unique_ptr<TMVA::Reader>
tmva;
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
virtual StatusCode tag(const xAOD::Jet &jet) const override
IBoostedJetTagger interface.
JetQGTaggerBDT(const std::string &name)
Constructor.
SG::WriteDecorHandleKey< xAOD::JetContainer > m_decScoreKey
WriteDecorHandle keys.
DUMMY Primary Vertex Finder.
Select isolated Photons, Electrons and Muons.
Maintain a set of objects, one per slot.
::StatusCode StatusCode
StatusCode definition for legacy code.
bool getJetProperties(const xAOD::Jet &jet, asg::AcceptData &acceptData) const
Update the jet substructure variables for each jet to use in BDT.
float getScore(const xAOD::Jet &jet, asg::AcceptData &acceptData) const
Retrieve BDT score.
SG::SlotSpecificObj< Tagger > m_bdtTagger ATLAS_THREAD_SAFE
asg::AnaToolHandle< InDet::IInDetTrackSelectionTool > m_trkSelectionTool
bool getPrecomputedVariables(const xAOD::Jet &jet, asg::AcceptData &acceptData) const
Slot-specific TMVA tool and associated variables.
bool calculateVariables(const xAOD::Jet &jet, asg::AcceptData &acceptData) const
virtual StatusCode initialize() override
Run once at the start of the job to setup everything.
bool isCorrectNumberOfTracks(int expectedNTracks, int nTracksFromGhostTracks) const
Define macros for attributes used to control the static checker.
std::unique_ptr< TMVA::Reader > tmva