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 33 of file TritonService.h.

Constructor & Destructor Documentation

◆ FallbackOpts()

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

Definition at line 34 of file TritonService.h.

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

35  : enable(pset.getUntrackedParameter<bool>("enable")),
36  debug(pset.getUntrackedParameter<bool>("debug")),
37  verbose(pset.getUntrackedParameter<bool>("verbose")),
38  useDocker(pset.getUntrackedParameter<bool>("useDocker")),
39  useGPU(pset.getUntrackedParameter<bool>("useGPU")),
40  retries(pset.getUntrackedParameter<int>("retries")),
41  wait(pset.getUntrackedParameter<int>("wait")),
42  instanceName(pset.getUntrackedParameter<std::string>("instanceName")),
43  tempDir(pset.getUntrackedParameter<std::string>("tempDir")),
44  imageName(pset.getUntrackedParameter<std::string>("imageName")),
45  sandboxName(pset.getUntrackedParameter<std::string>("sandboxName")) {
46  //randomize instance name
47  if (instanceName.empty()) {
48  instanceName =
49  pset.getUntrackedParameter<std::string>("instanceBaseName") + "_" + edm::createGlobalIdentifier();
50  }
51  }
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 62 of file TritonService.h.

Referenced by TritonService::preBeginJob().

◆ instanceName

std::string TritonService::FallbackOpts::instanceName

◆ retries

int TritonService::FallbackOpts::retries

Definition at line 58 of file TritonService.h.

Referenced by TritonService::preBeginJob().

◆ sandboxName

std::string TritonService::FallbackOpts::sandboxName

Definition at line 63 of file TritonService.h.

Referenced by TritonService::preBeginJob().

◆ tempDir

std::string TritonService::FallbackOpts::tempDir

◆ useDocker

bool TritonService::FallbackOpts::useDocker

Definition at line 56 of file TritonService.h.

Referenced by TritonService::preBeginJob().

◆ useGPU

bool TritonService::FallbackOpts::useGPU

Definition at line 57 of file TritonService.h.

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

◆ verbose

bool TritonService::FallbackOpts::verbose

◆ wait

int TritonService::FallbackOpts::wait

Definition at line 59 of file TritonService.h.

Referenced by TritonService::preBeginJob().