OpenMS
Loading...
Searching...
No Matches
DefaultChromHandler Class Reference

Default handler that delegates to SRM/MRM or DIA handler depending on input. More...

#include <OpenMS/ANALYSIS/TARGETED/DefaultChromHandler.h>

Inheritance diagram for DefaultChromHandler:
[legend]
Collaboration diagram for DefaultChromHandler:
[legend]

Public Member Functions

 DefaultChromHandler ()
 
 ~DefaultChromHandler () override
 
std::vector< MSChromatogramcollectIrtChromatogramsForIrt (const std::vector< OpenSwath::SwathMap > &swath_maps, const OpenSwath::LightTargetedExperiment &irt_transitions, const Param &mrm_mapping_param, const ChromExtractParams &cp, const TransformationDescription &trafo=TransformationDescription(), bool pasef=false, bool load_into_memory=false) override
 Collect iRT chromatograms from the swath maps and try to map them to the provided iRT transitions.
 
std::vector< MSChromatogramextractAndMapChromatogramsForTransitions (const std::vector< OpenSwath::SwathMap > &swath_maps, const OpenSwath::LightTargetedExperiment &transition_exp, const ChromExtractParams &cp, const Param &mrm_mapping_param) override
 Extract (or select) chromatograms for the given transitions and return mapped & filtered chromatograms.
 
- Public Member Functions inherited from IChromatogramHandler
 IChromatogramHandler ()=default
 
virtual ~IChromatogramHandler ()=default
 

Private Attributes

std::unique_ptr< MRMChromHandlermrm_
 
std::unique_ptr< DIAChromHandlerdia_
 

Additional Inherited Members

- Static Public Member Functions inherited from IChromatogramHandler
static std::unique_ptr< IChromatogramHandlercreateDefault ()
 Factory: create the default handler (currently SRM/MRM-based)
 

Detailed Description

Default handler that delegates to SRM/MRM or DIA handler depending on input.

Constructor & Destructor Documentation

◆ DefaultChromHandler()

◆ ~DefaultChromHandler()

~DefaultChromHandler ( )
override

Member Function Documentation

◆ collectIrtChromatogramsForIrt()

std::vector< MSChromatogram > collectIrtChromatogramsForIrt ( const std::vector< OpenSwath::SwathMap > &  swath_maps,
const OpenSwath::LightTargetedExperiment irt_transitions,
const Param mrm_mapping_param,
const ChromExtractParams cp,
const TransformationDescription trafo = TransformationDescription(),
bool  pasef = false,
bool  load_into_memory = false 
)
overridevirtual

Collect iRT chromatograms from the swath maps and try to map them to the provided iRT transitions.

Implements IChromatogramHandler.

◆ extractAndMapChromatogramsForTransitions()

std::vector< MSChromatogram > extractAndMapChromatogramsForTransitions ( const std::vector< OpenSwath::SwathMap > &  swath_maps,
const OpenSwath::LightTargetedExperiment transition_exp,
const ChromExtractParams cp,
const Param mrm_mapping_param 
)
overridevirtual

Extract (or select) chromatograms for the given transitions and return mapped & filtered chromatograms.

Implements IChromatogramHandler.

Member Data Documentation

◆ dia_

std::unique_ptr<DIAChromHandler> dia_
private

◆ mrm_

std::unique_ptr<MRMChromHandler> mrm_
private