Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SvtxAlignmentState.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file SvtxAlignmentState.h
1 #ifndef __SVTXALIGNMENTSTATE_H__
2 #define __SVTXALIGNMENTSTATE_H__
3 
4 #include <phool/PHObject.h>
5 #include <trackbase/TrkrDefs.h>
7 #include <cmath>
8 
10 {
11  public:
14  const static int NGL = 6;
17  const static int NLOC = 6;
19  const static int NRES = 2;
20 
21  typedef Eigen::Matrix<double, NRES, NGL> GlobalMatrix;
22  typedef Eigen::Matrix<double, NRES, NLOC> LocalMatrix;
23  typedef Eigen::Matrix<double, NRES, 1> ResidualVector;
24 
25  ~SvtxAlignmentState() override {}
26 
27  void identify(std::ostream& os = std::cout) const override
28  {
29  os << "SvtxAlignmentState base class" << std::endl;
30  }
31 
32  int isValid() const override { return 0; }
33  PHObject* CloneMe() const override { return nullptr; }
34 
35  virtual void set_residual(const ResidualVector&) {}
36  virtual void set_local_derivative_matrix(const LocalMatrix&) {}
39 
40  virtual const ResidualVector& get_residual() const;
41  virtual const LocalMatrix& get_local_derivative_matrix() const;
42  virtual const GlobalMatrix& get_global_derivative_matrix() const;
43  virtual TrkrDefs::cluskey get_cluster_key() const { return UINT_MAX; }
44 
45  protected:
48 };
49 
50 #endif