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
 
std::string container
 
bool debug
 
std::string device
 
bool enable
 
std::string imageName
 
std::string instanceName
 
int retries
 
std::string sandboxName
 
std::string tempDir
 
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  container(pset.getUntrackedParameter<std::string>("container")),
40  device(pset.getUntrackedParameter<std::string>("device")),
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

◆ container

std::string TritonService::FallbackOpts::container

Definition at line 57 of file TritonService.h.

Referenced by TritonService::preBeginJob().

◆ debug

bool TritonService::FallbackOpts::debug

◆ device

std::string TritonService::FallbackOpts::device

Definition at line 58 of file TritonService.h.

Referenced by TritonService::preBeginJob().

◆ 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

◆ verbose

bool TritonService::FallbackOpts::verbose

◆ wait

int TritonService::FallbackOpts::wait

Definition at line 60 of file TritonService.h.

Referenced by TritonService::preBeginJob().