CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TritonOneEDAnalyzer.h
Go to the documentation of this file.
1 #ifndef HeterogeneousCore_SonicTriton_TritonOneEDAnalyzer
2 #define HeterogeneousCore_SonicTriton_TritonOneEDAnalyzer
3 
9 
10 #include <string>
11 
12 template <typename... Capabilities>
13 class TritonOneEDAnalyzer : public SonicOneEDAnalyzer<TritonClient, Capabilities...> {
14 public:
16  : SonicOneEDAnalyzer<TritonClient, Capabilities...>(
17  cfg, debugName, cfg.getParameterSet("Client").getUntrackedParameter<bool>("verbose")) {
19  const auto& clientPset = cfg.getParameterSet("Client");
20  ts->addModel(clientPset.getParameter<std::string>("modelName"),
21  clientPset.getParameter<edm::FileInPath>("modelConfigPath").fullPath());
22  }
23 };
24 
25 #endif
tuple cfg
Definition: looper.py:296
ParameterSet const & getParameterSet(ParameterSetID const &id)
void addModel(const std::string &modelName, const std::string &path)
TritonOneEDAnalyzer(edm::ParameterSet const &cfg, const std::string &debugName)
ParameterSet const & getParameterSet(std::string const &) const
std::string fullPath() const
Definition: FileInPath.cc:161