#include <mMuiFastRoadFinderPar.h>
Inheritance diagram for mMuiFastRoadFinderPar:

| Public Types | |
| enum | Mode { ORIGINAL, SIMPLIFIED } | 
| Public Methods | |
| mMuiFastRoadFinderPar () | |
| ~mMuiFastRoadFinderPar () | |
| UShort_t | get_min_valid_hits () const | 
| UShort_t | get_symset_middle (int plane) const | 
| UShort_t | get_symset_upper (int plane) const | 
| UShort_t | get_symset_per_plane (int plane) const | 
| UShort_t | get_symset_plane (int symset) const | 
| UShort_t | get_symset_logical_offset (int symset) const | 
| UShort_t | get_depth_match () const | 
| UShort_t | get_min_depth () const | 
| Float_t | get_min_slope () const | 
| Float_t | get_min_momentum (int arm, int plane) const | 
| void | set_min_valid_hits (UShort_t val) | 
| void | set_symset_middle (int plane, UShort_t val) | 
| void | set_symset_upper (int plane, UShort_t val) | 
| void | set_symset_per_plane (int plane, UShort_t val) | 
| void | set_symset_plane (int symset, UShort_t val) | 
| void | set_symset_logical_offset (int symset, UShort_t val) | 
| void | set_depth_match (UShort_t val) | 
| void | set_min_depth (UShort_t val) | 
| void | set_min_slope (Float_t val) | 
| void | set_min_momentum (int arm, int plane, Float_t val) | 
| void | set_mode (Mode mode) | 
| Mode | get_mode () const | 
| UShort_t | get_maxmisshits (UShort_t ipla) const | 
| void | set_maxmisshits (UShort_t ipla, UShort_t val) | 
| UShort_t | get_showercut (UShort_t ipla, UShort_t jpla) const | 
| void | set_showercut (UShort_t ipla, UShort_t jpla, UShort_t val) | 
| UShort_t | get_swi (UShort_t ipla, UShort_t jpla) const | 
| void | set_swi (UShort_t ipla, UShort_t jpla, UShort_t val) | 
| UShort_t | get_maxskip (UShort_t ipla, UShort_t jpla) const | 
| void | set_maxskip (UShort_t ipla, UShort_t jpla, UShort_t val) | 
| void | print (std::ostream &os=std::cout) const | 
| Public Attributes | |
| enum | MAX_SYMSET = 85} | 
| Private Attributes | |
| UShort_t | _min_valid_hits | 
| UShort_t | _symset_middle [MUIOO::MAX_PLANE] | 
| UShort_t | _symset_upper [MUIOO::MAX_PLANE] | 
| UShort_t | _symset_per_plane [MUIOO::MAX_PLANE] | 
| UShort_t | _symset_plane [MAX_SYMSET] | 
| UShort_t | _symset_logical_offset [MAX_SYMSET] | 
| UShort_t | _depth_match | 
| UShort_t | _min_depth | 
| Float_t | _min_slope | 
| Float_t | _min_momentum [MUIOO::MAX_ARM][MUIOO::MAX_PLANE] | 
| Mode | _mode | 
| UShort_t | _maxmisshits [MUIOO::MAX_PLANE] | 
| UShort_t | _showercut [MUIOO::MAX_PLANE][MUIOO::MAX_PLANE] | 
| UShort_t | _swi [MUIOO::MAX_PLANE][MUIOO::MAX_PLANE] | 
| UShort_t | _maxskip [MUIOO::MAX_PLANE][MUIOO::MAX_PLANE] | 
Definition at line 12 of file mMuiFastRoadFinderPar.h.
| 
 | 
| Enumeration to select LL1 algorithm (original version, or simplified) Definition at line 18 of file mMuiFastRoadFinderPar.h. Referenced by get_mode, and set_mode. 
 00018 { ORIGINAL, SIMPLIFIED };
 | 
| 
 | 
| default constructor Definition at line 21 of file mMuiFastRoadFinderPar.h. References _depth_match, _maxmisshits, _maxskip, _min_depth, _min_momentum, _min_slope, _min_valid_hits, _mode, _showercut, _swi, _symset_logical_offset, _symset_middle, _symset_per_plane, _symset_plane, _symset_upper, MAX_SYMSET, and SIMPLIFIED. 
 00021 : 00022 _min_valid_hits(3), // 4 => sheep and deep, 2 => really shallow also 00023 _depth_match(1), 00024 _min_depth(2), 00025 _min_slope(0.21255656), // tan(12.0*M_PI/180.0) 00026 _mode(SIMPLIFIED) 00027 { 00028 _symset_middle[0] = 2; 00029 _symset_middle[1] = 10; 00030 _symset_middle[2] = 24; 00031 _symset_middle[3] = 44; 00032 _symset_middle[4] = 70; 00033 00034 _symset_upper[0] = 4; 00035 _symset_upper[1] = 15; 00036 _symset_upper[2] = 32; 00037 _symset_upper[3] = 55; 00038 _symset_upper[4] = 84; 00039 00040 int iplane; 00041 for (iplane = 0; iplane < MUIOO::MAX_PLANE; iplane++) 00042 { 00043 _symset_per_plane[iplane] = _symset_upper[iplane] - _symset_middle[iplane] + 1; 00044 } 00045 iplane = 0; 00046 for (int isymset = 0; isymset < MAX_SYMSET; isymset++) 00047 { 00048 if (isymset > _symset_upper[iplane]) iplane++; 00049 _symset_plane[isymset] = iplane; 00050 _symset_logical_offset[isymset] = isymset - _symset_middle[iplane]; 00051 } 00052 // minimum momentum, arm 0 00053 _min_momentum[0][0] = 1.49; 00054 _min_momentum[0][1] = 1.63; 00055 _min_momentum[0][2] = 1.76; 00056 _min_momentum[0][3] = 2.04; 00057 _min_momentum[0][4] = 2.31; 00058 // arm 1, same as for arm 0, to start with 00059 _min_momentum[1][0] = 1.49; 00060 _min_momentum[1][1] = 1.63; 00061 _min_momentum[1][2] = 1.76; 00062 _min_momentum[1][3] = 2.04; 00063 _min_momentum[1][4] = 2.31; 00064 00065 // variables specific to original version 00066 for (iplane = 0; iplane < MUIOO::MAX_PLANE; iplane++) 00067 { 00068 _maxmisshits[iplane] = 1; 00069 for (int jplane = 0; jplane < MUIOO::MAX_PLANE; jplane++) 00070 { 00071 // showercut 00072 if (iplane>=jplane) { 00073 _showercut[iplane][jplane] = 6; 00074 } 00075 else { 00076 _showercut[iplane][jplane] = 0; 00077 } 00078 // swi 00079 if (iplane>=jplane && jplane!=0) { 00080 _swi[iplane][jplane] = 1; 00081 } 00082 else { 00083 _swi[iplane][jplane] = 0; 00084 } 00085 // maxskip 00086 if (iplane>=jplane) { 00087 _maxskip[iplane][jplane] = 1 + iplane/3; 00088 } 00089 else { 00090 _maxskip[iplane][jplane] = 0; 00091 } 00092 00093 }//jplane 00094 }//iplane 00095 } | 
| 
 | 
| destructor Definition at line 98 of file mMuiFastRoadFinderPar.h. 
 00098 {;}  
 | 
| 
 | 
| Deciding value for how close in depth horizontal and vertical components are allowed to be Definition at line 123 of file mMuiFastRoadFinderPar.h. References _depth_match. Referenced by mMuiFastRoadFinder::find_tracks. 
 00123 { return _depth_match;}
 | 
| 
 | 
| Maximum missing hits Definition at line 175 of file mMuiFastRoadFinderPar.h. References _maxmisshits. 
 00176     {return _maxmisshits[ipla];} 
 | 
| 
 | ||||||||||||
| Max. skipped planes Definition at line 196 of file mMuiFastRoadFinderPar.h. References _maxskip. Referenced by mMuiFastRoadFinder::orig_trigger_road_finder. 
 00197     {return _maxskip[ipla][jpla];} 
 | 
| 
 | 
| Minimum depth Definition at line 126 of file mMuiFastRoadFinderPar.h. References _min_depth. Referenced by mMuiFastRoadFinder::find_tracks. 
 00126 { return _min_depth;}
 | 
| 
 | ||||||||||||
| Min momentum for a certain plane Definition at line 132 of file mMuiFastRoadFinderPar.h. References _min_momentum. 
 00132 { return _min_momentum[arm][plane];}
 | 
| 
 | 
| Min slope value for a reconstructed allowed road Definition at line 129 of file mMuiFastRoadFinderPar.h. References _min_slope. Referenced by mMuiFastRoadFinder::find_tracks. 
 00129 { return _min_slope;}
 | 
| 
 | 
| Min number of valid hits/gaps Definition at line 103 of file mMuiFastRoadFinderPar.h. References _min_valid_hits. Referenced by mMuiFastRoadFinder::simple_trigger_road_finder. 
 00103 {return _min_valid_hits;} 
 | 
| 
 | 
| Get algorithm Definition at line 170 of file mMuiFastRoadFinderPar.h. Referenced by mMuiFastRoadFinder::calc_symset, and mMuiFastRoadFinder::find_tracks. 
 00170 {return _mode;}
 | 
| 
 | ||||||||||||
| Shower cut Definition at line 182 of file mMuiFastRoadFinderPar.h. References _showercut. Referenced by mMuiFastRoadFinder::orig_trigger_road_finder. 
 00183     {return _showercut[ipla][jpla];} 
 | 
| 
 | ||||||||||||
| Variable search width Definition at line 189 of file mMuiFastRoadFinderPar.h. References _swi. Referenced by mMuiFastRoadFinder::orig_trigger_road_finder. 
 00190     {return _swi[ipla][jpla];} 
 | 
| 
 | 
| Offset from the middle symset index in the plane Definition at line 118 of file mMuiFastRoadFinderPar.h. References _symset_logical_offset. Referenced by mMuiFastRoadFinder::init. 
 00119     { return _symset_logical_offset[symset] ;}
 | 
| 
 | 
| Symset index in the middle of the panel Definition at line 106 of file mMuiFastRoadFinderPar.h. References _symset_middle. Referenced by mMuiFastRoadFinder::simple_trigger_road_finder. 
 00106 { return _symset_middle[plane];}
 | 
| 
 | 
| Number of symset indices for the panel Definition at line 112 of file mMuiFastRoadFinderPar.h. References _symset_per_plane. 
 00112 { return _symset_per_plane[plane];}
 | 
| 
 | 
| Plane number for a given symset index Definition at line 115 of file mMuiFastRoadFinderPar.h. References _symset_plane. Referenced by mMuiFastRoadFinder::init. 
 00115 { return _symset_plane[symset] ;}
 | 
| 
 | 
| Highest symset index for the panel Definition at line 109 of file mMuiFastRoadFinderPar.h. References _symset_upper. Referenced by mMuiFastRoadFinder::simple_trigger_road_finder. 
 00109 { return _symset_upper[plane];}
 | 
| 
 | 
| 
 Definition at line 202 of file mMuiFastRoadFinderPar.h. References _depth_match, _min_depth, _min_slope, _min_valid_hits, _mode, ORIGINAL, and SIMPLIFIED. 
 00202                                             {
00203     os << "** mMuiFastRoadFinderPar - value (excl. arrays) dump **" << endl;
00204     os << " min_valid_hits " << _min_valid_hits << endl         
00205        << " depth_match " << _depth_match << endl
00206        << " min_depth " << _min_depth << endl
00207        << " min_slope " << _min_slope << endl
00208        << " mode " << _mode << endl;
00209     if (_mode == SIMPLIFIED) os << " simplified algorithm" << endl;
00210     else if (_mode == ORIGINAL) os << " original algorithm " << endl;
00211     else os << " unknown algorithm " << endl;
00212     os << " ** " << endl;
00213   }
 | 
| 
 | 
| Deciding value for how close in depth horizontal and vertical components are allowed to be Definition at line 155 of file mMuiFastRoadFinderPar.h. References _depth_match. 
 00155 { _depth_match = val;}
 | 
| 
 | ||||||||||||
| Maximum missing hits Definition at line 178 of file mMuiFastRoadFinderPar.h. References _maxmisshits. 
 00179     { _maxmisshits[ipla] = val;}
 | 
| 
 | ||||||||||||||||
| Max. skipped planes Definition at line 199 of file mMuiFastRoadFinderPar.h. References _maxskip. 
 00200     { _maxskip[ipla][jpla] = val;}
 | 
| 
 | 
| Minimum depth Definition at line 158 of file mMuiFastRoadFinderPar.h. References _min_depth. 
 00158 { _min_depth = val;}
 | 
| 
 | ||||||||||||||||
| Min momentum for a certain plane Definition at line 164 of file mMuiFastRoadFinderPar.h. References _min_momentum. 
 00164 { _min_momentum[arm][plane] = val;}
 | 
| 
 | 
| Min slope value for a reconstructed allowed road Definition at line 161 of file mMuiFastRoadFinderPar.h. References _min_slope. 
 00161 { _min_slope = val;}
 | 
| 
 | 
| Min number of valid hits/gaps Definition at line 135 of file mMuiFastRoadFinderPar.h. References _min_valid_hits. 
 00135 { _min_valid_hits = val;}
 | 
| 
 | 
| Set algorithm Definition at line 167 of file mMuiFastRoadFinderPar.h. 
 00167 { _mode = mode; }
 | 
| 
 | ||||||||||||||||
| Shower cut Definition at line 185 of file mMuiFastRoadFinderPar.h. References _showercut. 
 00186     { _showercut[ipla][jpla] = val;}
 | 
| 
 | ||||||||||||||||
| Variable search width Definition at line 192 of file mMuiFastRoadFinderPar.h. References _swi. 
 00193     { _swi[ipla][jpla] = val;}
 | 
| 
 | ||||||||||||
| Offset from the middle symset index in the plane Definition at line 150 of file mMuiFastRoadFinderPar.h. References _symset_logical_offset. 
 00151     { _symset_logical_offset[symset]  = val;}
 | 
| 
 | ||||||||||||
| Symset index in the middle of the panel Definition at line 138 of file mMuiFastRoadFinderPar.h. References _symset_middle. 
 00138 { _symset_middle[plane] = val;}
 | 
| 
 | ||||||||||||
| Number of symset indices for the panel Definition at line 144 of file mMuiFastRoadFinderPar.h. References _symset_per_plane. 
 00144 { _symset_per_plane[plane] = val;}
 | 
| 
 | ||||||||||||
| Plane number for a given symset index Definition at line 147 of file mMuiFastRoadFinderPar.h. References _symset_plane. 
 00147 { _symset_plane[symset]  = val;}
 | 
| 
 | ||||||||||||
| Highest symset index for the panel Definition at line 141 of file mMuiFastRoadFinderPar.h. References _symset_upper. 
 00141 { _symset_upper[plane] = val;}
 | 
| 
 | 
| 
 Definition at line 223 of file mMuiFastRoadFinderPar.h. Referenced by get_depth_match, mMuiFastRoadFinderPar, print, and set_depth_match. | 
| 
 | 
| 
 Definition at line 229 of file mMuiFastRoadFinderPar.h. Referenced by get_maxmisshits, mMuiFastRoadFinderPar, and set_maxmisshits. | 
| 
 | 
| 
 Definition at line 232 of file mMuiFastRoadFinderPar.h. Referenced by get_maxskip, mMuiFastRoadFinderPar, and set_maxskip. | 
| 
 | 
| 
 Definition at line 224 of file mMuiFastRoadFinderPar.h. Referenced by get_min_depth, mMuiFastRoadFinderPar, print, and set_min_depth. | 
| 
 | 
| 
 Definition at line 226 of file mMuiFastRoadFinderPar.h. Referenced by get_min_momentum, mMuiFastRoadFinderPar, and set_min_momentum. | 
| 
 | 
| 
 Definition at line 225 of file mMuiFastRoadFinderPar.h. Referenced by get_min_slope, mMuiFastRoadFinderPar, print, and set_min_slope. | 
| 
 | 
| 
 Definition at line 216 of file mMuiFastRoadFinderPar.h. Referenced by get_min_valid_hits, mMuiFastRoadFinderPar, print, and set_min_valid_hits. | 
| 
 | 
| 
 Definition at line 227 of file mMuiFastRoadFinderPar.h. Referenced by get_mode, mMuiFastRoadFinderPar, print, and set_mode. | 
| 
 | 
| 
 Definition at line 230 of file mMuiFastRoadFinderPar.h. Referenced by get_showercut, mMuiFastRoadFinderPar, and set_showercut. | 
| 
 | 
| 
 Definition at line 231 of file mMuiFastRoadFinderPar.h. Referenced by get_swi, mMuiFastRoadFinderPar, and set_swi. | 
| 
 | 
| 
 Definition at line 221 of file mMuiFastRoadFinderPar.h. Referenced by get_symset_logical_offset, mMuiFastRoadFinderPar, and set_symset_logical_offset. | 
| 
 | 
| 
 Definition at line 217 of file mMuiFastRoadFinderPar.h. Referenced by get_symset_middle, mMuiFastRoadFinderPar, and set_symset_middle. | 
| 
 | 
| 
 Definition at line 219 of file mMuiFastRoadFinderPar.h. Referenced by get_symset_per_plane, mMuiFastRoadFinderPar, and set_symset_per_plane. | 
| 
 | 
| 
 Definition at line 220 of file mMuiFastRoadFinderPar.h. Referenced by get_symset_plane, mMuiFastRoadFinderPar, and set_symset_plane. | 
| 
 | 
| 
 Definition at line 218 of file mMuiFastRoadFinderPar.h. Referenced by get_symset_upper, mMuiFastRoadFinderPar, and set_symset_upper. | 
| 
 | 
| 
 Definition at line 100 of file mMuiFastRoadFinderPar.h. Referenced by mMuiFastRoadFinder::init, and mMuiFastRoadFinderPar. | 
