CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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

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

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

Definition at line 31 of file TritonService.h.

References edm::createGlobalIdentifier(), edm::ParameterSet::getUntrackedParameter(), instanceName, 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  }
T getUntrackedParameter(std::string const &, T const &) const
std::string createGlobalIdentifier(bool binary=false)

Member Data Documentation

bool TritonService::FallbackOpts::debug
bool TritonService::FallbackOpts::enable
std::string TritonService::FallbackOpts::imageName

Definition at line 59 of file TritonService.h.

Referenced by TritonService::preBeginJob().

std::string TritonService::FallbackOpts::instanceName

Definition at line 57 of file TritonService.h.

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

int TritonService::FallbackOpts::retries

Definition at line 55 of file TritonService.h.

Referenced by TritonService::preBeginJob().

std::string TritonService::FallbackOpts::sandboxName

Definition at line 60 of file TritonService.h.

Referenced by TritonService::preBeginJob().

std::string TritonService::FallbackOpts::tempDir

Definition at line 58 of file TritonService.h.

Referenced by TritonService::preBeginJob().

bool TritonService::FallbackOpts::useDocker

Definition at line 53 of file TritonService.h.

Referenced by TritonService::preBeginJob().

bool TritonService::FallbackOpts::useGPU

Definition at line 54 of file TritonService.h.

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

bool TritonService::FallbackOpts::verbose
int TritonService::FallbackOpts::wait

Definition at line 56 of file TritonService.h.

Referenced by TritonService::preBeginJob().