| 853 |
return b[2]/10.; |
return b[2]/10.; |
| 854 |
} |
} |
| 855 |
|
|
| 856 |
|
|
| 857 |
|
|
| 858 |
/** |
/** |
| 859 |
* \brief Set tracking mode (0=standard. 1=???) |
* \brief Set tracking mode (0=standard. 1=???) |
| 860 |
*/ |
*/ |
| 894 |
*/ |
*/ |
| 895 |
void TrkParams::SetPFA(int pfaid){ |
void TrkParams::SetPFA(int pfaid){ |
| 896 |
init__pfa = pfaid; |
init__pfa = pfaid; |
| 897 |
SetStepMin(); |
SetPFA(); |
| 898 |
}; |
}; |
| 899 |
|
/** |
| 900 |
|
* \brief Get spatial resolution. |
| 901 |
|
* |
| 902 |
|
* Method to retrieve the spatial resolution associated with the |
| 903 |
|
* adopted p.f.a. |
| 904 |
|
* @param view Tracker view (1-12) |
| 905 |
|
* @param angle Track projected angle |
| 906 |
|
* |
| 907 |
|
* In order to change p.f.a. use the SetPFA(int pfaid) method, eg.: |
| 908 |
|
* |
| 909 |
|
* TrkParams::SetPFA(0) // ETA |
| 910 |
|
* |
| 911 |
|
*/ |
| 912 |
|
float TrkParams::GetResolution(int view, float angle){ |
| 913 |
|
float res = 1000; |
| 914 |
|
if( init__pfa == 0 )res = riseta_(&view,&angle); |
| 915 |
|
else cout << "float TrkParams::GetResolution(int view, float angle) -- PFA "<<init__pfa<<" not yet implemented"<<endl; |
| 916 |
|
return res; |
| 917 |
|
} |
| 918 |
|
|
| 919 |
|
|
| 920 |
|
|