#include <TMuiRoadO.h>
Inheritance diagram for TMuiRoadO_v1:
Public Methods | |
TMuiRoadO_v1 () | |
virtual | ~TMuiRoadO_v1 () |
TMuiRoadO_v1 (const Key &, UShort_t arm, UShort_t index) | |
TMuiRoadO_v1 (const TMuiRoadO *) | |
TMuiRoadO_v1 (const TMuiRoadO &) | |
TMutFitPar | get_fit_par () const |
const TMutFitPar * | get_const_fitpar () 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_group (UShort_t group) |
void | set_golden (UShort_t golden) |
void | set_freedom (UShort_t freedom) |
UShort_t | get_depth () const |
UShort_t | get_nhit () const |
UShort_t | get_max_hit_plane () const |
Float_t | get_road_quality () const |
UShort_t | get_freedom () const |
UShort_t | get_ghost_flag () const |
UShort_t | get_gapbit () const |
UShort_t | get_group () const |
UShort_t | get_golden () const |
void | set_arm (UShort_t arm) |
void | set_index (UShort_t index) |
UShort_t | get_arm () const |
UShort_t | get_index () const |
void | print (std::ostream &os=std::cout) const |
Private Attributes | |
UShort_t | _arm |
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 |
UShort_t | _group |
UShort_t | _golden |
|
|
|
Definition at line 174 of file TMuiRoadO.h.
00174 {;} |
|
Definition at line 24 of file TMuiRoadO.cxx.
00026 : 00027 TMuiRoadO(key), 00028 _arm(arm), 00029 _index(index), 00030 _fit_par(), 00031 _depth(0), 00032 _nhit(0), 00033 _max_hit_plane(0), 00034 _road_quality(0.0), 00035 _freedom(0), 00036 _ghost_flag(0), 00037 _gapbit(0), 00038 _group(0), 00039 _golden(0) 00040 {;} |
|
Definition at line 43 of file TMuiRoadO.cxx.
00043 : 00044 TMuiRoadO(*base_ptr), 00045 _arm(base_ptr->get_arm()), 00046 _index(base_ptr->get_index()), 00047 _fit_par(base_ptr->get_fit_par()), 00048 _depth(base_ptr->get_depth()), 00049 _nhit(base_ptr->get_nhit()), 00050 _max_hit_plane(base_ptr->get_max_hit_plane()), 00051 _road_quality(base_ptr->get_road_quality()), 00052 _freedom(base_ptr->get_freedom()), 00053 _ghost_flag(base_ptr->get_ghost_flag()), 00054 _gapbit(base_ptr->get_gapbit()), 00055 _group(base_ptr->get_group()), 00056 _golden(base_ptr->get_golden()) 00057 {;} |
|
Definition at line 59 of file TMuiRoadO.cxx.
00059 : 00060 TMuiRoadO(base_ref), 00061 _arm(base_ref.get_arm()), 00062 _index(base_ref.get_index()), 00063 _fit_par(base_ref.get_fit_par()), 00064 _depth(base_ref.get_depth()), 00065 _nhit(base_ref.get_nhit()), 00066 _max_hit_plane(base_ref.get_max_hit_plane()), 00067 _road_quality(base_ref.get_road_quality()), 00068 _freedom(base_ref.get_freedom()), 00069 _ghost_flag(base_ref.get_ghost_flag()), 00070 _gapbit(base_ref.get_gapbit()), 00071 _group(base_ref.get_group()), 00072 _golden(base_ref.get_golden()) 00073 00074 {;} |
|
Arm [0,1] Reimplemented from TMuiRoadO. Definition at line 233 of file TMuiRoadO.h. References _arm.
00233 {return _arm;} |
|
const TMutFitPar Reimplemented from TMuiRoadO. Definition at line 186 of file TMuiRoadO.h. References _fit_par. Referenced by get_gap0_point.
00186 {return &_fit_par;} |
|
Depth Reimplemented from TMuiRoadO. Definition at line 211 of file TMuiRoadO.h. References _depth.
00211 { return _depth;} |
|
Read only reference to TMutFitPar Reimplemented from TMuiRoadO. Definition at line 185 of file TMuiRoadO.h. References _fit_par.
00185 {return _fit_par;} |
|
Freedom ? Reimplemented from TMuiRoadO. Definition at line 219 of file TMuiRoadO.h. References _freedom.
00219 { return _freedom;} |
|
Returns a PHPoint corresponding the intersection of the MUID road and gap 0 of the MUID. Reimplemented from TMuiRoadO. Definition at line 77 of file TMuiRoadO.cxx. References get_const_fitpar. Referenced by print.
00077 { 00078 00079 float mini_z = 10000000.0; 00080 float mini_z_abs = 10000000.0; 00081 00082 TMuiClusterMapO::const_key_iterator clus_iter = get_associated<TMuiClusterO>(); 00083 while(TMuiClusterMapO::const_pointer clust_ptr = clus_iter.next()){ 00084 if(abs((clust_ptr->get()->get_centroidpos()).getZ())<mini_z_abs) { 00085 mini_z = (clust_ptr->get()->get_centroidpos()).getZ(); 00086 mini_z_abs = abs(mini_z); 00087 } 00088 } 00089 return TMutTrackUtil::linear_track_model(get_const_fitpar(), 00090 mini_z); 00091 } |
|
Gap bit Reimplemented from TMuiRoadO. Definition at line 223 of file TMuiRoadO.h. References _gapbit.
00223 {return _gapbit;} |
|
Ghost flag Reimplemented from TMuiRoadO. Definition at line 221 of file TMuiRoadO.h. References _ghost_flag.
00221 {return _ghost_flag;} |
|
Golden Flag Reimplemented from TMuiRoadO. Definition at line 227 of file TMuiRoadO.h. References _golden.
00227 {return _golden;} |
|
Group ID Reimplemented from TMuiRoadO. Definition at line 225 of file TMuiRoadO.h. References _group.
00225 {return _group;} |
|
Index Reimplemented from TMuiRoadO. Definition at line 235 of file TMuiRoadO.h. References _index.
00235 {return _index;} |
|
Maximum hits per plane Reimplemented from TMuiRoadO. Definition at line 215 of file TMuiRoadO.h. References _max_hit_plane.
00215 { return _max_hit_plane;} |
|
Number of hits Reimplemented from TMuiRoadO. Definition at line 213 of file TMuiRoadO.h. References _nhit.
00213 { return _nhit;} |
|
Road quality flag Reimplemented from TMuiRoadO. Definition at line 217 of file TMuiRoadO.h. References _road_quality.
00217 { return _road_quality;} |
|
Reimplemented from TMuiRoadO. Definition at line 237 of file TMuiRoadO.h. References _arm, _depth, _fit_par, _freedom, _ghost_flag, _golden, _group, _index, _nhit, _road_quality, get_gap0_point, and MUIOO::PRINT.
00237 { 00238 MUIOO::PRINT(os,GetName()); 00239 os << " arm: " << _arm << std::endl; 00240 os << " index: " << _index << std::endl; 00241 os << " depth: " << _depth << std::endl; 00242 os << " quality: " << _road_quality << std::endl; 00243 os << " freedom: " << _freedom << std::endl; 00244 os << " ghostflag: " << _ghost_flag << std::endl; 00245 os << " group: " << _group << std::endl; 00246 os << " golden: " << _golden << std::endl; 00247 os << " nhit: " << _nhit << std::endl; 00248 os << " chi_square: " << _fit_par.get_chi_square() << " " << std::endl; 00249 os << " ref position: " << _fit_par.get_x() << " " << 00250 _fit_par.get_y() << " " << 00251 _fit_par.get_z() << " " << std::endl; 00252 00253 os << " ref direction: " 00254 << _fit_par.get_dxdz() << " " 00255 << _fit_par.get_dydz() << " " 00256 << std::endl; 00257 00258 os << " gap0 point: " 00259 << get_gap0_point().getX() << " " 00260 << get_gap0_point().getY() << " " 00261 << get_gap0_point().getZ() << std::endl; 00262 00263 MUIOO::PRINT(os,"**"); 00264 } |
|
Arm [0,1] Reimplemented from TMuiRoadO. Definition at line 229 of file TMuiRoadO.h. References _arm.
00229 { _arm=arm;} |
|
Depth Reimplemented from TMuiRoadO. Definition at line 193 of file TMuiRoadO.h. References _depth.
00193 { _depth=depth;} |
|
TMutFitPar (track pars in geometric units) Reimplemented from TMuiRoadO. Definition at line 191 of file TMuiRoadO.h. References _fit_par.
00191 {_fit_par = fit_par;} |
|
Freedom ? Reimplemented from TMuiRoadO. Definition at line 209 of file TMuiRoadO.h. References _freedom.
00209 { _freedom=freedom;} |
|
gap bit Reimplemented from TMuiRoadO. Definition at line 203 of file TMuiRoadO.h. References _gapbit.
00203 { _gapbit=gapbit;} |
|
Ghost flag Reimplemented from TMuiRoadO. Definition at line 201 of file TMuiRoadO.h. References _ghost_flag.
00201 { _ghost_flag=ghostflag;} |
|
golden flag Reimplemented from TMuiRoadO. Definition at line 207 of file TMuiRoadO.h. References _golden.
00207 { _golden=golden;} |
|
group id Reimplemented from TMuiRoadO. Definition at line 205 of file TMuiRoadO.h. References _group.
00205 { _group=group;} |
|
Index Reimplemented from TMuiRoadO. Definition at line 231 of file TMuiRoadO.h. References _index.
00231 { _index=index;} |
|
Maximum hits per plane Reimplemented from TMuiRoadO. Definition at line 197 of file TMuiRoadO.h. References _max_hit_plane.
00197 { _max_hit_plane=maxhit;} |
|
Number of hits Reimplemented from TMuiRoadO. Definition at line 195 of file TMuiRoadO.h. References _nhit.
00195 { _nhit=nhit;} |
|
Road quality flag Reimplemented from TMuiRoadO. Definition at line 199 of file TMuiRoadO.h. References _road_quality.
00199 { _road_quality=quality;} |
|
Definition at line 268 of file TMuiRoadO.h. |
|
Definition at line 273 of file TMuiRoadO.h. |
|
Definition at line 271 of file TMuiRoadO.h. Referenced by get_const_fitpar, get_fit_par, print, and set_fit_par. |
|
Definition at line 277 of file TMuiRoadO.h. Referenced by get_freedom, print, and set_freedom. |
|
Definition at line 279 of file TMuiRoadO.h. Referenced by get_gapbit, and set_gapbit. |
|
Definition at line 278 of file TMuiRoadO.h. Referenced by get_ghost_flag, print, and set_ghost_flag. |
|
Definition at line 281 of file TMuiRoadO.h. Referenced by get_golden, print, and set_golden. |
|
Definition at line 280 of file TMuiRoadO.h. |
|
Definition at line 269 of file TMuiRoadO.h. |
|
Definition at line 275 of file TMuiRoadO.h. Referenced by get_max_hit_plane, and set_max_hit_plane. |
|
Definition at line 274 of file TMuiRoadO.h. |
|
Definition at line 276 of file TMuiRoadO.h. Referenced by get_road_quality, print, and set_road_quality. |