Skip to content

Commit

Permalink
Re #8432. Refactored code to clarify what is going on a bit better.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfpeterson committed Nov 22, 2013
1 parent 61cceec commit 0f901c0
Show file tree
Hide file tree
Showing 2 changed files with 134 additions and 153 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,16 +201,22 @@ namespace Crystal
boost::shared_ptr<Geometry::ParameterMap> pmap,
boost::shared_ptr<const Geometry::ParameterMap> pmapSv);

void SaveIsawDetCal(boost::shared_ptr<const Geometry::Instrument> &instrument,
std::set<std::string> &AllBankName,
double T0, std::string filename);



void LoadISawDetCal(
boost::shared_ptr<const Geometry::Instrument> &instrument,
std::set<std::string> &AllBankName,double &T0,
double &L0, std::string filename,
std::string bankPrefixName);
private:
void saveIsawDetCal(boost::shared_ptr<const Geometry::Instrument> &instrument,
std::set<std::string> &AllBankName,
double T0, std::string filename);

void createResultWorkspace(const int numGroups, const std::vector<std::string> &names,
const std::vector<double> &params, const std::vector<double> &errs);

void exec ();

void init ();
Expand Down Expand Up @@ -307,7 +313,7 @@ namespace Crystal
*
* @param instrument The instrument with the new values for the banks in Groups
*/
void SaveXmlFile(std::string const FileName, std::vector<std::vector< std::string > >const Groups,
void saveXmlFile(std::string const FileName, std::vector<std::vector< std::string > >const Groups,
Geometry::Instrument_const_sptr const instrument) const;

};
Expand Down

0 comments on commit 0f901c0

Please sign in to comment.