15 #include "SQLamarr/BaseSqlInterface.h"
16 #include "SQLamarr/Transformer.h"
63 std::array<SmearingParametrization_1D, 3>
data;
81 const SmearingParametrization& parametrization
86 const std::string file_path,
88 const std::string table_name,
90 const std::string condition
97 SmearingParametrization m_parametrization;
100 static void _sql_rnd_ggg (
101 sqlite3_context *context,
Abstract interface with helper functions to access an SQLite DB.
Transform the MCVertices objects identified as primary vertices into Vertices, smearing their positio...
static SmearingParametrization load_parametrization(const std::string file_path, const std::string table_name, const std::string condition)
Instanciate a SmearingParametrization object from an SQLite file.
void execute() override
Execute the algorithm adding primary vertices to Vertices table.
PVReconstruction(SQLite3DB &db, const SmearingParametrization ¶metrization)
Constructor.
A database connection handler easying sharing the DB between C++ and Python.
Set of parameters defining a 3-Gaussian resolution function in 1D.
Set of parmeters defining three 3-Gaussian functions for x, y and z.
std::array< SmearingParametrization_1D, 3 > data
Access to raw data in array format.
SmearingParametrization_1D & x()
Read/Write access to coordinate parametrization.
SmearingParametrization_1D & y()
Read/Write access to coordinate parametrization.
SmearingParametrization_1D & z()
Read/Write access to coordinate parametrization.