#include <TMuiClusterO.h>
Inheritance diagram for TMuiClusterO_v2:
Public Methods | |
TMuiClusterO_v2 () | |
virtual | ~TMuiClusterO_v2 () |
TMuiClusterO_v2 (const Key &, UShort_t arm, UShort_t plane, UShort_t panel, UShort_t orientation, UShort_t index) | |
TMuiClusterO_v2 (const TMuiClusterO *) | |
TMuiClusterO_v2 (const TMuiClusterO &) | |
void | set_arm (UShort_t arm) |
void | set_plane (UShort_t plane) |
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_plane () const |
UShort_t | get_panel () const |
UShort_t | get_orientation () const |
UShort_t | get_index () const |
void | set_size (UShort_t size) |
void | set_centroidpos (const PHPoint &point) |
void | set_centroidsigma (const PHPoint &point) |
UShort_t | get_size () const |
PHPoint | get_centroidpos () const |
PHPoint | get_centroidsigma () const |
void | set_coord (const PHLine &line) |
void | set_coord_end (const PHPoint &point) |
void | set_coord_begin (const PHPoint &point) |
PHLine | get_coord () const |
PHPoint | get_coord_end () const |
PHPoint | get_coord_begin () const |
void | print (std::ostream &os=std::cout) const |
Private Types | |
enum | { POINT_SIZE = 3 } |
Private Attributes | |
UShort_t | _arm |
UShort_t | _plane |
UShort_t | _panel |
UShort_t | _orientation |
UShort_t | _size |
UShort_t | _index |
double | _centroidpos [POINT_SIZE] |
double | _centroidsigma [POINT_SIZE] |
double | _point_1 [POINT_SIZE] |
double | _point_2 [POINT_SIZE] |
Definition at line 195 of file TMuiClusterO.h.
|
Definition at line 270 of file TMuiClusterO.h.
00270 {POINT_SIZE=3}; |
|
Version v2 Definition at line 97 of file TMuiClusterO.cxx. References _centroidpos, _centroidsigma, _point_1, _point_2, and POINT_SIZE.
00097 : 00098 _arm(0), 00099 _plane(0), 00100 _panel(0), 00101 _orientation(0), 00102 _size(0), 00103 _index(0) 00104 { 00105 std::fill(_centroidpos,_centroidpos+POINT_SIZE,0); 00106 std::fill(_centroidsigma,_centroidsigma+POINT_SIZE,0); 00107 std::fill(_point_1,_point_1+POINT_SIZE,0); 00108 std::fill(_point_2,_point_2+POINT_SIZE,0); 00109 } |
|
Definition at line 201 of file TMuiClusterO.h.
00201 {;} |
|
Definition at line 111 of file TMuiClusterO.cxx. References _centroidpos, _centroidsigma, _point_1, _point_2, and POINT_SIZE.
00116 : 00117 TMuiClusterO(key), 00118 _arm(arm), 00119 _plane(plane), 00120 _panel(panel), 00121 _orientation(orientation), 00122 _size(0), 00123 _index(index) 00124 { 00125 std::fill(_centroidpos,_centroidpos+POINT_SIZE,0); 00126 std::fill(_centroidsigma,_centroidsigma+POINT_SIZE,0); 00127 std::fill(_point_1,_point_1+POINT_SIZE,0); 00128 std::fill(_point_2,_point_2+POINT_SIZE,0); 00129 } |
|
Definition at line 132 of file TMuiClusterO.cxx. References set_centroidpos, set_centroidsigma, and set_coord.
00132 : 00133 TMuiClusterO(*base_ptr), 00134 _arm(base_ptr->get_arm()), 00135 _plane(base_ptr->get_plane()), 00136 _panel(base_ptr->get_panel()), 00137 _orientation(base_ptr->get_orientation()), 00138 _size(base_ptr->get_size()), 00139 _index(base_ptr->get_index()) 00140 { 00141 set_centroidpos(base_ptr->get_centroidpos()); 00142 set_centroidsigma(base_ptr->get_centroidsigma()); 00143 set_coord(PHLine(base_ptr->get_coord_begin(), 00144 base_ptr->get_coord_end())); 00145 } |
|
Definition at line 147 of file TMuiClusterO.cxx. References set_centroidpos, set_centroidsigma, and set_coord.
00147 : 00148 TMuiClusterO(base_ref), 00149 _arm(base_ref.get_arm()), 00150 _plane(base_ref.get_plane()), 00151 _panel(base_ref.get_panel()), 00152 _orientation(base_ref.get_orientation()), 00153 _size(base_ref.get_size()), 00154 _index(base_ref.get_index()) 00155 { 00156 set_centroidpos(base_ref.get_centroidpos()); 00157 set_centroidsigma(base_ref.get_centroidsigma()); 00158 set_coord(PHLine(base_ref.get_coord_begin(), 00159 base_ref.get_coord_end())); 00160 } |
|
Arm [0,1] Reimplemented from TMuiClusterO. Definition at line 219 of file TMuiClusterO.h. References _arm.
00219 {return _arm;} |
|
CentroidPos Reimplemented from TMuiClusterO. Definition at line 177 of file TMuiClusterO.cxx. References _centroidpos.
00178 { 00179 return PHPoint(_centroidpos[0], 00180 _centroidpos[1], 00181 _centroidpos[2]); 00182 } |
|
CentroidSigma Reimplemented from TMuiClusterO. Definition at line 185 of file TMuiClusterO.cxx. References _centroidsigma.
00186 { 00187 return PHPoint(_centroidsigma[0], 00188 _centroidsigma[1], 00189 _centroidsigma[2]); 00190 } |
|
Return coordinate Reimplemented from TMuiClusterO. Definition at line 192 of file TMuiClusterO.cxx. References _point_1, and _point_2.
|
|
Return begin point Reimplemented from TMuiClusterO. Definition at line 210 of file TMuiClusterO.cxx. References _point_1.
|
|
Return end point Reimplemented from TMuiClusterO. Definition at line 203 of file TMuiClusterO.cxx. References _point_2.
|
|
Index Reimplemented from TMuiClusterO. Definition at line 223 of file TMuiClusterO.h. References _index.
00223 {return _index;} |
|
Orientation[0,1] Reimplemented from TMuiClusterO. Definition at line 222 of file TMuiClusterO.h. References _orientation.
00222 {return _orientation;} |
|
Panel [0,5] Reimplemented from TMuiClusterO. Definition at line 221 of file TMuiClusterO.h. References _panel.
00221 {return _panel;} |
|
Plane [0,4] Reimplemented from TMuiClusterO. Definition at line 220 of file TMuiClusterO.h. References _plane.
00220 {return _plane;} |
|
size Reimplemented from TMuiClusterO. Definition at line 229 of file TMuiClusterO.h.
00229 {return 0;} |
|
Reimplemented from TMuiClusterO. Definition at line 241 of file TMuiClusterO.h. References _arm, _centroidpos, _centroidsigma, _index, _orientation, _panel, _plane, _point_1, _point_2, and MUIOO::PRINT.
00241 { 00242 MUIOO::PRINT(os,GetName()); 00243 os << " index: " << _index << std::endl; 00244 os << " arm: " << _arm << std::endl; 00245 os << " plane: " << _plane << std::endl; 00246 os << " panel: " << _panel << std::endl; 00247 os << " orientation: " << _orientation << std::endl; 00248 os << " centroidpos: (" << _centroidpos[0] << "," 00249 << _centroidpos[1] << "," 00250 << _centroidpos[2] <<")" << std::endl; 00251 os << " centroidsigma: (" << _centroidsigma[0] << "," 00252 << _centroidsigma[1] << "," 00253 << _centroidsigma[2] <<")" << std::endl; 00254 os << " x1: " << _point_1[0] << " y1: " << _point_1[1] 00255 << " z1: " << _point_1[2] << std::endl; 00256 os << " x2: " << _point_2[0] << " y2: " << _point_2[1] 00257 << " z2: " << _point_2[2] << std::endl; 00258 MUIOO::PRINT(os,"**"); 00259 } |
|
Arm [0,1] Reimplemented from TMuiClusterO. Definition at line 213 of file TMuiClusterO.h. References _arm.
00213 { _arm=arm;} |
|
CentroidPos Reimplemented from TMuiClusterO. Definition at line 162 of file TMuiClusterO.cxx. References _centroidpos. Referenced by TMuiClusterO_v2.
00163 { 00164 _centroidpos[0] = point.getX(); 00165 _centroidpos[1] = point.getY(); 00166 _centroidpos[2] = point.getZ(); 00167 } |
|
CentroidPos Reimplemented from TMuiClusterO. Definition at line 169 of file TMuiClusterO.cxx. References _centroidsigma. Referenced by TMuiClusterO_v2.
00170 { 00171 _centroidsigma[0] = point.getX(); 00172 _centroidsigma[1] = point.getY(); 00173 _centroidsigma[2] = point.getZ(); 00174 } |
|
Set coordinate Reimplemented from TMuiClusterO. Definition at line 217 of file TMuiClusterO.cxx. References _point_1, and _point_2. Referenced by TMuiClusterO_v2.
00218 { 00219 _point_1[0] = line.getBasepoint().getX(); 00220 _point_1[1] = line.getBasepoint().getY(); 00221 _point_1[2] = line.getBasepoint().getZ(); 00222 _point_2[0] = _point_1[0] + line.getDirection().getX(); 00223 _point_2[1] = _point_1[1] + line.getDirection().getY(); 00224 _point_2[2] = _point_1[2] + line.getDirection().getZ(); 00225 } |
|
Set begin point Reimplemented from TMuiClusterO. Definition at line 234 of file TMuiClusterO.cxx. References _point_1.
|
|
Set end point Reimplemented from TMuiClusterO. Definition at line 227 of file TMuiClusterO.cxx. References _point_2.
|
|
Definition at line 217 of file TMuiClusterO.h. References _index.
00217 { _index=index;} |
|
Orientation[0,1] Reimplemented from TMuiClusterO. Definition at line 216 of file TMuiClusterO.h. References _orientation.
00216 { _orientation=orientation;} |
|
Panel [0,5] Reimplemented from TMuiClusterO. Definition at line 215 of file TMuiClusterO.h. References _panel.
00215 { _panel=panel;} |
|
Plane [0,4] Reimplemented from TMuiClusterO. Definition at line 214 of file TMuiClusterO.h. References _plane.
00214 { _plane=plane;} |
|
size Reimplemented from TMuiClusterO. Definition at line 225 of file TMuiClusterO.h. References _size.
00225 {_size=size;} |
|
Definition at line 263 of file TMuiClusterO.h. |
|
Definition at line 271 of file TMuiClusterO.h. Referenced by get_centroidpos, print, set_centroidpos, and TMuiClusterO_v2. |
|
Definition at line 272 of file TMuiClusterO.h. Referenced by get_centroidsigma, print, set_centroidsigma, and TMuiClusterO_v2. |
|
Definition at line 268 of file TMuiClusterO.h. |
|
Definition at line 266 of file TMuiClusterO.h. Referenced by get_orientation, print, and set_orientation. |
|
Definition at line 265 of file TMuiClusterO.h. |
|
Definition at line 264 of file TMuiClusterO.h. |
|
Definition at line 273 of file TMuiClusterO.h. Referenced by get_coord, get_coord_begin, print, set_coord, set_coord_begin, and TMuiClusterO_v2. |
|
Definition at line 274 of file TMuiClusterO.h. Referenced by get_coord, get_coord_end, print, set_coord, set_coord_end, and TMuiClusterO_v2. |
|
Definition at line 267 of file TMuiClusterO.h. Referenced by set_size. |