#ifndef CONST_H #define CONST_H #include static const double PI = 3.141592653589793238462643; static const double kappa = 1.79284739; static const double BendAngle = 25; static const double DEGTORAD = 0.01745329251994329576923691; // Pi/180 static const double m_u = 0.93149; static const double m_p = 0.938272; static const double m_4he = 4.002603 * m_u; static const double mu_p = 2.793; enum ReactionType { UNDEF, EP_SINGLE, EP_COINC, EEP, GAMMAD }; enum SpinTransportModel { DIPOLE, PENTCHEV, PENTCHEV1, PENTCHEV2, COSY }; // todo: // can't do it that way: const char SPTNames[] = {"DIPOLE", "PENTCHEV", "COSY"}; #endif