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...>(
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
SonicOneEDAnalyzer.h
electrons_cff.bool
bool
Definition: electrons_cff.py:366
TritonClient.h
edm::FileInPath
Definition: FileInPath.h:61
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
FileInPath.h
edm::ParameterSet
Definition: ParameterSet.h:47
TritonService::addModel
void addModel(const std::string &modelName, const std::string &path)
Definition: TritonService.cc:141
edm::Service
Definition: Service.h:30
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
looper.cfg
cfg
Definition: looper.py:296
edm::getParameterSet
ParameterSet const & getParameterSet(ParameterSetID const &id)
Definition: ParameterSet.cc:862
TritonClient
Definition: TritonClient.h:19
edm::FileInPath::fullPath
std::string fullPath() const
Definition: FileInPath.cc:161