Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef PhotonVertexSelection_PhotonVertexSelectionTool_h
6 #define PhotonVertexSelection_PhotonVertexSelectionTool_h
24 #include <onnxruntime_cxx_api.h>
65 std::unique_ptr<TMVA::Reader>
m_mva1;
66 std::unique_ptr<TMVA::Reader>
m_mva2;
91 std::tuple<std::shared_ptr<Ort::Session>, Ort::AllocatorWithDefaultOptions>
setONNXSession(Ort::Env&
env,
const std::string& modelFilePath);
93 std::tuple<std::vector<int64_t>, std::vector<const char*>>
getInputNodes(
const std::shared_ptr<Ort::Session> sessionHandle, Ort::AllocatorWithDefaultOptions& allocator);
95 std::tuple<std::vector<int64_t>, std::vector<const char*>>
getOutputNodes(
const std::shared_ptr<Ort::Session> sessionHandle, Ort::AllocatorWithDefaultOptions& allocator);
97 float getScore(
int nVars,
const std::vector<std::vector<float>>& input_data,
const std::shared_ptr<Ort::Session> sessionHandle, std::vector<int64_t> input_node_dims, std::vector<const char*> input_node_names, std::vector<const char*> output_node_names)
const;
105 static bool sortMLP(
const std::pair<const xAOD::Vertex*, float> &
a,
const std::pair<const xAOD::Vertex*, float> &
b);
159 #endif // PhotonVertexSelection_PhotonVertexSelectionTool_h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Select isolated Photons, Electrons and Muons.
::StatusCode StatusCode
StatusCode definition for legacy code.
Class describing a Vertex.