8 #ifndef DuneEventInfo_H 9 #define DuneEventInfo_H 54 time_t a_time =0,
int a_timerem =0,
58 : run(a_run),
event(a_event), subRun(a_subRun),
59 time(a_time), timerem(a_timerem),
61 triggerClock(a_triggerClock),
62 triggerTick0(a_triggerTick0) { }
69 if ( run < rhs.
run )
return true;
70 if ( rhs.
run < run )
return false;
71 if ( subRun < rhs.
subRun )
return true;
72 if ( rhs.
subRun < subRun )
return false;
84 if ( run != rhs.
run )
return false;
85 if ( subRun != rhs.
subRun )
return false;
87 if ( time != rhs.
time )
return false;
88 if ( timerem != rhs.
timerem )
return false;
89 if ( trigger != rhs.
trigger )
return false;
96 return ! (*
this == rhs);
101 std::ostringstream ssout;
111 std::ostringstream ssout;
113 if (
opt == 1 || (
opt ==2 && subRun > 0 && subRun!=
badIndex()) ) {
bool operator==(const DuneEventInfo &rhs) const
DuneEventInfo(Index a_run, Index a_event, Index a_subRun=badIndex(), time_t a_time=0, int a_timerem=0, Index a_trigger=badIndex(), LongIndex a_triggerClock=badLongIndex(), LongIndex a_triggerTick0=badLongIndex())
bool operator<(const DuneEventInfo &rhs)
bool operator!=(const DuneEventInfo &rhs) const
static const DuneEventInfo & badEventInfo()
std::string runString(Index opt=2) const
static LongIndex badLongIndex()
std::string eventString() const
Event finding and building.