35 |
double TrkParams::init__mini_fact = 1.e4; //100.; |
double TrkParams::init__mini_fact = 1.e4; //100.; |
36 |
float TrkParams::init__pfa_e234ax[] = {0.,10.,10.,15.,15.,90.}; |
float TrkParams::init__pfa_e234ax[] = {0.,10.,10.,15.,15.,90.}; |
37 |
float TrkParams::init__pfa_e234ay[] = {0.,20.,90.,90.,90.,90.}; |
float TrkParams::init__pfa_e234ay[] = {0.,20.,90.,90.,90.,90.}; |
38 |
|
double TrkParams::init__deltab_0 = 0.; |
39 |
|
double TrkParams::init__deltab_1 = 0.; |
40 |
|
|
41 |
TrkParams::TrkParams(){ |
TrkParams::TrkParams(){ |
42 |
|
|
879 |
} |
} |
880 |
|
|
881 |
|
|
|
|
|
882 |
/** |
/** |
883 |
* \brief Set tracking mode (0=standard. 1=???) |
* \brief Set tracking mode (0=standard. 1=???) |
884 |
*/ |
*/ |
885 |
void TrkParams::SetTrackingMode(int trackmode) { |
void TrkParams::SetTrackingMode(int trackmode) { |
886 |
init__mini_trackmode = trackmode; |
init__mini_trackmode = trackmode; |
887 |
SetTrackingMode(); |
SetTrackingMode(); //fill F77 common |
888 |
}; |
}; |
889 |
/** |
/** |
890 |
* \brief Set fit-precision factor (typical value fact=100.) |
* \brief Set fit-precision factor (typical value fact=100.) |
891 |
*/ |
*/ |
892 |
void TrkParams::SetPrecisionFactor(double fact){ |
void TrkParams::SetPrecisionFactor(double fact){ |
893 |
init__mini_fact = fact; |
init__mini_fact = fact; |
894 |
SetPrecisionFactor(); |
SetPrecisionFactor(); //fill F77 common |
895 |
}; |
}; |
896 |
/** |
/** |
897 |
* \brief Set minimum number of step in track fitting |
* \brief Set minimum number of step in track fitting |
898 |
*/ |
*/ |
899 |
void TrkParams::SetStepMin(int istepmin){ |
void TrkParams::SetStepMin(int istepmin){ |
900 |
init__mini_istepmin = istepmin; |
init__mini_istepmin = istepmin; |
901 |
SetStepMin(); |
SetStepMin(); //fill F77 common |
902 |
|
}; |
903 |
|
/** |
904 |
|
* \brief Set deltaB parameters (id=0,1) |
905 |
|
*/ |
906 |
|
void TrkParams::SetDeltaB(int id,double db){ |
907 |
|
if(id!=0 && id!=1)cout << "void TrkParams::SetDeltaB(int id,double db) -- wrong input parameters: "<<id<<" "<<db<<endl; |
908 |
|
if(id==0)init__deltab_0 = db; |
909 |
|
if(id==1)init__deltab_1 = db; |
910 |
|
SetDeltaB(); //fill F77 common |
911 |
}; |
}; |
912 |
|
|
913 |
/** |
/** |
914 |
* Fill F77 commons with PFA settings |
* \brief Fill F77 commons with PFA settings |
915 |
*/ |
*/ |
916 |
void TrkParams::SetPFA(){ |
void TrkParams::SetPFA(){ |
917 |
sw_.pfaid = init__pfa; |
sw_.pfaid = init__pfa; |
938 |
*/ |
*/ |
939 |
void TrkParams::SetPFA(int pfaid){ |
void TrkParams::SetPFA(int pfaid){ |
940 |
init__pfa = pfaid; |
init__pfa = pfaid; |
941 |
SetPFA(); |
SetPFA(); //fill F77 common |
942 |
}; |
}; |
943 |
/** |
/** |
944 |
* \brief Set p.f.a. angular intervals |
* \brief Set p.f.a. angular intervals |
945 |
* |
* |
946 |
* This methods allows to set these amgular intervals to apply ETA2,ETA3 or ETA4 |
* This methods allows to set amgular intervals to apply ETA2,ETA3 or ETA4 |
947 |
* algorythm, in case ETA or ETAL is chosen (see TrkParams::SetPFA(int pfaid)). |
* algorythm, in case ETA or ETAL is set (see TrkParams::SetPFA(int pfaid)). |
948 |
* @param v Pointer to a vector of 12 components, which represent the |
* @param v Pointer to a vector of 12 components, which represent the |
949 |
* angular limits for ETA2,ETA3 and ETA4, for x and y views, respectivelly. |
* angular limits for ETA2,ETA3 and ETA4, for x and y views, respectivelly. |
950 |
* |
* |
954 |
init__pfa_e234ax[i] = v[i]; |
init__pfa_e234ax[i] = v[i]; |
955 |
init__pfa_e234ay[i] = v[i+6]; |
init__pfa_e234ay[i] = v[i+6]; |
956 |
} |
} |
957 |
SetPFA(); |
SetPFA(); //fill F77 common |
958 |
}; |
}; |
959 |
|
|
960 |
|
|