PandaRoot
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 
27 namespace genfit {
28 
33 typedef double M1x3[1 * 3];
34 typedef double M1x4[1 * 4];
35 typedef double M1x6[1 * 6];
36 typedef double M1x7[1 * 7];
37 typedef double M5x5[5 * 5];
38 typedef double M6x6[6 * 6];
39 typedef double M7x7[7 * 7];
40 typedef double M8x7[8 * 7];
41 typedef double M6x5[6 * 5];
42 typedef double M7x5[7 * 5];
43 typedef double M5x6[5 * 6];
44 typedef double M5x7[5 * 7];
45 
49 namespace 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 } // namespace RKTools
68 
69 } /* End of namespace genfit */
72 #endif // genfit_RKTools_h
double M5x5[5 *5]
Definition: RKTools.h:37
double M6x6[6 *6]
Definition: RKTools.h:38
double M1x4[1 *4]
Definition: RKTools.h:34
double M1x6[1 *6]
Definition: RKTools.h:35
double M7x5[7 *5]
Definition: RKTools.h:42
void Np_N_NpT(const M7x7 &Np, M7x7 &N)
double M6x5[6 *5]
Definition: RKTools.h:41
double M1x7[1 *7]
Definition: RKTools.h:36
void J_MpTxcov6xJ_Mp(const M6x5 &J_Mp, const M6x6 &cov6, M5x5 &out5)
void J_MpTxcov7xJ_Mp(const M7x5 &J_Mp, const M7x7 &cov7, M5x5 &out5)
double M5x6[5 *6]
Definition: RKTools.h:43
double M5x7[5 *7]
Definition: RKTools.h:44
double M8x7[8 *7]
Definition: RKTools.h:40
void J_MMTxcov7xJ_MM(const M7x7 &J_MM, M7x7 &cov7)
void J_pMTxcov5xJ_pM(const M5x7 &J_pM, const M5x5 &cov5, M7x7 &out7)
double M1x3[1 *3]
Definition: RKTools.h:33
void J_pMTTxJ_MMTTxJ_MpTT(const M7x5 &J_pMT, const M7x7 &J_MMT, const M5x7 &J_MpT, M5x5 &J_pp)
double M7x7[7 *7]
Definition: RKTools.h:39
void J_MMxJ_MM(M7x7 &J_MM, const M7x7 &J_MM_old)
void printDim(const double *mat, unsigned int dimX, unsigned int dimY)
Matrix inversion tools.
Definition: AbsBField.h:28