ROOT logo
#ifndef __HKALDEF_H__
#define __HKALDEF_H__

namespace Kalman {

#define kNumKalStates 4 //! Number of different states for the Kalman filter: predicted, filtered, smoothed and inverse filtered state.
#define dafDebug      0 //! Debug level for DAF. 1 - additional consistency checks. 2 - print debug messages. Higher number -> more debug info.
#define kalDebug      0 //! Debug level for Kalman filter. 1 - additional consistency checks. 2 - print debug messages. Higher number -> more debug info.
#define metaDebug     0 //! Debug level for Meta matching.
#define rkDebug       0 //! Debug level for Runge-Kutta. 1 - additional consistency checks. 2 - print debug messages. Higher number -> more debug info.

    enum coordSys         {
        kSecCoord    = 0, // Sector coordinate system.
        kLayCoord    = 1  // Virtual layer coordinate system.
    };

    enum filtMethod       {
	kKalConv     = 0,
	kKalJoseph   = 1,
	kKalUD       = 2,
	kKalSeq      = 3,
	kKalSwer     = 4
    };

    enum kalHitTypes {
        kWireHit     = 0,  // Work with drift chamber hits.
        kSegHit      = 1   // Work with 2D segment hits.
    };

    enum kalFilterTypes   {
	kPredicted   = 0,
        kFiltered    = 1,
        kSmoothed    = 2,
        kInvFiltered = 3
    };

    enum kalStateIdx      {
	kIdxX0       = 0,
        kIdxY0       = 1,
        kIdxTanPhi   = 2, //? change names to tx, ty
        kIdxTanTheta = 3,
	kIdxQP       = 4,
        kIdxZ0       = 5
    };

    enum kalRotateOptions {
	kNoRot       = 0,
        kVarRot      = 1  // Rotate coordinate so that it points in inital track direction.
    };

    enum matIdx           {
	kMatIdxA         = 0,
        kMatIdxZ         = 1,
        kMatIdxDensity   = 2,
        kMatIdxExEner    = 3,
        kMatIdxRadLength = 4
    };

} // namespace

#endif //__HKALDEF_H__
 hkaldef.h:1
 hkaldef.h:2
 hkaldef.h:3
 hkaldef.h:4
 hkaldef.h:5
 hkaldef.h:6
 hkaldef.h:7
 hkaldef.h:8
 hkaldef.h:9
 hkaldef.h:10
 hkaldef.h:11
 hkaldef.h:12
 hkaldef.h:13
 hkaldef.h:14
 hkaldef.h:15
 hkaldef.h:16
 hkaldef.h:17
 hkaldef.h:18
 hkaldef.h:19
 hkaldef.h:20
 hkaldef.h:21
 hkaldef.h:22
 hkaldef.h:23
 hkaldef.h:24
 hkaldef.h:25
 hkaldef.h:26
 hkaldef.h:27
 hkaldef.h:28
 hkaldef.h:29
 hkaldef.h:30
 hkaldef.h:31
 hkaldef.h:32
 hkaldef.h:33
 hkaldef.h:34
 hkaldef.h:35
 hkaldef.h:36
 hkaldef.h:37
 hkaldef.h:38
 hkaldef.h:39
 hkaldef.h:40
 hkaldef.h:41
 hkaldef.h:42
 hkaldef.h:43
 hkaldef.h:44
 hkaldef.h:45
 hkaldef.h:46
 hkaldef.h:47
 hkaldef.h:48
 hkaldef.h:49
 hkaldef.h:50
 hkaldef.h:51
 hkaldef.h:52
 hkaldef.h:53
 hkaldef.h:54
 hkaldef.h:55
 hkaldef.h:56
 hkaldef.h:57
 hkaldef.h:58
 hkaldef.h:59
 hkaldef.h:60
 hkaldef.h:61