public class SpectrumHeader extends AbstractTableModel implements ILcContext
Modifier and Type | Field and Description |
---|---|
protected float |
basePeakIntensity
The base peak intensity.
|
protected double |
basePeakMz
The base peak mz.
|
protected int |
bbFirstSpectrumId
The bounding box first spectrum id.
|
protected int |
cycle
The cycle.
|
protected long |
id
The id.
|
protected int |
initialId
The initial id.
|
protected boolean |
isHighResolution
Is high resolution boolean.
|
protected int |
msLevel
The ms level.
|
protected int |
peaksCount
The peaks count.
|
protected Precursor |
precursor
The precursor: contains selected ions list
|
protected int |
precursorCharge
The precursor charge.
|
protected double |
precursorMz
The precursor mz.
|
static Comparator<SpectrumHeader> |
rtComp
The rt comp.
|
protected ScanList |
scanList
The spectrum list.
|
protected float |
tic
total ion chromatogram of the spectrum
|
protected float |
time
The time.
|
paramTree, TABLE_NAME
Constructor and Description |
---|
SpectrumHeader(long id,
int initialId,
int cycle,
float time,
int msLevel,
int peaksCount,
boolean isHighResolution,
float tic,
double basePeakMz,
float basePeakIntensity,
double precursorMz,
int precursorCharge,
int firstBBSpectrumId)
Instantiates a new spectrum header.
|
Modifier and Type | Method and Description |
---|---|
float |
getBasePeakIntensity()
Gets the base peak intensity.
|
double |
getBasePeakMz()
Gets the base peak mz.
|
int |
getBBFirstSpectrumId() |
int |
getCycle()
Gets the cycle.
|
float |
getElutionTime()
Gets the elution time.
|
long |
getId()
Gets the id.
|
int |
getInitialId()
Gets the initial id.
|
int |
getMsLevel()
Gets the ms level.
|
int |
getPeaksCount()
Gets the peaks count.
|
Precursor |
getPrecursor() |
int |
getPrecursorCharge()
Gets the precursor charge.
|
double |
getPrecursorMz()
Gets the precursor mz.
|
ScanList |
getScanList() |
long |
getSpectrumId()
Gets the spectrum id.
|
float |
getTIC() |
float |
getTime()
Gets the time.
|
boolean |
isHighResolution()
Checks if is high resolution.
|
void |
loadParamTree(com.almworks.sqlite4java.SQLiteConnection mzDbConnection)
Loads the param tree.
|
static void |
loadParamTrees(SpectrumHeader[] spectrumHeaders,
com.almworks.sqlite4java.SQLiteConnection mzDbConnection) |
void |
loadPrecursorList(com.almworks.sqlite4java.SQLiteConnection mzDbConnection) |
void |
loadScanList(com.almworks.sqlite4java.SQLiteConnection mzDbConnection) |
void |
setPrecursor(Precursor precursor) |
void |
setScanList(ScanList scanList) |
getCVParams, getParamTree, getUserParam, getUserParams, getUserTexts, hasParamTree, setParamTree
generateNewId
protected final long id
protected final int initialId
protected final int cycle
protected final float time
protected final int msLevel
protected final int peaksCount
protected final boolean isHighResolution
protected final float tic
protected final double basePeakMz
protected final float basePeakIntensity
protected final double precursorMz
protected final int precursorCharge
protected final int bbFirstSpectrumId
protected ScanList scanList
protected Precursor precursor
public static Comparator<SpectrumHeader> rtComp
public SpectrumHeader(long id, int initialId, int cycle, float time, int msLevel, int peaksCount, boolean isHighResolution, float tic, double basePeakMz, float basePeakIntensity, double precursorMz, int precursorCharge, int firstBBSpectrumId)
id
- the idinitialId
- the initial idcycle
- the cycletime
- the timemsLevel
- the ms levelpeaksCount
- the peaks countdataMode
- the data modebasePeakMz
- the base peak mzbasePeakIntensity
- the base peak intensityprecursorMz
- the precursor mzprecursorCharge
- the precursor chargepublic long getId()
getId
in class AbstractTableModel
public int getInitialId()
public int getCycle()
public float getTime()
public int getMsLevel()
public int getPeaksCount()
public boolean isHighResolution()
public double getBasePeakMz()
public float getBasePeakIntensity()
public double getPrecursorMz()
public int getPrecursorCharge()
public long getSpectrumId()
ILcContext
getSpectrumId
in interface ILcContext
public float getElutionTime()
ILcContext
getElutionTime
in interface ILcContext
public int getBBFirstSpectrumId()
public ScanList getScanList()
public void setScanList(ScanList scanList)
public Precursor getPrecursor()
public void setPrecursor(Precursor precursor)
public float getTIC()
public static void loadParamTrees(SpectrumHeader[] spectrumHeaders, com.almworks.sqlite4java.SQLiteConnection mzDbConnection)
public void loadParamTree(com.almworks.sqlite4java.SQLiteConnection mzDbConnection) throws com.almworks.sqlite4java.SQLiteException
AbstractTableModel
loadParamTree
in class AbstractTableModel
com.almworks.sqlite4java.SQLiteException
public void loadScanList(com.almworks.sqlite4java.SQLiteConnection mzDbConnection) throws com.almworks.sqlite4java.SQLiteException
com.almworks.sqlite4java.SQLiteException
public void loadPrecursorList(com.almworks.sqlite4java.SQLiteConnection mzDbConnection) throws com.almworks.sqlite4java.SQLiteException
com.almworks.sqlite4java.SQLiteException
Copyright © 2019. All rights reserved.