dynamic_phasing_metric.h
Go to the documentation of this file.
1 
11 #pragma once
12 
13 #include <cstring>
18 
19 namespace illumina { namespace interop { namespace model { namespace metrics
20 {
29  {
30  public:
31  enum
32  {
37  };
38  public:
42  metric_base::base_read_metric(0, 0, 0),
43  m_phasing_slope(0), m_phasing_offset(0), m_prephasing_slope(0), m_prephasing_offset(0)
44  {
45  }
49  metric_base::base_read_metric(0, 0, 0),
50  m_phasing_slope(0), m_phasing_offset(0), m_prephasing_slope(0), m_prephasing_offset(0)
51  {
52  }
53 
65  const uint_t tile,
66  const uint_t read,
67  const float phasing_slope,
68  const float phasing_offset,
69  const float prephasing_slope,
70  const float prephasing_offset) :
71  metric_base::base_read_metric(lane, tile, read), m_phasing_slope(phasing_slope)
72  , m_phasing_offset(phasing_offset), m_prephasing_slope(prephasing_slope),
73  m_prephasing_offset(prephasing_offset)
74  {
75  }
76 
77  public:
92  float phasing_slope() const
93  {
94  return m_phasing_slope;
95  }
96 
101  float prephasing_slope() const
102  {
103  return m_prephasing_slope;
104  }
105 
110  float phasing_offset() const
111  {
112  return m_phasing_offset;
113  }
114 
119  float prephasing_offset() const
120  {
121  return m_prephasing_offset;
122  }
125  public:
130  static const char *prefix()
131  { return "DynamicPhasing"; }
132 
133  private:
134  float m_phasing_slope;
135  float m_phasing_offset;
136  float m_prephasing_slope;
137  float m_prephasing_offset;
138  template<class MetricType, int Version>
139  friend
140  struct io::generic_layout;
141  };
142 }}}}
float prephasing_offset() const
Definition: dynamic_phasing_metric.h:119
static const char * prefix()
Definition: dynamic_phasing_metric.h:130
Definition: enum_description.h:15
uint_t tile() const
Definition: base_metric.h:284
float phasing_slope() const
Definition: dynamic_phasing_metric.h:92
dynamic_phasing_metric(const uint_t lane, const uint_t tile, const uint_t read, const float phasing_slope, const float phasing_offset, const float prephasing_slope, const float prephasing_offset)
Definition: dynamic_phasing_metric.h:64
::uint32_t uint_t
Definition: base_metric.h:77
Definition: generic_layout.h:24
uint_t lane() const
Definition: base_metric.h:269
float prephasing_slope() const
Definition: dynamic_phasing_metric.h:101
dynamic_phasing_metric()
Definition: dynamic_phasing_metric.h:41
float phasing_offset() const
Definition: dynamic_phasing_metric.h:110
dynamic_phasing_metric(const header_type &)
Definition: dynamic_phasing_metric.h:48
Definition: dynamic_phasing_metric.h:28
uint_t read() const
Definition: base_read_metric.h:118
base_read_metric(const uint_t lane, const uint_t tile, const uint_t read)
Definition: base_read_metric.h:77