diff --git a/Framework/Types/inc/MantidTypes/TofEvent.h b/Framework/Types/inc/MantidTypes/TofEvent.h index e2928ea72715ac080b44e961317b1f0bc5905c78..864be7ba7a0f157885fc5d93b2ddcc89edd0a7cb 100644 --- a/Framework/Types/inc/MantidTypes/TofEvent.h +++ b/Framework/Types/inc/MantidTypes/TofEvent.h @@ -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