15#ifndef VP1EXECUTIONSCHEDULER_H
16#define VP1EXECUTIONSCHEDULER_H
63 ISvcLocator* svcLocator,
65 const QStringList& joboptions,
66 QString initialCruiseMode =
"NONE",
67 unsigned initialCruiseSeconds = 10,
68 const QString& singleEventSource =
"",
69 const QString& singleEventLocalTmpDir =
"",
70 unsigned localFileCacheLimit = 10,
71 const QStringList& availableLocalInputDirectories = QStringList() );
75 bool executeNewEvent(
const int&
runnumber,
const unsigned long long& eventnumber,
const unsigned& triggerType = 0,
const unsigned& time = 0);
79 ISvcLocator* svcLocator,IToolSvc*toolSvc,
102 #if defined BUILDVP1LIGHT
104 QString
split(
const std::string& input,
const std::string& regex);
105 int getEvtNr(){
return m_evtNr; };
106 void setEvtNr(
int evtNr){ m_evtNr = evtNr; };
107 int getTotEvtNr(){
return m_totEvtNr; };
122 #if defined BUILDVP1LIGHT
125 QList<QStringList> m_list;
128 bool m_goBackFlag =
false;
129 bool firstlaunch =
true;
144 #if defined BUILDVP1LIGHT
The Athena Transient Store API.
const QString & nextRequestedEventFile() const
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())
void updateProgressBarDuringRefresh()
void bringFromConstructedToReady(IVP1ChannelWidget *)
bool executeNewEvent(const int &runnumber, const unsigned long long &eventnumber, const unsigned &triggerType=0, const unsigned &time=0)
void setCruiseMode(const CruiseMode &)
QString saveSnaphsotToFile(IVP1System *s, bool batch=false)
void refreshSystem(IVP1System *)
void actualUncreateAndDelete(IVP1ChannelWidget *)
void refreshingStatusChanged(bool)
void processSystemForRefresh()
void channelUncreated(IVP1ChannelWidget *)
bool hasAllActiveSystemsRefreshed(IVP1ChannelWidget *) const
void eraseSystem(IVP1System *)
void channelCreated(IVP1ChannelWidget *)
virtual ~VP1ExecutionScheduler()
void startRefreshQueueIfAppropriate()
VP1ExecutionScheduler(QObject *parent, StoreGateSvc *eventStore, StoreGateSvc *detStore, ISvcLocator *svcLocator, IToolSvc *toolSvc, VP1AvailEvents *availEvents)
static void cleanup(VP1ExecutionScheduler *)
void setNextRequestedEventFile(const QString &)
QStringList userRequestedFiles()
void uncreateAndDelete(IVP1ChannelWidget *)
bool isRefreshing() const
Tool for accessing xAOD files outside of Athena.
std::vector< std::string > split(const std::string &s, const std::string &t=":")
static std::vector< uint32_t > runnumber