Mantid
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
EventList.cpp File Reference
#include "MantidDataObjects/EventList.h"
#include "MantidAPI/MatrixWorkspace.h"
#include "MantidDataObjects/EventWorkspaceMRU.h"
#include "MantidDataObjects/Histogram1D.h"
#include "MantidKernel/DateAndTime.h"
#include "MantidKernel/DateAndTimeHelpers.h"
#include "MantidKernel/Exception.h"
#include "MantidKernel/Logger.h"
#include "MantidKernel/Unit.h"
#include "tbb/parallel_sort.h"
#include <algorithm>
#include <cfloat>
#include <cmath>
#include <functional>
#include <limits>
#include <stdexcept>

Go to the source code of this file.

Classes

struct  Mantid::DataObjects::comparePulseTimeTOFDelta
 

Namespaces

namespace  Mantid
 Helper class which provides the Collimation Length for SANS instruments.
 
namespace  Mantid::DataObjects
 

Functions

bool Mantid::DataObjects::compareEventPulseTime (const TofEvent &e1, const TofEvent &e2)
 Compare two events' FRAME id, return true if e1 should be before e2. More...
 
bool Mantid::DataObjects::compareEventPulseTimeTOF (const TofEvent &e1, const TofEvent &e2)
 Compare two events' FRAME id, return true if e1 should be before e2. More...
 
template<class T >
static std::vector< T >::const_iterator Mantid::DataObjects::findFirstEvent (const std::vector< T > &events, T seek_tof)
 Utility function: Returns the iterator into events of the first TofEvent with tof() > seek_tof Will return events.end() if nothing is found! More...
 
template<class T >
static std::vector< T >::iterator Mantid::DataObjects::findFirstEvent (std::vector< T > &events, T seek_tof)
 Utility function: Returns the iterator into events of the first TofEvent with tof() > seek_tof Will return events.end() if nothing is found! More...
 
void Mantid::DataObjects::getEventsFrom (const EventList &el, std::vector< TofEvent > const *&events)
 
DLLExport void Mantid::DataObjects::getEventsFrom (const EventList &el, std::vector< WeightedEvent > const *&events)
 
DLLExport void Mantid::DataObjects::getEventsFrom (const EventList &el, std::vector< WeightedEventNoTime > const *&events)
 
void Mantid::DataObjects::getEventsFrom (EventList &el, std::vector< TofEvent > *&events)
 Get the vector of events contained in an EventList; this is overloaded by event type. More...
 
DLLExport void Mantid::DataObjects::getEventsFrom (EventList &el, std::vector< WeightedEvent > *&events)
 Get the vector of events contained in an EventList; this is overloaded by event type. More...
 
DLLExport void Mantid::DataObjects::getEventsFrom (EventList &el, std::vector< WeightedEventNoTime > *&events)
 Get the vector of events contained in an EventList; this is overloaded by event type. More...
 

Variable Documentation

◆ m_tofFactor

const double m_tofFactor
private

Definition at line 65 of file EventList.cpp.

◆ m_tofShift

const double m_tofShift
private

Definition at line 66 of file EventList.cpp.