1 #include "fhiclcpp/ParameterSet.h"
13 std::string foldername = p.get<std::string>(
"DBFolderName");
14 std::string url = p.get<std::string>(
"DBUrl");
15 std::string url2 = p.get<std::string>(
"DBUrl2",
"");
16 std::string tag = p.get<std::string>(
"DBTag",
"");
17 bool usesqlite = p.get<
bool>(
"UseSQLite",
false);
18 bool testmode = p.get<
bool>(
"TestMode",
false);
19 fFolder.reset(
new DBFolder(foldername, url, url2, tag, usesqlite, testmode));
std::unique_ptr< DBFolder > fFolder
virtual void Reconfigure(fhicl::ParameterSet const &p)
Configure using fhicl::ParameterSet.
Class def header for a class DatabaseRetrievalAlg.