#include <VP1EvtsOnServerInfo.h>
Definition at line 26 of file VP1EvtsOnServerInfo.h.
◆ VP1EvtsOnServerInfo() [1/2]
VP1EvtsOnServerInfo::VP1EvtsOnServerInfo |
( |
const QString & |
infofile | ) |
|
◆ ~VP1EvtsOnServerInfo()
VP1EvtsOnServerInfo::~VP1EvtsOnServerInfo |
( |
| ) |
|
◆ VP1EvtsOnServerInfo() [2/2]
◆ error()
const QString & VP1EvtsOnServerInfo::error |
( |
| ) |
const |
◆ events()
QList< VP1EventFile > VP1EvtsOnServerInfo::events |
( |
int |
timecut = -1 , |
|
|
bool |
requireNewestRunNumber = false |
|
) |
| const |
Definition at line 241 of file VP1EvtsOnServerInfo.cxx.
249 QList<VP1EventFile>
l;
253 const unsigned newestRawTime =
m_d->
events.at(0).rawTime();
254 const int newestRunNumber =
m_d->
events.at(0).runNumber();
256 const unsigned minTime = (timecut<0&&
unsigned(timecut)>newestRawTime) ? 0 : newestRawTime-timecut;
258 QList<VP1EventFile>
out;
260 if (minTime>0&&
evt.rawTime()<minTime)
262 if (requireNewestRunNumber&&
evt.runNumber()!=newestRunNumber)
◆ isValid()
bool VP1EvtsOnServerInfo::isValid |
( |
| ) |
const |
◆ newestEvent()
◆ numberOfEvents()
unsigned long long VP1EvtsOnServerInfo::numberOfEvents |
( |
| ) |
const |
◆ operator=()
◆ print()
QStringList VP1EvtsOnServerInfo::print |
( |
| ) |
const |
Definition at line 65 of file VP1EvtsOnServerInfo.cxx.
69 l <<
"Invalid. Reason: " +
error();
75 l <<
"Events within 10 minutes of latest:";
78 l <<
"Events with same run number as latest:";
81 l <<
"Events with same run number as latest and within 1 minute:";
◆ m_d
Imp* VP1EvtsOnServerInfo::m_d |
|
private |
The documentation for this class was generated from the following files: