| 37 |
* 7 default calibration |
* 7 default calibration |
| 38 |
* |
* |
| 39 |
* Internal parameters are initialized to default values |
* Internal parameters are initialized to default values |
| 40 |
* (NB!! the same values set in analisysflight.f). |
* |
|
* |
|
| 41 |
* TrkParams::SetCalib(...) and TrkParams::Set(...) methods allow to set |
* TrkParams::SetCalib(...) and TrkParams::Set(...) methods allow to set |
| 42 |
* required parameters, from an input path, from the DB (for a given input |
* required parameters, from an input path, from the DB (for a given input |
| 43 |
* run id) and from environment variable PAM_CALIB. |
* run id) and from environment variable PAM_CALIB. |
| 86 |
static int init__mini_trackmode; |
static int init__mini_trackmode; |
| 87 |
static int init__mini_istepmin; |
static int init__mini_istepmin; |
| 88 |
static double init__mini_fact; |
static double init__mini_fact; |
| 89 |
|
static cDbg init__dbg_mode; //debug mode (for both c++ and F77 roiutines) |
| 90 |
|
|
| 91 |
TrkParams(); |
TrkParams(); |
| 92 |
|
|
| 126 |
static float GetBX(float*); |
static float GetBX(float*); |
| 127 |
static float GetBY(float*); |
static float GetBY(float*); |
| 128 |
static float GetBZ(float*); |
static float GetBZ(float*); |
| 129 |
|
static float GetResolution(int,float); |
| 130 |
|
|
| 131 |
// --------------------------------------------- |
// --------------------------------------------- |
| 132 |
// debug mode |
// debug mode |
| 133 |
// --------------------------------------------- |
// --------------------------------------------- |
|
static cDbg dbg_mode; //debug mode (for both c++ and F77 roiutines) |
|
| 134 |
|
|
| 135 |
static void SetDebugMode() {dbg_mode.SetDebug(); dbg_=dbg_mode;}; |
static void SetDebugMode() {init__dbg_mode.SetDebug(); dbg_=init__dbg_mode;}; |
| 136 |
static void SetVerboseMode(){dbg_mode.SetVerbose(); dbg_=dbg_mode;}; |
static void SetVerboseMode(){init__dbg_mode.SetVerbose(); dbg_=init__dbg_mode;}; |
| 137 |
static void SetWarningMode(){dbg_mode.SetWarning(); dbg_=dbg_mode;}; |
static void SetWarningMode(){init__dbg_mode.SetWarning(); dbg_=init__dbg_mode;}; |
| 138 |
static Bool_t DebugMode(){return dbg_mode.debug;}; |
static void SetQuietMode() {init__dbg_mode.SetNone(); dbg_=init__dbg_mode;}; |
| 139 |
static Bool_t WarningMode(){return dbg_mode.warning;}; |
static Bool_t DebugMode(){return init__dbg_mode.debug;}; |
| 140 |
static Bool_t VerboseMode(){return dbg_mode.verbose;}; |
static Bool_t WarningMode(){return init__dbg_mode.warning;}; |
| 141 |
|
static Bool_t VerboseMode(){return init__dbg_mode.verbose;}; |
| 142 |
|
|
| 143 |
// ------------------------------------------------ |
// ------------------------------------------------ |
| 144 |
// alcuni metodi che non sapevo dove mettere |
// alcuni metodi che non sapevo dove mettere |