--- DarthVader/TrackerLevel2/inc/TrkParams.h 2007/11/07 10:38:51 1.10 +++ DarthVader/TrackerLevel2/inc/TrkParams.h 2011/11/29 13:24:15 1.17 @@ -16,6 +16,7 @@ #include #define NTYPES 10 +#define NGF 14 /** * \brief Class to store tracker parameter information @@ -73,6 +74,8 @@ static TString calibpathf; //full static Bool_t calib104; static Bool_t calibload; + static TrkCalib* calib1; + static TrkCalib* calib2; // --------------------------------------------- // variables to store loaded-parameters info // --------------------------------------------- @@ -90,10 +93,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) // --------------------------------------------- @@ -101,8 +117,8 @@ static Bool_t LoadCalib( ); static Bool_t CalibIsLoaded(){ return calibload; }; static UInt_t ValidateTrkCalib( CalibTrk1Event* ); - static void FillFCalibFrom(TFile* , Int_t , Int_t );//full - static void FillTCalibFrom(TFile* , Int_t , Int_t );//truncated +// static void FillFCalibFrom(TFile* , Int_t , Int_t );//full +// static void FillTCalibFrom(TFile* , Int_t , Int_t );//truncated static void FillTCalibFrom(TString path); static void FillACalibFrom(TFile* , Int_t , Int_t );//all static void FillMask(TFile* , Int_t , Int_t ); @@ -112,9 +128,11 @@ // --------------------------------------------- static Bool_t Set( GL_RUN* glrun, TSQLServer* dbc, UInt_t type); static Bool_t Set( GL_RUN* glrun, TSQLServer* dbc){ - for(Int_t i=0; i