ATLAS Offline Software
IJSSMLTool.h
Go to the documentation of this file.
1 // IJSSMLTool.h
2 
3 #ifndef IJSSMLTool_H
4 #define IJSSMLTool_H
5 
6 #include "AsgTools/IAsgTool.h"
7 
8 // System include(s).
9 #include <memory>
10 #include <string>
11 #include <iostream>
12 #include <fstream>
13 #include <arpa/inet.h>
14 #include <numeric>
15 
16 // root
17 #include "TH2.h"
18 
19 // xAOD
20 #include "xAODJet/JetContainer.h"
22 
23 namespace AthONNX {
24 
25  class IJSSMLTool : virtual public asg::IAsgTool {
27 
28  public:
29 
31  virtual StatusCode initialize() = 0;
32 
34  virtual double retrieveConstituentsScore(std::vector<TH2D> Images) const = 0;
35  virtual double retrieveConstituentsScore(std::vector<std::vector<float>> constituents) const = 0;
36  virtual double retrieveHighLevelScore(std::map<std::string, double> JSSVars) const = 0;
37 
38  virtual StatusCode SetScaler(std::map<std::string, std::vector<double>> scaler) = 0;
39 
40  };
41 
42 } // end name space AthONNX
43 
44 #endif
AthONNX::IJSSMLTool::retrieveConstituentsScore
virtual double retrieveConstituentsScore(std::vector< TH2D > Images) const =0
Function executing the tool for a single event
xAOD::scaler
setOverV setNumU setNumY setODFibSel setYDetCS setYLhcCS setXRPotCS setXStatCS setXBeamCS scaler
Definition: ALFAData_v1.cxx:66
asg::IAsgTool
Base class for the dual-use tool interface classes.
Definition: IAsgTool.h:41
TrackCaloClusterContainer.h
AthONNX::IJSSMLTool::retrieveHighLevelScore
virtual double retrieveHighLevelScore(std::map< std::string, double > JSSVars) const =0
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthONNX::IJSSMLTool::SetScaler
virtual StatusCode SetScaler(std::map< std::string, std::vector< double >> scaler)=0
AthONNX::IJSSMLTool::retrieveConstituentsScore
virtual double retrieveConstituentsScore(std::vector< std::vector< float >> constituents) const =0
ASG_TOOL_INTERFACE
#define ASG_TOOL_INTERFACE(CLASSNAME)
Definition: AsgToolMacros.h:40
IAsgTool.h
AthONNX
Definition: IJSSMLTool.h:23
AthONNX::IJSSMLTool
Definition: IJSSMLTool.h:25
JetContainer.h
AthONNX::IJSSMLTool::initialize
virtual StatusCode initialize()=0
Function initialising the tool