28 #include "pwiz/utility/proteome/Ion.hpp"
32 using namespace eharmony;
33 using namespace pwiz::utility;
34 using namespace pwiz::proteome;
35 using namespace pwiz::util;
39 boost::shared_ptr<SpectrumQuery>
makeSpectrumQuery(
const double& mass,
const int& charge,
const double& rt,
const string& sequence,
const double& score = 0.95)
42 result->precursorNeutralMass = mass;
43 result->assumedCharge = charge;
44 result->retentionTimeSec = rt;
45 result->searchResult.searchHit.peptide = sequence;
46 result->searchResult.searchHit.analysisResult.peptideProphetResult.probability = score;
54 boost::shared_ptr<AMTContainer> result(
new AMTContainer());
62 vector<boost::shared_ptr<SpectrumQuery> > sqs;
67 sqs.push_back(mallick_a);
68 sqs.push_back(mallick_b);
72 result->rtAdjusted =
true;
81 cout << gaussian.
mu.first << endl;
82 cout << gaussian.
mu.second << endl;
83 cout << gaussian.
sigma.first << endl;
84 cout << gaussian.
sigma.second << endl;