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

Public Methods | |
| TMuiMCHitO_v1 () | |
| TMuiMCHitO_v1 (const Key &key, UShort_t arm, UShort_t plane, UShort_t index) | |
| TMuiMCHitO_v1 (const TMuiMCHitO *base_ptr) | |
| TMuiMCHitO_v1 (const TMuiMCHitO &base_ref) | |
| virtual | ~TMuiMCHitO_v1 () |
| void | add_twopack (UShort_t orient, UShort_t panel, UShort_t twopack_index) |
| void | clear_twopack_list () |
| size_t | get_n_twopack () const |
| const twopack_list * | get_twopack_list () const |
| twopack_list * | get_mutable_twopack_list () |
| Int_t | get_track_id () const |
| Float_t | get_x () const |
| Float_t | get_y () const |
| Float_t | get_z () const |
| PHPoint | get_coord () const |
| Float_t | get_px () const |
| Float_t | get_py () const |
| Float_t | get_pz () const |
| Short_t | get_pid () const |
| UShort_t | get_file_key () const |
| void | set_track_id (Int_t track_id) |
| void | set_x (Float_t x) |
| void | set_y (Float_t y) |
| void | set_z (Float_t z) |
| void | set_px (Float_t px) |
| void | set_py (Float_t py) |
| void | set_pz (Float_t pz) |
| void | set_pid (Short_t pid) |
| void | set_file_key (UShort_t file_key) |
| UShort_t | get_arm () const |
| UShort_t | get_plane () const |
| UShort_t | get_index () const |
| void | set_arm (UShort_t arm) |
| void | set_plane (UShort_t plane) |
| void | set_index (UShort_t index) |
| void | print (std::ostream &os=std::cout) const |
Private Attributes | |
| UShort_t | _arm |
| UShort_t | _plane |
| UShort_t | _index |
| Int_t | _track_id |
| Float_t | _x |
| Float_t | _y |
| Float_t | _z |
| Float_t | _px |
| Float_t | _py |
| Float_t | _pz |
| Short_t | _pid |
| UShort_t | _file_key |
| twopack_list | _twopack_list |
|
|
|
|
||||||||||||||||||||
|
Definition at line 27 of file TMuiMCHitO_v1.cxx.
|
|
|
Definition at line 48 of file TMuiMCHitO_v1.cxx.
00048 : 00049 TMuiMCHitO(*base_ptr), 00050 _arm(base_ptr->get_arm()), 00051 _plane(base_ptr->get_plane()), 00052 _index(base_ptr->get_index()), 00053 _track_id(base_ptr->get_track_id()), 00054 _x(base_ptr->get_x()), 00055 _y(base_ptr->get_y()), 00056 _z(base_ptr->get_z()), 00057 _px(base_ptr->get_px()), 00058 _py(base_ptr->get_py()), 00059 _pz(base_ptr->get_pz()), 00060 _pid(base_ptr->get_pid()), 00061 _file_key(base_ptr->get_file_key()), 00062 _twopack_list(*(base_ptr->get_twopack_list())) 00063 { 00064 } |
|
|
Definition at line 66 of file TMuiMCHitO_v1.cxx.
00066 : 00067 TMuiMCHitO(base_ref), 00068 _arm(base_ref.get_arm()), 00069 _plane(base_ref.get_plane()), 00070 _index(base_ref.get_index()), 00071 _track_id(base_ref.get_track_id()), 00072 _x(base_ref.get_x()), 00073 _y(base_ref.get_y()), 00074 _z(base_ref.get_z()), 00075 _px(base_ref.get_px()), 00076 _py(base_ref.get_py()), 00077 _pz(base_ref.get_pz()), 00078 _pid(base_ref.get_pid()), 00079 _file_key(base_ref.get_file_key()), 00080 _twopack_list(*(base_ref.get_twopack_list())) 00081 { 00082 00083 } |
|
|
Definition at line 27 of file TMuiMCHitO_v1.h.
00027 {;}
|
|
||||||||||||||||
|
construct and add a new strip with specified parameters Reimplemented from TMuiMCHitO. Definition at line 29 of file TMuiMCHitO_v1.h. References _twopack_list.
00029 {
00030 _twopack_list.push_back(TMuiMCTwoPack(orient, panel,twopack_index));
00031 }
|
|
|
clear twopack list Reimplemented from TMuiMCHitO. Definition at line 33 of file TMuiMCHitO_v1.h. References _twopack_list.
00033 {
00034 _twopack_list.clear();
00035 }
|
|
|
Get arm number for this hit Reimplemented from TMuiMCHitO. Definition at line 83 of file TMuiMCHitO_v1.h. References _arm.
00083 {return _arm;}
|
|
|
Get PHPoint(x,y,z) of this hit Reimplemented from TMuiMCHitO. Definition at line 53 of file TMuiMCHitO_v1.h.
|
|
|
Get file key, which is used for embeding Reimplemented from TMuiMCHitO. Definition at line 63 of file TMuiMCHitO_v1.h. References _file_key.
00063 { return _file_key;}
|
|
|
Get hit index associated with this hit Reimplemented from TMuiMCHitO. Definition at line 87 of file TMuiMCHitO_v1.h. References _index.
00087 {return _index;}
|
|
|
immutable access to twopack list Reimplemented from TMuiMCHitO. Definition at line 43 of file TMuiMCHitO_v1.h. References _twopack_list, and TMuiMCHitO::twopack_list.
00043 {return &_twopack_list;}
|
|
|
number of twopacks associated with this MChit Reimplemented from TMuiMCHitO. Definition at line 37 of file TMuiMCHitO_v1.h. References _twopack_list.
00037 {
00038 return _twopack_list.size();
00039 }
|
|
|
Get particle id of the hit Reimplemented from TMuiMCHitO. Definition at line 61 of file TMuiMCHitO_v1.h. References _pid.
00061 { return _pid;}
|
|
|
Get muid plane number for this hit Reimplemented from TMuiMCHitO. Definition at line 85 of file TMuiMCHitO_v1.h. References _plane.
00085 {return _plane;}
|
|
|
Get x-momentum of track at this hit position Reimplemented from TMuiMCHitO. Definition at line 55 of file TMuiMCHitO_v1.h. References _px.
00055 {return _px;}
|
|
|
Get y-momentum of track at this hit position Reimplemented from TMuiMCHitO. Definition at line 57 of file TMuiMCHitO_v1.h. References _py.
00057 {return _py;}
|
|
|
Get z-momentum of track at this hit position Reimplemented from TMuiMCHitO. Definition at line 59 of file TMuiMCHitO_v1.h. References _pz.
00059 {return _pz;}
|
|
|
Get the PISA track number associated with this track Reimplemented from TMuiMCHitO. Definition at line 45 of file TMuiMCHitO_v1.h. References _track_id.
00045 {return _track_id;}
|
|
|
immutable access to twopack list Reimplemented from TMuiMCHitO. Definition at line 41 of file TMuiMCHitO_v1.h. References _twopack_list, and TMuiMCHitO::twopack_list. Referenced by print.
00041 {return &_twopack_list;}
|
|
|
Get x-position of track for this hit Reimplemented from TMuiMCHitO. Definition at line 47 of file TMuiMCHitO_v1.h. References _x.
00047 {return _x;}
|
|
|
Get y-position of track for this hit Reimplemented from TMuiMCHitO. Definition at line 49 of file TMuiMCHitO_v1.h. References _y.
00049 {return _y;}
|
|
|
Get z-position of track for this hit Reimplemented from TMuiMCHitO. Definition at line 51 of file TMuiMCHitO_v1.h. References _z.
00051 {return _z;}
|
|
|
Set Charge associated with this strip Reimplemented from TMuiMCHitO. Definition at line 85 of file TMuiMCHitO_v1.cxx. References _arm, _file_key, _index, _pid, _plane, _px, _py, _pz, _track_id, _x, _y, _z, get_twopack_list, MUIOO::PRINT, TMuiMCHitO::twopack_iterator, and TMuiMCHitO::twopack_list.
00085 {
00086
00087 MUIOO::PRINT(os,GetName());
00088 os << " arm: " << _arm
00089 << " plane: " << _plane
00090 << " index: " << _index << std::endl;
00091 os << " trk_index : " << _track_id << std::endl;
00092 os << " p = {" << _px << "," << _py << "," << _pz << "}" << std::endl;
00093 os << " x = {" << _x << "," << _y << "," << _z << "}" << std::endl;
00094 os << " pid : " << _pid << std::endl;
00095 os << " file_key : " << _file_key << std::endl;
00096
00097 // Print TMuiMCTwopacks
00098 //
00099 const twopack_list* twopack = get_twopack_list();
00100 twopack_iterator twopack_iter = twopack->begin();
00101 for(;twopack_iter!=twopack->end();++twopack_iter){
00102 twopack_iter->print();
00103 }
00104 // os << " #### dump associated mctrk information #### " <<endl;
00105 TMutMCTrkMap::const_key_iterator mc_trk_iter = get_associated<TMutMCTrk>();
00106 os << " number of associated mctrk : " << mc_trk_iter.count() << endl;
00107 // while(TMutMCTrkMap::const_pointer mc_trk_ptr = mc_trk_iter.next()) {
00108 // mc_trk_ptr->get()->print();
00109 // }
00110 MUIOO::PRINT(os,"**");
00111 }
|
|
|
Set arm number for this hit Reimplemented from TMuiMCHitO. Definition at line 89 of file TMuiMCHitO_v1.h. References _arm.
00089 { _arm = arm; }
|
|
|
Set file key, which is used for embeding Reimplemented from TMuiMCHitO. Definition at line 81 of file TMuiMCHitO_v1.h. References _file_key.
00081 {_file_key = file_key;}
|
|
|
Set hit index associated with this hit Reimplemented from TMuiMCHitO. Definition at line 93 of file TMuiMCHitO_v1.h. References _index.
00093 { _index = index; }
|
|
|
Set particle id for the hit Reimplemented from TMuiMCHitO. Definition at line 79 of file TMuiMCHitO_v1.h. References _pid.
00079 {_pid = pid;}
|
|
|
Set muid plane number for this hit Reimplemented from TMuiMCHitO. Definition at line 91 of file TMuiMCHitO_v1.h. References _plane.
00091 { _plane = plane; }
|
|
|
Set x-momentum of track at this hit position Reimplemented from TMuiMCHitO. Definition at line 73 of file TMuiMCHitO_v1.h. References _px.
00073 { _px = px; }
|
|
|
Set y-momentum of track at this hit position Reimplemented from TMuiMCHitO. Definition at line 75 of file TMuiMCHitO_v1.h. References _py.
00075 { _py = py; }
|
|
|
Set z-momentum of track at this hit position Reimplemented from TMuiMCHitO. Definition at line 77 of file TMuiMCHitO_v1.h. References _pz.
00077 { _pz = pz; }
|
|
|
PISA track number associated with this track Reimplemented from TMuiMCHitO. Definition at line 65 of file TMuiMCHitO_v1.h. References _track_id.
00065 { _track_id = track_id;}
|
|
|
Set x-position of track for this hit Reimplemented from TMuiMCHitO. Definition at line 67 of file TMuiMCHitO_v1.h. References _x.
00067 { _x = x; }
|
|
|
Set y-position of track for this hit Reimplemented from TMuiMCHitO. Definition at line 69 of file TMuiMCHitO_v1.h. References _y.
00069 { _y = y; }
|
|
|
Set z-position of track for this hit Reimplemented from TMuiMCHitO. Definition at line 71 of file TMuiMCHitO_v1.h. References _z.
00071 { _z = z; }
|
|
|
Definition at line 99 of file TMuiMCHitO_v1.h. |
|
|
Definition at line 110 of file TMuiMCHitO_v1.h. Referenced by get_file_key, print, and set_file_key. |
|
|
Definition at line 101 of file TMuiMCHitO_v1.h. |
|
|
Definition at line 109 of file TMuiMCHitO_v1.h. |
|
|
Definition at line 100 of file TMuiMCHitO_v1.h. |
|
|
Definition at line 106 of file TMuiMCHitO_v1.h. |
|
|
Definition at line 107 of file TMuiMCHitO_v1.h. |
|
|
Definition at line 108 of file TMuiMCHitO_v1.h. |
|
|
Definition at line 102 of file TMuiMCHitO_v1.h. Referenced by get_track_id, print, and set_track_id. |
|
|
Definition at line 111 of file TMuiMCHitO_v1.h. Referenced by add_twopack, clear_twopack_list, get_mutable_twopack_list, get_n_twopack, and get_twopack_list. |
|
|
Definition at line 103 of file TMuiMCHitO_v1.h. |
|
|
Definition at line 104 of file TMuiMCHitO_v1.h. |
|
|
Definition at line 105 of file TMuiMCHitO_v1.h. |