CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
TritonService::FallbackOpts Struct Reference

#include <TritonService.h>

Public Member Functions

 FallbackOpts (const edm::ParameterSet &pset)
 

Public Attributes

std::string command
 
bool debug
 
bool enable
 
std::string imageName
 
std::string instanceName
 
int retries
 
std::string sandboxName
 
std::string tempDir
 
bool useDocker
 
bool useGPU
 
bool verbose
 
int wait
 

Detailed Description

Definition at line 30 of file TritonService.h.

Constructor & Destructor Documentation

◆ FallbackOpts()

TritonService::FallbackOpts::FallbackOpts ( const edm::ParameterSet pset)
inline

Definition at line 31 of file TritonService.h.

References edm::createGlobalIdentifier(), instanceName, muonDTDigis_cfi::pset, and AlCaHLTBitMon_QueryRunRegistry::string.

32  : enable(pset.getUntrackedParameter<bool>("enable")),
33  debug(pset.getUntrackedParameter<bool>("debug")),
34  verbose(pset.getUntrackedParameter<bool>("verbose")),
35  useDocker(pset.getUntrackedParameter<bool>("useDocker")),
36  useGPU(pset.getUntrackedParameter<bool>("useGPU")),
37  retries(pset.getUntrackedParameter<int>("retries")),
38  wait(pset.getUntrackedParameter<int>("wait")),
39  instanceName(pset.getUntrackedParameter<std::string>("instanceName")),
40  tempDir(pset.getUntrackedParameter<std::string>("tempDir")),
41  imageName(pset.getUntrackedParameter<std::string>("imageName")),
42  sandboxName(pset.getUntrackedParameter<std::string>("sandboxName")) {
43  //randomize instance name
44  if (instanceName.empty()) {
45  instanceName =
46  pset.getUntrackedParameter<std::string>("instanceBaseName") + "_" + edm::createGlobalIdentifier();
47  }
48  }
std::string createGlobalIdentifier(bool binary=false)

Member Data Documentation

◆ command

std::string TritonService::FallbackOpts::command

◆ debug

bool TritonService::FallbackOpts::debug

◆ enable

bool TritonService::FallbackOpts::enable

◆ imageName

std::string TritonService::FallbackOpts::imageName

Definition at line 59 of file TritonService.h.

Referenced by TritonService::preBeginJob().

◆ instanceName

std::string TritonService::FallbackOpts::instanceName

◆ retries

int TritonService::FallbackOpts::retries

Definition at line 55 of file TritonService.h.

Referenced by TritonService::preBeginJob().

◆ sandboxName

std::string TritonService::FallbackOpts::sandboxName

Definition at line 60 of file TritonService.h.

Referenced by TritonService::preBeginJob().

◆ tempDir

std::string TritonService::FallbackOpts::tempDir

◆ useDocker

bool TritonService::FallbackOpts::useDocker

Definition at line 53 of file TritonService.h.

Referenced by TritonService::preBeginJob().

◆ useGPU

bool TritonService::FallbackOpts::useGPU

Definition at line 54 of file TritonService.h.

Referenced by TritonService::preBeginJob(), and TritonService::TritonService().

◆ verbose

bool TritonService::FallbackOpts::verbose

◆ wait

int TritonService::FallbackOpts::wait

Definition at line 56 of file TritonService.h.

Referenced by TritonService::preBeginJob().