Skip to content
Snippets Groups Projects
Commit b833d9aa authored by LamarMoore's avatar LamarMoore Committed by Lamar Moore
Browse files

Moved TofEvent to Mantid::Types re 20436

parent 54ec19b3
No related branches found
No related tags found
No related merge requests found
......@@ -4,17 +4,6 @@
#include "MantidTypes/DateAndTime.h"
namespace Mantid {
namespace DataObjects {
class EventList;
class WeightedEvent;
class WeightedEventNoTime;
class tofGreaterOrEqual;
class tofGreater;
} // namespace DataObjects
namespace DataHandling {
class LoadEventNexus;
}
namespace Types {
//==========================================================================================
/** Info about a single neutron detection event:
......@@ -26,14 +15,14 @@ namespace Types {
class _declspec(dllexport) TofEvent {
/// EventList has the right to mess with TofEvent.
friend class Mantid::DataObjects::EventList;
friend class Mantid::DataObjects::WeightedEvent;
friend class Mantid::DataObjects::WeightedEventNoTime;
friend class Mantid::DataObjects::tofGreaterOrEqual;
friend class Mantid::DataObjects::tofGreater;
friend class Mantid::DataHandling::LoadEventNexus; // Needed while the ISIS
// hack of spreading events
// out in a bin remains
friend class EventList;
friend class WeightedEvent;
friend class WeightedEventNoTime;
friend class tofGreaterOrEqual;
friend class tofGreater;
friend class DataHandling::LoadEventNexus; // Needed while the ISIS hack of
// spreading events out in a bin
// remains
protected:
/** The 'x value' of the event. This will be in a unit available from the
......@@ -116,4 +105,4 @@ inline double TofEvent::error() const { return 1.0; }
inline double TofEvent::errorSquared() const { return 1.0; }
} // namespace Types
} // namespace Mantid
#endif // MANTIS_TYPES_TOFEVENT_H
\ No newline at end of file
#endif // MANTIS_TYPES_TOFEVENT_H
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment