Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SvtxAlignmentState_v1.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file SvtxAlignmentState_v1.h
1 #ifndef TRACKBASEHISTORIC_SVTXALIGNMENTSTATE_V1_H
2 #define TRACKBASEHISTORIC_SVTXALIGNMENTSTATE_V1_H
3 
4 #include "SvtxAlignmentState.h"
5 
6 #include <cmath>
7 #include <iostream>
8 
9 class PHObject;
10 
12 {
13  public:
15  ~SvtxAlignmentState_v1() override {}
16 
17  void identify(std::ostream& os = std::cout) const override;
18  void Reset() override { *this = SvtxAlignmentState_v1(); }
19  int isValid() const override { return 1; }
20  PHObject* CloneMe() const override { return new SvtxAlignmentState_v1(*this); }
21 
22  void set_residual(const ResidualVector& res) override
23  {
24  m_residual = res;
25  }
26  void set_local_derivative_matrix(const LocalMatrix& d) override
27  {
28  m_localDeriv = d;
29  }
31  {
32  m_globalDeriv = d;
33  }
34  void set_cluster_key(const TrkrDefs::cluskey key) override
35  {
36  m_cluskey = key;
37  }
38 
39  const ResidualVector& get_residual() const override { return m_residual; }
40  const LocalMatrix& get_local_derivative_matrix() const override { return m_localDeriv; }
41  const GlobalMatrix& get_global_derivative_matrix() const override { return m_globalDeriv; }
42  TrkrDefs::cluskey get_cluster_key() const override { return m_cluskey; }
43 
44  private:
49 
51 };
52 
53 #endif