Opened 9 years ago
Closed 9 years ago
#106 closed task (fixed)
change pulsetime into int64
Reported by: | durong | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | pre-alpha |
Component: | Mantid | Version: | 0.1.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Parent ID: | Parent Tickets: | ||
Estimated Number of Hours: | 0.0 | Add Hours to Ticket: | 0 |
Billable?: | yes | Total Hours: | 0 |
Description (last modified by durong)
change pulsetime from float into int64
unit is nanosecond
Subtickets
Child Tickets
Change History (3)
comment:1 Changed 9 years ago by durong
- Description modified (diff)
- Summary changed from change pulsetime into int64 in nexus file to change pulsetime into int64
comment:2 Changed 9 years ago by durong
comment:3 Changed 9 years ago by durong
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
edit getEventData():
std::multimap<int, std::pair<int64_t, double>> LoadCSNSNexus::getEventData(::NeXus::File *file, int64_t startTime, bool bm)
use start_time.totalNanoseconds() to get startTime in nanoseconds
_pTime = startTime + int64_t(_pulseTime[i]*1000); convert float to int64_t in nanoseconds