Skip to content

Commit

Permalink
Fix due to change in DataAndTime. Refs #4266.
Browse files Browse the repository at this point in the history
  • Loading branch information
wdzhou committed Feb 24, 2012
1 parent af173ed commit 8123056
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,7 @@ namespace Algorithms

if (selected && static_cast<int>(iv) <= numOutputEvents)
{
ofs << iv << "\t" << rawevent.pulseTime().total_nanoseconds() << "\t" << rawevent.tof() << "\t"
ofs << iv << "\t" << rawevent.pulseTime().totalNanoseconds() << "\t" << rawevent.tof() << "\t"
<< correctedtof << "\t" << mtime << "\t" << section << std::endl;
}
} // ENDFOR iv: each event
Expand Down Expand Up @@ -927,7 +927,7 @@ namespace Algorithms
g_log.information() << "Filter: T0 = " << mFilterT0 << ", Tf = " << mFilterTf << std::endl;
g_log.information() << "Log: T0 = " << mSETimes[0] << " To Filter T0 " << mSETimes[0]-mFilterT0.totalNanoseconds() << std::endl;
g_log.information() << "Log: Tf = " << mSETimes[mSETimes.size()-1] << " To Filter T0 " <<
mSETimes[mSETimes.size()-1]-mFilterT0.total_nanoseconds() << std::endl;
mSETimes[mSETimes.size()-1]-mFilterT0.totalNanoseconds() << std::endl;
if (events.getNumberEvents() > 0)
{
g_log.information() << "Neutron 0 : Pulse Time = " << events.getEvent(0).m_pulsetime << std::endl;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ namespace Algorithms
for (size_t i = 0; i < static_cast<size_t>(numentries); i ++)
{
Kernel::DateAndTime tnow = times[i];
int64_t dt = tnow.total_nanoseconds()-runstart.total_nanoseconds();
int64_t dt = tnow.totalNanoseconds()-runstart.totalNanoseconds();
ofs << i << "\t" << dt << "\t" << values[i] << std::endl;
}

Expand Down

0 comments on commit 8123056

Please sign in to comment.