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 
26 namespace pwiz {
27 namespace 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 
34 namespace 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
pwiz
Definition: ChromatogramList_Filter.hpp:36
DemuxTypes::MatrixPtr
boost::shared_ptr< MatrixType > MatrixPtr
Definition: DemuxTypes.hpp:39
MSData.hpp
pwiz::msdata::SpectrumList_const_ptr
boost::shared_ptr< const msdata::SpectrumList > SpectrumList_const_ptr
Definition: DemuxTypes.hpp:28
DemuxTypes::MatrixType
Matrix< DemuxScalar, Dynamic, Dynamic > MatrixType
Definition: DemuxTypes.hpp:38
pwiz::msdata::Spectrum_const_ptr
boost::shared_ptr< const msdata::Spectrum > Spectrum_const_ptr
Definition: DemuxTypes.hpp:29
DemuxTypes::kDEMUX_NAME
static const std::string kDEMUX_NAME
This is a flag used by SpectrumWorkerThreads to handle demultiplexing.
Definition: DemuxTypes.hpp:41
DemuxTypes
Definition: DemuxTypes.hpp:34
pwiz::msdata::BinaryDataArray_const_ptr
boost::shared_ptr< const BinaryDataArray > BinaryDataArray_const_ptr
Definition: DemuxTypes.hpp:30
DemuxTypes::DemuxScalar
double DemuxScalar
Definition: DemuxTypes.hpp:37