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

Constructor & Destructor Documentation

◆ FallbackOpts()

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

Definition at line 35 of file TritonService.h.

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

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

Referenced by TritonService::preBeginJob().

◆ instanceName

std::string TritonService::FallbackOpts::instanceName

◆ retries

int TritonService::FallbackOpts::retries

Definition at line 59 of file TritonService.h.

Referenced by TritonService::preBeginJob().

◆ sandboxName

std::string TritonService::FallbackOpts::sandboxName

Definition at line 64 of file TritonService.h.

Referenced by TritonService::preBeginJob().

◆ tempDir

std::string TritonService::FallbackOpts::tempDir

◆ useDocker

bool TritonService::FallbackOpts::useDocker

Definition at line 57 of file TritonService.h.

Referenced by TritonService::preBeginJob().

◆ useGPU

bool TritonService::FallbackOpts::useGPU

Definition at line 58 of file TritonService.h.

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

◆ verbose

bool TritonService::FallbackOpts::verbose

◆ wait

int TritonService::FallbackOpts::wait

Definition at line 60 of file TritonService.h.

Referenced by TritonService::preBeginJob().