9 theAbstractConfReconstructors[
name] =
o;
10 theDescription[
name] =
d;
16 auto found = theDescription.find(
d);
17 if (
found == theDescription.end()) {
26 std::cout <<
"[VertexRecoManager] copy constructor! Error!" << std::endl;
47 auto found = theAbstractConfReconstructors.find(
s);
48 if (
found == theAbstractConfReconstructors.end()) {
49 return std::unique_ptr<AbstractConfReconstructor>{};
51 return std::unique_ptr<AbstractConfReconstructor>{
found->second()};
55 std::vector<std::string>
ret;
56 ret.reserve(theAbstractConfReconstructors.size());
57 for (
const auto&
i : theAbstractConfReconstructors) {
58 ret.push_back(
i.first);
VertexRecoManager * clone() const
ret
prodAgent to be discontinued
std::string describe(const std::string &) const
static VertexRecoManager & Instance()
std::unique_ptr< AbstractConfReconstructor > get(const std::string &) const
std::vector< std::string > getNames() const
void registerReconstructor(const std::string &name, std::function< AbstractConfReconstructor *()> o, const std::string &description)