FairRoot/PandaRoot
icpPointToPoint.h
Go to the documentation of this file.
1 /*
2 Copyright 2011. All rights reserved.
3 Institute of Measurement and Control Systems
4 Karlsruhe Institute of Technology, Germany
5 
6 Authors: Andreas Geiger
7 
8 libicp is free software; you can redistribute it and/or modify it under the
9 terms of the GNU General Public License as published by the Free Software
10 Foundation; either version 2 of the License, or any later version.
11 
12 libicp is distributed in the hope that it will be useful, but WITHOUT ANY
13 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14 PARTICULAR PURPOSE. See the GNU General Public License for more details.
15 
16 You should have received a copy of the GNU General Public License along with
17 libicp; if not, write to the Free Software Foundation, Inc., 51 Franklin
18 Street, Fifth Floor, Boston, MA 02110-1301, USA
19 */
20 
21 #ifndef ICP_POINT_TO_POINT_H
22 #define ICP_POINT_TO_POINT_H
23 
24 #include "icp.h"
25 
26 class IcpPointToPoint : public Icp {
27 
28 public:
29 
30  IcpPointToPoint (double *M,const int32_t M_num,const int32_t M_dim) : Icp(M,M_num,M_dim) {}
31  virtual ~IcpPointToPoint () {}
32 
33 private:
34 
35  double fitInstant(double *T,const int32_t T_num,Matrix &R,Matrix &t,const std::vector<int32_t> &active);
36  double fitStep (double *T,const int32_t T_num,Matrix &R,Matrix &t,const std::vector<int32_t> &active);
37  std::vector<int32_t> getInliers (double *T,const int32_t T_num,const Matrix &R,const Matrix &t,const double indist);
38 };
39 
40 #endif // ICP_POINT_TO_POINT_H
double fitStep(double *T, const int32_t T_num, Matrix &R, Matrix &t, const std::vector< int32_t > &active)
int int32_t
Definition: matrix.h:32
TTree * T
Definition: anaLmdReco.C:32
int32_t T_num
Definition: icp.h:105
IcpPointToPoint(double *M, const int32_t M_num, const int32_t M_dim)
std::vector< int32_t > getInliers(double *T, const int32_t T_num, const Matrix &R, const Matrix &t, const double indist)
Definition: matrix.h:50
TTree * t
Definition: bump_analys.C:13
double fitInstant(double *T, const int32_t T_num, Matrix &R, Matrix &t, const std::vector< int32_t > &active)
Definition: icp.h:33
virtual ~IcpPointToPoint()
Double_t R
Definition: checkhelixhit.C:61