19 #include "FairDbResPtr.tpl"
32 if ( vRec.
IsGap() ) { os2 <<
" (gap)"; }
34 << hex <<
"0x" << range.GetDetectorMask() <<
"|"
35 <<
"0x" << range.GetSimMask() <<
"|"
36 <<
" " << range.GetTimeStart().AsString(
"s") <<
" .. "
37 << range.GetTimeEnd().AsString(
"s")
38 <<
" from: " << range.GetDataSource();
53 end < endOther ? end : endOther );
75 fAggregateNo(from.fAggregateNo),
76 fCreationDate(from.fCreationDate),
78 fInsertDate(from.fInsertDate),
82 fTableProxy(from.fTableProxy),
83 fValRange(from.fValRange)
124 Int_t detMask, simMask;
132 rs >>
fSeqNo >> start >> end >> detMask >> simMask >>
fTask
137 ValRange vr(detMask, simMask, start, end,
"From Database");
141 <<
"FairDbValidityRec for row " << rs.
CurRowNum()
145 <<
" task: " << endl;
164 if ( seqLo != seqHi ) { oss << seqHi <<
"_"; }
166 std::string str(oss.str());
169 while ( i-- )
if ( str[i] ==
' ' ) { str[i] =
'_'; }
214 cout <<
" FairDbValidityRec::IsCompatible : tasks:"
215 << task <<
"," <<
fTask
218 <<
" context " << vc.
AsString() << endl;
287 if ( !
IsGap() ) {
return; }
297 if ( startOther <= queryTime && endOther > queryTime ) {
298 if ( start < startOther ) { start = startOther; }
299 if ( end > endOther ) { end = endOther; }
308 if ( endOther <= queryTime ) {
310 }
else if ( startOther > queryTime ) {
311 if ( end > startOther ) {
SetTimeWindow(start, startOther); }