![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef JSSWTOPTAGGERANN_H_
6 #define JSSWTOPTAGGERANN_H_
10 #include "lwtnn/LightweightGraph.hh"
11 #include "lwtnn/parse_json.hh"
12 #include "lwtnn/Exceptions.hh"
13 #include "lwtnn/lightweight_nn_streamers.hh"
34 std::unique_ptr<lwt::LightweightGraph>
m_lwnn;
JSSWTopTaggerANN(const std::string &name)
Constructor.
std::map< std::string, std::map< std::string, double > > m_ANN_inputValues
std::unique_ptr< lwt::LightweightGraph > m_lwnn
ANN tools.
virtual StatusCode decorate(const xAOD::JetContainer &jets) const override
Decorate jet collection with tagging info.
double getScore(const xAOD::Jet &jet) const
Retrieve score for a given ANN type (top/W)
std::map< std::string, std::map< std::string, double > > getJetProperties(const xAOD::Jet &jet) const
Update the jet substructure variables for each jet to use in ANN.
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode initialize() override
Run once at the start of the job to setup everything.
std::vector< std::string > m_out_names
Internal stuff to keep track of the output node for the NN.
virtual StatusCode tag(const xAOD::Jet &jet) const override
Decorate single jet with tagging info.