Opened 9 years ago

Closed 9 years ago

#94 closed task (fixed)

load event data into eventWorkspace

Reported by: durong Owned by: durong
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)

add some code to load event data in banks into eventworkspace in void LoadCSNSNexus::exec(){……}

Subtickets

Child Tickets

Change History (3)

comment:1 Changed 9 years ago by durong

  • Owner set to durong
  • Status changed from new to accepted

comment:2 Changed 9 years ago by durong

  • Description modified (diff)
  • Summary changed from add loadeventata to load event data into eventWorkspace

comment:3 Changed 9 years ago by durong

  • Resolution set to fixed
  • Status changed from accepted to closed

for (int i = 0; i != m_bNumPixels; i++)

{

it = m_eventData.find(i+1);
for (size_t j = 0; j != m_eventData.count(i+1); j++, it++)
{

m_pulseTime = it->second.second;
m_tof = it->second.first;
WS->getEventList(i) += TofEvent?(m_tof, m_pulseTime);

}
WS->getEventList(i).setSpectrumNo(i+1);

}

Note: See TracTickets for help on using tickets.