Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Public Member Functions | Private Member Functions | Private Attributes

AcqusHandler Class Reference

Read-only acqus File handler for XMass Analysis. More...

#include <OpenMS/FORMAT/HANDLERS/AcqusHandler.h>

List of all members.

Public Member Functions

 AcqusHandler (const String &filename)
 Contructor with filename.
virtual ~AcqusHandler ()
 Destructor.
DoubleReal getPosition (Size index)
 Conversion from index to MZ ratio using internal calibration params.
String getParam (const String &param)
 Read param as string.
Size getSize ()
 Get size of spectrum.

Private Member Functions

 AcqusHandler ()
 Private default constructor.

Private Attributes

Map< String, Stringparams_
 Map for params saving.
Internal params for calibration

DoubleReal dw_
Size delay_
DoubleReal ml1_
DoubleReal ml2_
DoubleReal ml3_
Size td_

Detailed Description

Read-only acqus File handler for XMass Analysis.

acqus File contains meta data about calibration (conversion for time to mz ratio), instrument specification and acquisition method.

Note:
Do not use this class directly. It is only needed for XMassFile.

Constructor & Destructor Documentation

AcqusHandler ( const String filename  ) 

Contructor with filename.

Open acqus File as stream and import params.

Parameters:
filename to acqus File.
Exceptions:
Exception::FileNotFound is thrown if the file could not be opened.
Exception::ConversionError is thrown if error conversion from String to calibration param.
virtual ~AcqusHandler (  )  [virtual]

Destructor.

AcqusHandler (  )  [private]

Private default constructor.


Member Function Documentation

String getParam ( const String param  ) 

Read param as string.

DoubleReal getPosition ( Size  index  ) 

Conversion from index to MZ ratio using internal calibration params.

Size getSize (  ) 

Get size of spectrum.


Member Data Documentation

Size delay_ [private]
DoubleReal dw_ [private]
DoubleReal ml1_ [private]
DoubleReal ml2_ [private]
DoubleReal ml3_ [private]
Map<String, String> params_ [private]

Map for params saving.

Size td_ [private]

OpenMS / TOPP release 1.10.0 Documentation generated on Thu Mar 7 2013 09:43:00 using doxygen 1.7.1