phasing_metric.h
Go to the documentation of this file.
1 
10 #pragma once
11 
12 #include <cstring>
17 
18 namespace illumina { namespace interop { namespace model { namespace metrics
19 {
27  {
28  public:
29  enum
30  {
35  };
36  public:
40  metric_base::base_cycle_metric(0, 0, 0), m_phasing_weight(0), m_prephasing_weight(0)
41  {
42  }
46  metric_base::base_cycle_metric(0, 0, 0), m_phasing_weight(0), m_prephasing_weight(0)
47  {
48  }
49 
59  const uint_t tile,
60  const uint_t cycle,
61  const float phasing_weight,
62  const float prephasing_weight) :
63  metric_base::base_cycle_metric(lane, tile, cycle), m_phasing_weight(phasing_weight)
64  , m_prephasing_weight(prephasing_weight)
65  {
66  }
67 
68  public:
83  float phasing_weight() const
84  {
85  return m_phasing_weight;
86  }
87 
93  float prephasing_weight() const
94  {
95  return m_prephasing_weight;
96  }
99  public:
104  static const char *prefix()
105  { return "EmpiricalPhasing"; }
106 
107  private:
108  float m_phasing_weight;
109  float m_prephasing_weight;
110  template<class MetricType, int Version>
111  friend
112  struct io::generic_layout;
113  };
114 }}}}
115 
Definition: enum_description.h:15
uint_t tile() const
Definition: base_metric.h:284
phasing_metric(const uint_t lane, const uint_t tile, const uint_t cycle, const float phasing_weight, const float prephasing_weight)
Definition: phasing_metric.h:58
base_cycle_metric(const uint_t lane=0, const uint_t tile=0, const uint_t cycle=0)
Definition: base_cycle_metric.h:90
uint_t cycle() const
Definition: base_cycle_metric.h:131
phasing_metric(const header_type &)
Definition: phasing_metric.h:45
float prephasing_weight() const
Definition: phasing_metric.h:93
phasing_metric()
Definition: phasing_metric.h:39
::uint32_t uint_t
Definition: base_metric.h:77
Definition: generic_layout.h:24
uint_t lane() const
Definition: base_metric.h:269
static const char * prefix()
Definition: phasing_metric.h:104
float phasing_weight() const
Definition: phasing_metric.h:83