#include <VP1Gui.h>
|
| VP1Gui (StoreGateSvc *sg, StoreGateSvc *detstore, ISvcLocator *svclocator, IToolSvc *toolSvc, const std::vector< std::string > &initialvp1files=std::vector< std::string >(), const std::string &initialCruiseMode="NONE", unsigned initialCruiseSeconds=10, const std::string &singleEventSource="", const std::string &singleEventLocalTmpDir="", unsigned localFileCacheLimit=10, const std::vector< std::string > &availableLocalInputDirectories=std::vector< std::string >()) |
|
| ~VP1Gui () |
|
bool | argumentsAreValid () const |
|
void | init () |
|
bool | hasBeenInitialised () |
|
bool | executeNewEvent (const int &run, const uint64_t &event, const unsigned &triggerType=0, const unsigned &time=0) |
|
void | cleanup () |
|
std::vector< std::string > | userRequestedFiles () |
|
std::string | nextRequestedEventFile () const |
|
Definition at line 28 of file VP1Gui.h.
◆ VP1Gui() [1/2]
VP1Gui::VP1Gui |
( |
StoreGateSvc * |
sg, |
|
|
StoreGateSvc * |
detstore, |
|
|
ISvcLocator * |
svclocator, |
|
|
IToolSvc * |
toolSvc, |
|
|
const std::vector< std::string > & |
initialvp1files = std::vector<std::string>() , |
|
|
const std::string & |
initialCruiseMode = "NONE" , |
|
|
unsigned |
initialCruiseSeconds = 10 , |
|
|
const std::string & |
singleEventSource = "" , |
|
|
const std::string & |
singleEventLocalTmpDir = "" , |
|
|
unsigned |
localFileCacheLimit = 10 , |
|
|
const std::vector< std::string > & |
availableLocalInputDirectories = std::vector<std::string>() |
|
) |
| |
Definition at line 56 of file VP1Gui.cxx.
75 std::vector<std::string>::const_iterator
it,
itE = initialvp1files.end();
76 for (
it = initialvp1files.begin();
it!=
itE;++
it)
79 itE = availableLocalInputDirectories.end();
80 for (
it = availableLocalInputDirectories.begin();
it!=
itE;++
it)
◆ ~VP1Gui()
◆ VP1Gui() [2/2]
◆ argumentsAreValid()
bool VP1Gui::argumentsAreValid |
( |
| ) |
const |
Definition at line 92 of file VP1Gui.cxx.
128 if (!
url.isValid()||
url.path().isEmpty()) {
137 && ! (QSslSocket::supportsSsl()) ) {
141 VP1Msg::message(
"VP1ExecutionScheduler::init ERROR: Unable to retrieve events over Https. The platform does not support SSL");
146 if (!fi_s.exists()||!fi_s.isDir()||!fi_s.isReadable()) {
150 if (!fi_l.exists()||!fi_l.isDir()||!fi_l.isReadable()||!fi_l.isWritable()) {
154 if (fi_l.canonicalFilePath()==fi_s.canonicalFilePath()) {
161 VP1Msg::message(
"ERROR: Only one of SourceDir and LocalCopyDir set. Set either both or none.");
167 VP1Msg::message(
"WARNING: Too low value of localFileCacheLimit. Setting to 3. (Set to 0 to disable removal of locally cached files.");
◆ cleanup()
◆ executeNewEvent()
bool VP1Gui::executeNewEvent |
( |
const int & |
run, |
|
|
const uint64_t & |
event, |
|
|
const unsigned & |
triggerType = 0 , |
|
|
const unsigned & |
time = 0 |
|
) |
| |
◆ hasBeenInitialised()
bool VP1Gui::hasBeenInitialised |
( |
| ) |
|
◆ init()
◆ nextRequestedEventFile()
std::string VP1Gui::nextRequestedEventFile |
( |
| ) |
const |
◆ operator=()
◆ userRequestedFiles()
std::vector< std::string > VP1Gui::userRequestedFiles |
( |
| ) |
|
Definition at line 237 of file VP1Gui.cxx.
239 std::vector<std::string> retvector;
242 for(
int i=0;
i<inplist.size(); ++
i)
243 retvector.push_back(inplist.at(
i).toStdString());
◆ m_d
The documentation for this class was generated from the following files:
static VP1ExecutionScheduler * init(StoreGateSvc *eventStore, StoreGateSvc *detStore, ISvcLocator *svcLocator, IToolSvc *toolSvc, const QStringList &joboptions, QString initialCruiseMode="NONE", unsigned initialCruiseSeconds=10, const QString &singleEventSource="", const QString &singleEventLocalTmpDir="", unsigned localFileCacheLimit=10, const QStringList &availableLocalInputDirectories=QStringList())