--- DarthVader/TrackerLevel2/inc/TrkParams.h 2008/01/15 14:29:18 1.12 +++ DarthVader/TrackerLevel2/inc/TrkParams.h 2008/04/11 13:44:36 1.15 @@ -16,6 +16,7 @@ #include #define NTYPES 10 +#define NGF 14 /** * \brief Class to store tracker parameter information @@ -94,9 +95,19 @@ 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) // --------------------------------------------- @@ -135,6 +146,17 @@ static float GetBZ(float*); static float GetResolution(int,float); static int GetPFA(){return sw_.pfaid;}; + static int GetPFA_NbinsAngle(); + static int GetPFA_NbinsETA(); + static int GetPFA_NbinsCharge(){return 0;}; + static int GetPFA_AngleBin(float); + static float* GetPFA_ETAcorr(TString,int,int,int); + static float* GetPFA_ETAabs(TString,int); + static float GetPFA_ETAlandi(int,int,int); + static float GetPFA_ETAlandi(int nv,int nl,float ang) + { return TrkParams::GetPFA_ETAlandi(nv,nl,TrkParams::GetPFA_AngleBin(ang)); }; + + // --------------------------------------------- // debug mode