| 24 |
GL_PARAM TrkParams::gl[] = {GL_PARAM(),GL_PARAM(),GL_PARAM(),GL_PARAM(),GL_PARAM(),GL_PARAM(),GL_PARAM()}; |
GL_PARAM TrkParams::gl[] = {GL_PARAM(),GL_PARAM(),GL_PARAM(),GL_PARAM(),GL_PARAM(),GL_PARAM(),GL_PARAM()}; |
| 25 |
TString TrkParams::glpath[] = {"","","","","","",""}; |
TString TrkParams::glpath[] = {"","","","","","",""}; |
| 26 |
Bool_t TrkParams::glload[] = {false,false,false,false,false,false,false}; |
Bool_t TrkParams::glload[] = {false,false,false,false,false,false,false}; |
|
cDbg TrkParams::dbg_mode = {0,0,0}; |
|
| 27 |
// ---------------- |
// ---------------- |
| 28 |
// other parameters |
// other parameters |
| 29 |
// ---------------- |
// ---------------- |
| 30 |
|
cDbg TrkParams::init__dbg_mode = {0,0,0}; |
| 31 |
int TrkParams::init__pfa = 14;//COG4 |
int TrkParams::init__pfa = 14;//COG4 |
| 32 |
int TrkParams::init__mini_trackmode = 0; |
int TrkParams::init__mini_trackmode = 0; |
| 33 |
int TrkParams::init__mini_istepmin = 3; |
int TrkParams::init__mini_istepmin = 5; //3; |
| 34 |
double TrkParams::init__mini_fact = 100.; |
double TrkParams::init__mini_fact = 1.e4; //100.; |
| 35 |
|
float TrkParams::init__pfa_e234ax[] = {0.,10.,10.,15.,15.,90.}; |
| 36 |
|
float TrkParams::init__pfa_e234ay[] = {0.,20.,90.,90.,90.,90.}; |
| 37 |
|
|
| 38 |
TrkParams::TrkParams(){ |
TrkParams::TrkParams(){ |
| 39 |
|
|
| 672 |
gl[index] = q4; |
gl[index] = q4; |
| 673 |
glpath[index] = q4.PATH+q4.NAME; |
glpath[index] = q4.PATH+q4.NAME; |
| 674 |
glload[index] = false; |
glload[index] = false; |
| 675 |
if(TrkParams::VerboseMode())cout << "<< set TrkParams type "<<type<<" >> (from DB) "<<endl; |
if(TrkParams::VerboseMode()) |
| 676 |
|
cout << "<< set TrkParams type "<<type<<" from DB << RUN "<<glrun->ID<<endl; |
| 677 |
return true; |
return true; |
| 678 |
|
|
| 679 |
} |
} |
| 693 |
|
|
| 694 |
gl[index].TYPE= type; |
gl[index].TYPE= type; |
| 695 |
glpath[index] = path; |
glpath[index] = path; |
| 696 |
if(TrkParams::VerboseMode())cout << "<< set TrkParams type "<<type<<" >> (from input) "<<endl; |
if(TrkParams::VerboseMode()) |
| 697 |
|
cout << "<< set TrkParams type "<<type<<" from path << "<<path<<endl; |
| 698 |
glload[index] = false; |
glload[index] = false; |
| 699 |
|
|
| 700 |
// return TrkParams::Load(type); |
// return TrkParams::Load(type); |
| 963 |
}; |
}; |
| 964 |
|
|
| 965 |
/** |
/** |
| 966 |
|
* Fill F77 commons with PFA settings |
| 967 |
|
*/ |
| 968 |
|
void TrkParams::SetPFA(){ |
| 969 |
|
sw_.pfaid = init__pfa; |
| 970 |
|
for(int i=0; i<6; i++){ |
| 971 |
|
pfa_.e234ax[i] = init__pfa_e234ax[i]; |
| 972 |
|
pfa_.e234ay[i] = init__pfa_e234ay[i]; |
| 973 |
|
} |
| 974 |
|
}; |
| 975 |
|
/** |
| 976 |
* \brief Set p.f.a. |
* \brief Set p.f.a. |
| 977 |
* |
* |
| 978 |
* Implemented algorythms: |
* Implemented algorythms: |
| 993 |
SetPFA(); |
SetPFA(); |
| 994 |
}; |
}; |
| 995 |
/** |
/** |
| 996 |
|
* \brief Set p.f.a. angular intervals |
| 997 |
|
* |
| 998 |
|
* This methods allows to set these amgular intervals to apply ETA2,ETA3 or ETA4 |
| 999 |
|
* algorythm, in case ETA or ETAL is chosen (see TrkParams::SetPFA(int pfaid)). |
| 1000 |
|
* @param v Pointer to a vector of 12 components, which represent the |
| 1001 |
|
* angular limits for ETA2,ETA3 and ETA4, for x and y views, respectivelly. |
| 1002 |
|
* |
| 1003 |
|
*/ |
| 1004 |
|
void TrkParams::SetPFA(float *v){ |
| 1005 |
|
for(int i=0; i<6; i++){ |
| 1006 |
|
init__pfa_e234ax[i] = v[i]; |
| 1007 |
|
init__pfa_e234ay[i] = v[i+6]; |
| 1008 |
|
} |
| 1009 |
|
SetPFA(); |
| 1010 |
|
}; |
| 1011 |
|
|
| 1012 |
|
|
| 1013 |
|
/** |
| 1014 |
* \brief Get spatial resolution. |
* \brief Get spatial resolution. |
| 1015 |
* |
* |
| 1016 |
* Method to retrieve the spatial resolution associated with the |
* Method to retrieve the spatial resolution associated with the |
| 1032 |
|
|
| 1033 |
|
|
| 1034 |
|
|
| 1035 |
|
|
| 1036 |
ClassImp(TrkParams); |
ClassImp(TrkParams); |