CMS 3D CMS Logo

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...>(cfg, debugName) {
18  const auto& clientPset = cfg.getParameterSet("Client");
19  ts->addModel(clientPset.getParameter<std::string>("modelName"),
20  clientPset.getParameter<edm::FileInPath>("modelConfigPath").fullPath());
21  }
22 };
23 
24 #endif
SonicOneEDAnalyzer.h
TritonClient.h
FileInPath.h
edm::FileInPath
Definition: FileInPath.h:64
Service.h
SonicOneEDAnalyzer
Definition: SonicOneEDAnalyzer.h:18
TritonOneEDAnalyzer::TritonOneEDAnalyzer
TritonOneEDAnalyzer(edm::ParameterSet const &cfg, const std::string &debugName)
Definition: TritonOneEDAnalyzer.h:15
TritonOneEDAnalyzer
Definition: TritonOneEDAnalyzer.h:13
TritonService.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:47
TritonService::addModel
void addModel(const std::string &modelName, const std::string &path)
Definition: TritonService.cc:124
edm::Service
Definition: Service.h:30
looper.cfg
cfg
Definition: looper.py:297
TritonClient
Definition: TritonClient.h:18
edm::FileInPath::fullPath
std::string fullPath() const
Definition: FileInPath.cc:161