#ifndef ROOT_API_HPP #define ROOT_API_HPP #include #include #include #include "filval/api.hpp" #include "filval_root/value.hpp" namespace fv::root{ Value>* lorentz_vectors(Value>* pt, Value>* eta, Value>* phi, Value>* mass, const std::string& alias=""){ return new root::LorentzVectors(pt, eta, phi, mass, alias); } Value>* lorentz_vectors(const std::string& pt_name, const std::string& eta_name, const std::string& phi_name, const std::string& mass_name, const std::string& alias=""){ return lorentz_vectors(lookup>(pt_name), lookup>(eta_name), lookup>(phi_name), lookup>(mass_name), alias); } Value>* energies(Value>* vectors, const std::string& alias=""){ return new root::Energies(vectors, alias); } Value>* energies(const std::string& vectors_name, const std::string& alias=""){ return energies(lookup>(vectors_name), alias); } } #endif // ROOT_API_HPP