ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
Jet
BoostedJetTaggers
BoostedJetTaggers
IJSSMLTool.h
Go to the documentation of this file.
1
// Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
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
"
21
#include "
xAODPFlow/TrackCaloClusterContainer.h
"
22
23
namespace
AthONNX
{
24
25
class
IJSSMLTool
:
virtual
public
asg::IAsgTool
{
26
ASG_TOOL_INTERFACE
(
IJSSMLTool
)
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
std::vector<float>
retrieveConstituentsScoreMultiClass
(
const
std::vector<std::vector<float>>& constituents,
const
std::vector<std::vector<std::vector<float>>>& interactions,
const
std::vector<std::vector<float>>& mask)
const
= 0;
41
42
virtual
StatusCode
SetScaler
(
const
std::map<std::string, std::vector<double>> & scaler) = 0;
43
44
};
45
46
}
// end name space AthONNX
47
48
#endif
ASG_TOOL_INTERFACE
#define ASG_TOOL_INTERFACE(CLASSNAME)
Definition
AsgToolMacros.h:40
IAsgTool.h
JetContainer.h
TrackCaloClusterContainer.h
AthONNX::IJSSMLTool
Definition
IJSSMLTool.h:25
AthONNX::IJSSMLTool::retrieveConstituentsScoreMultiClass
virtual std::vector< float > retrieveConstituentsScoreMultiClass(const std::vector< std::vector< float > > &constituents, const std::vector< std::vector< std::vector< float > > > &interactions, const std::vector< std::vector< float > > &mask) const =0
AthONNX::IJSSMLTool::retrieveConstituentsScore
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
AthONNX::IJSSMLTool::retrieveConstituentsScore
virtual double retrieveConstituentsScore(std::vector< std::vector< float > > constituents) const =0
AthONNX::IJSSMLTool::retrieveHighLevelScore
virtual double retrieveHighLevelScore(std::map< std::string, double > JSSVars) const =0
AthONNX::IJSSMLTool::initialize
virtual StatusCode initialize()=0
Function initialising the tool.
AthONNX::IJSSMLTool::retrieveConstituentsScore
virtual double retrieveConstituentsScore(std::vector< TH2D > Images) const =0
Function executing the tool for a single event.
AthONNX::IJSSMLTool::retrieveConstituentsScore
virtual double retrieveConstituentsScore(std::vector< std::vector< float > > constituents, std::vector< std::vector< std::vector< float > > > interactions) const =0
AthONNX::IJSSMLTool::SetScaler
virtual StatusCode SetScaler(const std::map< std::string, std::vector< double > > &scaler)=0
asg::IAsgTool
Base class for the dual-use tool interface classes.
Definition
IAsgTool.h:41
AthONNX
Definition
IJSSMLTool.h:23
Generated on
for ATLAS Offline Software by
1.17.0