Skip to content

Commit

Permalink
Refs #5613 fixed for CNCS non-TOF
Browse files Browse the repository at this point in the history
  • Loading branch information
VickieLynch committed Aug 7, 2012
1 parent 9eebf7e commit 3ff0eac
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -755,6 +755,11 @@ void InstrumentWindowPickTab::addPeak(double x,double y)
if (run.hasProperty("Ei"))
{
m_emode = 1; // direct
if ( run.hasProperty("Ei") )
{
Mantid::Kernel::Property* prop = run.getProperty("Ei");
m_efixed = boost::lexical_cast<double,std::string>(prop->value());
}
}
else if (det->hasParameter("Efixed"))
{
Expand Down

0 comments on commit 3ff0eac

Please sign in to comment.