SND@LHC Software
Loading...
Searching...
No Matches
RKTools.h
Go to the documentation of this file.
1/* Copyright 2008-2009, Technische Universitaet Muenchen,
2 Authors: Christian Hoeppner & Sebastian Neubert & Johannes Rauch
3
4 This file is part of GENFIT.
5
6 GENFIT is free software: you can redistribute it and/or modify
7 it under the terms of the GNU Lesser General Public License as published
8 by the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
10
11 GENFIT is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU Lesser General Public License for more details.
15
16 You should have received a copy of the GNU Lesser General Public License
17 along with GENFIT. If not, see <http://www.gnu.org/licenses/>.
18*/
19
24#ifndef genfit_RKTools_h
25#define genfit_RKTools_h
26
27namespace genfit {
28
33typedef double M1x3[1*3];
34typedef double M1x4[1*4];
35typedef double M1x6[1*6];
36typedef double M1x7[1*7];
37typedef double M5x5[5*5];
38typedef double M6x6[6*6];
39typedef double M7x7[7*7];
40typedef double M8x7[8*7];
41typedef double M6x5[6*5];
42typedef double M7x5[7*5];
43typedef double M5x6[5*6];
44typedef double M5x7[5*7];
45
49namespace RKTools {
50
51 void J_pMTxcov5xJ_pM(const M5x7& J_pM, const M5x5& cov5, M7x7& out7);
52 void J_pMTxcov5xJ_pM(const M5x6& J_pM, const M5x5& cov5, M6x6& out6);
53
54 void J_MpTxcov7xJ_Mp(const M7x5& J_Mp, const M7x7& cov7, M5x5& out5);
55 void J_MpTxcov6xJ_Mp(const M6x5& J_Mp, const M6x6& cov6, M5x5& out5);
56
57 void J_MMTxcov7xJ_MM(const M7x7& J_MM, M7x7& cov7);
58
59 void J_MMxJ_MM(M7x7& J_MM, const M7x7& J_MM_old);
60
61 void J_pMTTxJ_MMTTxJ_MpTT(const M7x5& J_pMT, const M7x7& J_MMT, const M5x7& J_MpT, M5x5& J_pp);
62
63 void Np_N_NpT(const M7x7& Np, M7x7& N);
64
65 void printDim(const double* mat, unsigned int dimX, unsigned int dimY);
66
67}
68
69} /* End of namespace genfit */
72#endif // genfit_RKTools_h
73
void J_pMTxcov5xJ_pM(const M5x7 &J_pM, const M5x5 &cov5, M7x7 &out7)
Definition RKTools.cc:36
void J_MpTxcov6xJ_Mp(const M6x5 &J_Mp, const M6x6 &cov6, M5x5 &out5)
Definition RKTools.cc:277
void J_MMxJ_MM(M7x7 &J_MM, const M7x7 &J_MM_old)
Definition RKTools.cc:435
void Np_N_NpT(const M7x7 &Np, M7x7 &N)
Definition RKTools.cc:618
void J_pMTTxJ_MMTTxJ_MpTT(const M7x5 &J_pMT, const M7x7 &J_MMT, const M5x7 &J_MpT, M5x5 &J_pp)
Definition RKTools.cc:508
void printDim(const double *mat, unsigned int dimX, unsigned int dimY)
Definition RKTools.cc:691
void J_MpTxcov7xJ_Mp(const M7x5 &J_Mp, const M7x7 &cov7, M5x5 &out5)
Definition RKTools.cc:196
void J_MMTxcov7xJ_MM(const M7x7 &J_MM, M7x7 &cov7)
Definition RKTools.cc:361
Matrix inversion tools.
Definition AbsBField.h:29
double M6x6[6 *6]
Definition RKTools.h:38
double M5x7[5 *7]
Definition RKTools.h:44
double M1x7[1 *7]
Definition RKTools.h:36
double M1x4[1 *4]
Definition RKTools.h:34
double M7x5[7 *5]
Definition RKTools.h:42
double M1x3[1 *3]
Definition RKTools.h:33
double M1x6[1 *6]
Definition RKTools.h:35
double M5x6[5 *6]
Definition RKTools.h:43
double M6x5[6 *5]
Definition RKTools.h:41
double M5x5[5 *5]
Definition RKTools.h:37
double M8x7[8 *7]
Definition RKTools.h:40
double M7x7[7 *7]
Definition RKTools.h:39