#include <TMui1DRoadO.h>
Inheritance diagram for TMui1DRoadO_v1:
Public Methods | |
TMui1DRoadO_v1 () | |
virtual | ~TMui1DRoadO_v1 () |
TMui1DRoadO_v1 (const Key &, UShort_t arm, UShort_t panel, UShort_t orientation, UShort_t index) | |
TMui1DRoadO_v1 (const TMui1DRoadO *) | |
TMui1DRoadO_v1 (const TMui1DRoadO &) | |
TMui1DRoadO_v1 (const Key &, const TMui1DRoadO *) | |
TMutFitPar | get_fit_par () const |
PHPoint | get_gap0_point () const |
void | set_fit_par (const TMutFitPar &fit_par) |
void | set_depth (UShort_t depth) |
void | set_nhit (UShort_t nhit) |
void | set_max_hit_plane (UShort_t maxhit) |
void | set_road_quality (Float_t quality) |
void | set_ghost_flag (UShort_t ghostflag) |
void | set_gapbit (UShort_t gapbit) |
void | set_freedom (UShort_t freedom) |
void | set_fitweight (UShort_t fitplane, Double_t fitweight) |
UShort_t | get_depth () const |
UShort_t | get_nhit () const |
int | get_numfired () const |
int | get_numskipped () const |
UShort_t | get_max_hit_plane () const |
Float_t | get_road_quality () const |
UShort_t | get_freedom () const |
Double_t | get_fitweight (UShort_t fitplane) const |
UShort_t | get_ghost_flag () const |
UShort_t | get_gapbit () const |
void | set_arm (UShort_t arm) |
void | set_panel (UShort_t panel) |
void | set_orientation (UShort_t orientation) |
void | set_index (UShort_t index) |
UShort_t | get_arm () const |
UShort_t | get_panel () const |
UShort_t | get_orientation () const |
UShort_t | get_index () const |
void | print (std::ostream &os=std::cout) const |
Private Types | |
enum | { FITWEIGHT_SIZE = 6 } |
Private Attributes | |
UShort_t | _arm |
UShort_t | _panel |
UShort_t | _orientation |
UShort_t | _index |
TMutFitPar | _fit_par |
UShort_t | _depth |
UShort_t | _nhit |
UShort_t | _max_hit_plane |
Float_t | _road_quality |
UShort_t | _freedom |
UShort_t | _ghost_flag |
UShort_t | _gapbit |
double | _fitweight [FITWEIGHT_SIZE] |
|
Definition at line 303 of file TMui1DRoadO.h.
00303 { FITWEIGHT_SIZE=6}; |
|
|
|
Definition at line 184 of file TMui1DRoadO.h.
00184 {;} |
|
Definition at line 24 of file TMui1DRoadO.cxx. References _fitweight, and FITWEIGHT_SIZE.
00028 : 00029 TMui1DRoadO(key), 00030 _arm(arm), 00031 _panel(panel), 00032 _orientation(orientation), 00033 _index(index), 00034 _fit_par(), 00035 _depth(0), 00036 _nhit(0), 00037 _max_hit_plane(0), 00038 _road_quality(0), 00039 _freedom(0), 00040 _ghost_flag(0), 00041 _gapbit(0) 00042 { 00043 std::fill(_fitweight, 00044 _fitweight+FITWEIGHT_SIZE, 00045 0.0); 00046 } |
|
Definition at line 49 of file TMui1DRoadO.cxx. References _fitweight, and FITWEIGHT_SIZE.
00049 : 00050 TMui1DRoadO(*base_ptr), 00051 _arm(base_ptr->get_arm()), 00052 _panel(base_ptr->get_panel()), 00053 _orientation(base_ptr->get_orientation()), 00054 _index(base_ptr->get_index()), 00055 _fit_par(base_ptr->get_fit_par()), 00056 _depth(base_ptr->get_depth()), 00057 _nhit(base_ptr->get_nhit()), 00058 _max_hit_plane(base_ptr->get_max_hit_plane()), 00059 _road_quality(base_ptr->get_road_quality()), 00060 _freedom(base_ptr->get_freedom()), 00061 _ghost_flag(base_ptr->get_ghost_flag()), 00062 _gapbit(base_ptr->get_gapbit()) 00063 { 00064 for(int rowid = 0; rowid < FITWEIGHT_SIZE; rowid++) 00065 { 00066 _fitweight[rowid]=base_ptr->get_fitweight(rowid); 00067 } 00068 } |
|
Definition at line 71 of file TMui1DRoadO.cxx. References _fitweight, and FITWEIGHT_SIZE.
00071 : 00072 TMui1DRoadO(base_ref), 00073 _arm(base_ref.get_arm()), 00074 _panel(base_ref.get_panel()), 00075 _orientation(base_ref.get_orientation()), 00076 _index(base_ref.get_index()), 00077 _fit_par(base_ref.get_fit_par()), 00078 _depth(base_ref.get_depth()), 00079 _nhit(base_ref.get_nhit()), 00080 _max_hit_plane(base_ref.get_max_hit_plane()), 00081 _road_quality(base_ref.get_road_quality()), 00082 _freedom(base_ref.get_freedom()), 00083 _ghost_flag(base_ref.get_ghost_flag()), 00084 _gapbit(base_ref.get_gapbit()) 00085 { 00086 for(int rowid = 0; rowid < FITWEIGHT_SIZE; rowid++) 00087 { 00088 _fitweight[rowid]=base_ref.get_fitweight(rowid); 00089 } 00090 } |
|
Definition at line 92 of file TMui1DRoadO.cxx. References _fitweight, and FITWEIGHT_SIZE.
00092 : 00093 TMui1DRoadO(baseKey), 00094 _arm(base_ptr->get_arm()), 00095 _panel(base_ptr->get_panel()), 00096 _orientation(base_ptr->get_orientation()), 00097 _index(TMuiKeyGen::get_index(baseKey.get_obj_key())), 00098 _fit_par(base_ptr->get_fit_par()), 00099 _depth(base_ptr->get_depth()), 00100 _nhit(base_ptr->get_nhit()), 00101 _max_hit_plane(base_ptr->get_max_hit_plane()), 00102 _road_quality(base_ptr->get_road_quality()), 00103 _freedom(base_ptr->get_freedom()), 00104 _ghost_flag(base_ptr->get_ghost_flag()), 00105 _gapbit(base_ptr->get_gapbit()) 00106 { 00107 00108 // Since we initialized with an "empty" key, 00109 // our associations have not been copy constructed 00110 // we'll do this in the IOC that calls this method 00111 00112 for(int rowid = 0; rowid < FITWEIGHT_SIZE; rowid++) 00113 { 00114 _fitweight[rowid]=base_ptr->get_fitweight(rowid); 00115 } 00116 } |
|
Arm [0,1] Reimplemented from TMui1DRoadO. Definition at line 258 of file TMui1DRoadO.h. References _arm.
00258 {return _arm;} |
|
Depth Reimplemented from TMui1DRoadO. Definition at line 226 of file TMui1DRoadO.h. References _depth.
00226 { return _depth;} |
|
Read only reference to TMutFitPar Reimplemented from TMui1DRoadO. Definition at line 199 of file TMui1DRoadO.h. References _fit_par.
00199 {return _fit_par;} |
|
Fit Weight Reimplemented from TMui1DRoadO. Definition at line 240 of file TMui1DRoadO.h. References _fitweight, and FITWEIGHT_SIZE.
00241 { 00242 BOUNDS_CHECK(fitplane,FITWEIGHT_SIZE); 00243 return _fitweight[fitplane]; 00244 } |
|
Freedom ? Reimplemented from TMui1DRoadO. Definition at line 238 of file TMui1DRoadO.h. References _freedom.
00238 { return _freedom;} |
|
Returns a PHPoint corresponding the intersection of the MUID road and gap 0 of the MUID. Reimplemented from TMui1DRoadO. Definition at line 201 of file TMui1DRoadO.h. References _fit_par.
|
|
Gap bit Reimplemented from TMui1DRoadO. Definition at line 248 of file TMui1DRoadO.h. References _gapbit.
00248 {return _gapbit;} |
|
Ghost flag Reimplemented from TMui1DRoadO. Definition at line 246 of file TMui1DRoadO.h. References _ghost_flag.
00246 {return _ghost_flag;} |
|
Index Reimplemented from TMui1DRoadO. Definition at line 264 of file TMui1DRoadO.h. References _index.
00264 {return _index;} |
|
Maximum hits per plane Reimplemented from TMui1DRoadO. Definition at line 234 of file TMui1DRoadO.h. References _max_hit_plane.
00234 { return _max_hit_plane;} |
|
Number of hits Reimplemented from TMui1DRoadO. Definition at line 228 of file TMui1DRoadO.h. References _nhit.
00228 { return _nhit;} |
|
Number of fired gaps Reimplemented from TMui1DRoadO. Definition at line 118 of file TMui1DRoadO.cxx. References _depth, and _gapbit. Referenced by get_numskipped.
|
|
Number of skipped gaps Reimplemented from TMui1DRoadO. Definition at line 128 of file TMui1DRoadO.cxx. References _depth, and get_numfired.
00129 { 00130 return (_depth + 1 - get_numfired() ); 00131 } |
|
Orientation[0,1] Reimplemented from TMui1DRoadO. Definition at line 262 of file TMui1DRoadO.h. References _orientation.
00262 {return _orientation;} |
|
Panel [0,5] Reimplemented from TMui1DRoadO. Definition at line 260 of file TMui1DRoadO.h. References _panel.
00260 {return _panel;} |
|
Road quality flag Reimplemented from TMui1DRoadO. Definition at line 236 of file TMui1DRoadO.h. References _road_quality.
00236 { return _road_quality;} |
|
Reimplemented from TMui1DRoadO. Definition at line 266 of file TMui1DRoadO.h. References _arm, _depth, _fit_par, _freedom, _gapbit, _ghost_flag, _index, _nhit, _orientation, _panel, _road_quality, and MUIOO::PRINT.
00266 { 00267 MUIOO::PRINT(os,GetName()); 00268 os << " arm: " << _arm << std::endl; 00269 os << " panel: " << _panel << std::endl; 00270 os << " orientation: " << _orientation << std::endl; 00271 os << " index: " << _index << std::endl; 00272 os << " depth: " << _depth << std::endl; 00273 os << " quality: " << _road_quality << std::endl; 00274 os << " freedom: " << _freedom << std::endl; 00275 os << " ghostflag: " << _ghost_flag << std::endl; 00276 os << " gapbit: " << _gapbit << std::endl; 00277 os << " nhit: " << _nhit << std::endl; 00278 os << " ref position: " << _fit_par.get_x() << " " << 00279 _fit_par.get_y() << " " << 00280 _fit_par.get_z() << " " << std::endl; 00281 os << " ref direction: " << _fit_par.get_dxdz() << " " << 00282 _fit_par.get_dydz() << " " 00283 << std::endl; 00284 MUIOO::PRINT(os,"**"); 00285 } |
|
Arm [0,1] Reimplemented from TMui1DRoadO. Definition at line 250 of file TMui1DRoadO.h. References _arm.
00250 { _arm=arm;} |
|
Depth Reimplemented from TMui1DRoadO. Definition at line 207 of file TMui1DRoadO.h. References _depth.
00207 { _depth=depth;} |
|
TMutFitPar (track pars in geometric units) Reimplemented from TMui1DRoadO. Definition at line 205 of file TMui1DRoadO.h. References _fit_par.
00205 {_fit_par = fit_par;} |
|
Fit Weight Reimplemented from TMui1DRoadO. Definition at line 221 of file TMui1DRoadO.h. References _fitweight, and FITWEIGHT_SIZE.
00221 { 00222 BOUNDS_CHECK(fitplane,FITWEIGHT_SIZE); 00223 _fitweight[fitplane] = fitweight; 00224 } |
|
Freedom ? Reimplemented from TMui1DRoadO. Definition at line 219 of file TMui1DRoadO.h. References _freedom.
00219 { _freedom=freedom;} |
|
gap bit Reimplemented from TMui1DRoadO. Definition at line 217 of file TMui1DRoadO.h. References _gapbit.
00217 { _gapbit=gapbit;} |
|
Ghost flag Reimplemented from TMui1DRoadO. Definition at line 215 of file TMui1DRoadO.h. References _ghost_flag.
00215 { _ghost_flag=ghostflag;} |
|
Index Reimplemented from TMui1DRoadO. Definition at line 256 of file TMui1DRoadO.h. References _index.
00256 { _index=index;} |
|
Maximum hits per plane Reimplemented from TMui1DRoadO. Definition at line 211 of file TMui1DRoadO.h. References _max_hit_plane.
00211 { _max_hit_plane=maxhit;} |
|
Number of hits Reimplemented from TMui1DRoadO. Definition at line 209 of file TMui1DRoadO.h. References _nhit.
00209 { _nhit=nhit;} |
|
Orientation[0,1] Reimplemented from TMui1DRoadO. Definition at line 254 of file TMui1DRoadO.h. References _orientation.
00254 { _orientation=orientation;} |
|
Panel [0,5] Reimplemented from TMui1DRoadO. Definition at line 252 of file TMui1DRoadO.h. References _panel.
00252 { _panel=panel;} |
|
Road quality flag Reimplemented from TMui1DRoadO. Definition at line 213 of file TMui1DRoadO.h. References _road_quality.
00213 { _road_quality=quality;} |
|
Definition at line 289 of file TMui1DRoadO.h. |
|
Definition at line 296 of file TMui1DRoadO.h. Referenced by get_depth, get_numfired, get_numskipped, print, and set_depth. |
|
Definition at line 294 of file TMui1DRoadO.h. Referenced by get_fit_par, get_gap0_point, print, and set_fit_par. |
|
Definition at line 304 of file TMui1DRoadO.h. Referenced by get_fitweight, set_fitweight, and TMui1DRoadO_v1. |
|
Definition at line 300 of file TMui1DRoadO.h. Referenced by get_freedom, print, and set_freedom. |
|
Definition at line 302 of file TMui1DRoadO.h. Referenced by get_gapbit, get_numfired, print, and set_gapbit. |
|
Definition at line 301 of file TMui1DRoadO.h. Referenced by get_ghost_flag, print, and set_ghost_flag. |
|
Definition at line 292 of file TMui1DRoadO.h. |
|
Definition at line 298 of file TMui1DRoadO.h. Referenced by get_max_hit_plane, and set_max_hit_plane. |
|
Definition at line 297 of file TMui1DRoadO.h. |
|
Definition at line 291 of file TMui1DRoadO.h. Referenced by get_orientation, print, and set_orientation. |
|
Definition at line 290 of file TMui1DRoadO.h. |
|
Definition at line 299 of file TMui1DRoadO.h. Referenced by get_road_quality, print, and set_road_quality. |