35 #ifndef OPENMS_ANALYSIS_OPENSWATH_OPENSWATHHELPER_H 
   36 #define OPENMS_ANALYSIS_OPENSWATH_OPENSWATHHELPER_H 
   55                                        double lower, 
double upper);
 
   59                               double& lower, 
double& upper);
 
   64                                        double lower, 
double upper);
 
   66     template <
class TargetedExperimentT>
 
   68                                                   const TargetedExperimentT& targeted_exp, TargetedExperimentT& transition_exp_used, 
double min_upper_edge_dist)
 
   70       if (exp.
size() == 0 || exp[0].getPrecursors().
size() == 0)
 
   73                   << 
" does not have any experiments or any precursors. Is it a SWATH map? " 
   74                   << 
"I will move to the next map." 
   81       if (transition_exp_used.getTransitions().size() == 0)
 
   84                   << 
" no transition were within the precursor window of " << lower << 
" to " << upper
 
   85                   << 
"I will move to the next map." 
Size size() const 
Definition: MSExperiment.h:117
A helper class that is used by several OpenSWATH tools. 
Definition: OpenSwathHelper.h:47
const String & getLoadedFilePath() const 
get the file_name_ which is the absolute path to the file loaded from 
static bool checkSwathMapAndSelectTransitions(const OpenMS::MSExperiment< Peak1D > &exp, const TargetedExperimentT &targeted_exp, TargetedExperimentT &transition_exp_used, double min_upper_edge_dist)
Definition: OpenSwathHelper.h:67
This class stores an prediction of an SRM/MRM transition. 
Definition: TargetedExperiment.h:53
Definition: TransitionExperiment.h:120
static void selectSwathTransitions(const OpenMS::TargetedExperiment &targeted_exp, OpenMS::TargetedExperiment &transition_exp_used, double min_upper_edge_dist, double lower, double upper)
Select transitions between lower and upper and write them into the new TargetedExperiment. 
static void checkSwathMap(const OpenMS::MSExperiment< Peak1D > &swath_map, double &lower, double &upper)
Get the lower / upper offset for this SWATH map and do some sanity checks.