AmpGen 2.1
Loading...
Searching...
No Matches
ConfigurableBase.h
Go to the documentation of this file.
1#ifndef AMPGEN_CONFIGURABLEBASE_H
2#define AMPGEN_CONFIGURABLEBASE_H 1
3#include "AmpGen/MsgService.h"
4#include <vector>
5#include <string>
6
7namespace AmpGen {
9 public:
10 void registerParameter(const std::string &name) { m_parameters.push_back(name); }
11
12 void print() const {
13 for(auto const &p : m_parameters) INFO(p);
14 }
15
16 std::string remove_namespace(const std::string &name);
17
18 private:
19 std::vector<std::string> m_parameters;
20 };
21}
22#endif
std::string remove_namespace(const std::string &name)
void registerParameter(const std::string &name)
#define INFO(X)
Used for printing information messages, and will always be printed.
Definition MsgService.h:81