Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mantidproject
mantid
Commits
b833d9aa
Commit
b833d9aa
authored
7 years ago
by
LamarMoore
Committed by
Lamar Moore
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Moved TofEvent to Mantid::Types re 20436
parent
54ec19b3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Framework/Types/inc/MantidTypes/TofEvent.h
+9
-20
9 additions, 20 deletions
Framework/Types/inc/MantidTypes/TofEvent.h
with
9 additions
and
20 deletions
Framework/Types/inc/MantidTypes/TofEvent.h
+
9
−
20
View file @
b833d9aa
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment