--- DarthVader/TrackerLevel2/inc/TrkParams.h 2007/08/22 07:03:44 1.8 +++ DarthVader/TrackerLevel2/inc/TrkParams.h 2008/03/05 17:00:18 1.13 @@ -9,12 +9,14 @@ #include #include #include +#include // EMILIANO: needed to compile with ROOT > 5.16/x #include #include #include #define NTYPES 10 +#define NGF 14 /** * \brief Class to store tracker parameter information @@ -89,9 +91,23 @@ static cDbg init__dbg_mode; //debug mode (for both c++ and F77 roiutines) static float init__pfa_e234ax[6]; // angle intervals for eta2-3-4 static float init__pfa_e234ay[6]; // angle intervals for eta2-3-4 + static double init__deltab_0; + static double init__deltab_1; + static double init__dlt; + + // ------------------------------------------ + // nominal z-coordinates to define acceptance + // ------------------------------------------ + static int nGF; + static float zGF[NGF]; + static float xGF_min[NGF]; + static float xGF_max[NGF]; + static float yGF_min[NGF]; + static float yGF_max[NGF]; + static TString GF_element[NGF]; TrkParams(); - + // --------------------------------------------- // calibration (PED-SIG-BAD) // --------------------------------------------- @@ -151,14 +167,33 @@ static void SetTrackingMode() {track_.trackmode = init__mini_trackmode;}; static void SetPrecisionFactor(){track_.fact = init__mini_fact; }; static void SetStepMin() {track_.istepmin = init__mini_istepmin; }; + static void SetDeltaB() {deltab_.delta0 = init__deltab_0; + deltab_.delta1 = init__deltab_1;}; + static void SetDLT() {deltab_.dlt = init__dlt;}; + static void SetMiniDefault() { + SetTrackingMode(); + SetPrecisionFactor(); + SetStepMin(); + SetDeltaB(); + SetDLT(); + }; // + static void SetPFA(); + // set to custom values static void SetTrackingMode(int); static void SetPrecisionFactor(double); static void SetStepMin(int); + static void SetDeltaB(int,double); + static void SetDLT(double); static void SetPFA(int); static void SetPFA(float *); - static void SetPFA(void); + // --------------------------------------------- + // varie ed eventuali... + // --------------------------------------------- + static TSQLServer* SetDBConnection(); + + ClassDef(TrkParams,2); };