ATLAS Offline Software
Loading...
Searching...
No Matches
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
22
23namespace 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 retrieveConstituentsScore(std::vector<std::vector<float>> constituents, std::vector<std::vector<std::vector<float>>> interactions) const = 0;
37 virtual double retrieveConstituentsScore(std::vector<std::vector<float>> constituents, std::vector<std::vector<std::vector<float>>> interactions, std::vector<std::vector<float>> mask) const = 0;
38 virtual double retrieveHighLevelScore(std::map<std::string, double> JSSVars) const = 0;
39
40 virtual StatusCode SetScaler(std::map<std::string, std::vector<double>> scaler) = 0;
41
42 };
43
44} // end name space AthONNX
45
46#endif
#define ASG_TOOL_INTERFACE(CLASSNAME)
virtual StatusCode SetScaler(std::map< std::string, std::vector< double > > scaler)=0
virtual double retrieveConstituentsScore(std::vector< std::vector< float > > constituents, std::vector< std::vector< std::vector< float > > > interactions, std::vector< std::vector< float > > mask) const =0
virtual double retrieveConstituentsScore(std::vector< std::vector< float > > constituents) const =0
virtual double retrieveHighLevelScore(std::map< std::string, double > JSSVars) const =0
virtual StatusCode initialize()=0
Function initialising the tool.
virtual double retrieveConstituentsScore(std::vector< TH2D > Images) const =0
Function executing the tool for a single event.
virtual double retrieveConstituentsScore(std::vector< std::vector< float > > constituents, std::vector< std::vector< std::vector< float > > > interactions) const =0
Base class for the dual-use tool interface classes.
Definition IAsgTool.h:41