ProteoWizard
DemuxTypes.hpp
Go to the documentation of this file.
1//
2// $Id$
3//
4//
5// Original author: Jarrett Egertson <jegertso .@. uw.edu>
6//
7// Licensed under the Apache License, Version 2.0 (the "License");
8// you may not use this file except in compliance with the License.
9// You may obtain a copy of the License at
10//
11// http://www.apache.org/licenses/LICENSE-2.0
12//
13// Unless required by applicable law or agreed to in writing, software
14// distributed under the License is distributed on an "AS IS" BASIS,
15// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16// See the License for the specific language governing permissions and
17// limitations under the License.
18//
19
20#ifndef _DEMUXTYPES_HPP
21#define _DEMUXTYPES_HPP
22
24#include <Eigen>
25
26namespace pwiz {
27namespace msdata {
28 typedef boost::shared_ptr<const msdata::SpectrumList> SpectrumList_const_ptr;
29 typedef boost::shared_ptr<const msdata::Spectrum> Spectrum_const_ptr;
30 typedef boost::shared_ptr<const BinaryDataArray> BinaryDataArray_const_ptr;
31} // namespace msdata
32} // namespace pwiz
33
34namespace DemuxTypes
35{
36 using namespace Eigen;
37 typedef double DemuxScalar;
38 typedef Matrix<DemuxScalar, Dynamic, Dynamic> MatrixType;
39 typedef boost::shared_ptr<MatrixType> MatrixPtr;
40
41 static const std::string kDEMUX_NAME = "Demultiplexing"; ///< This is a flag used by SpectrumWorkerThreads to handle demultiplexing
42} // namespace DemuxTypes
43#endif
static const std::string kDEMUX_NAME
This is a flag used by SpectrumWorkerThreads to handle demultiplexing.
double DemuxScalar
boost::shared_ptr< MatrixType > MatrixPtr
Matrix< DemuxScalar, Dynamic, Dynamic > MatrixType
boost::shared_ptr< const msdata::Spectrum > Spectrum_const_ptr
boost::shared_ptr< const BinaryDataArray > BinaryDataArray_const_ptr
boost::shared_ptr< const msdata::SpectrumList > SpectrumList_const_ptr