SQLamarr
The stand-alone ultra-fast simulation option for the LHCb experiment
LbParticleId.h
1 #pragma once
2 
3 #include "SQLamarr/db_functions.h"
4 #include "SQLamarr/GenerativePlugin.h"
5 
6 #include <memory>
7 
8 
9 namespace SQLamarr
10 {
11  namespace BlockLib
12  {
24  namespace LbParticleId
25  {
27  std::unique_ptr<GenerativePlugin> make (
28  SQLite3DB& db,
30  const std::string& library,
32  const std::string& function_name,
34  const std::string& output_table,
36  const std::string& particle_table,
40  const std::string& track_table,
44  const int abspid
46  );
47 
49  std::vector<std::string> get_column_names (
50  bool include_indices = true,
52  bool include_outputs = true
54  );
55  }
56  }
57 }
A database connection handler easying sharing the DB between C++ and Python.
Definition: db_functions.py:24
std::unique_ptr< GenerativePlugin > make(SQLite3DB &db, const std::string &library, const std::string &function_name, const std::string &output_table, const std::string &particle_table, const std::string &track_table, const int abspid)
Initialize a GenerativePlugin specialized for PID pipelines.
std::vector< std::string > get_column_names(bool include_indices=true, bool include_outputs=true)
Provide a vector of the names of the columns of the output table.