#include <TMuiRoadEval.hh>
Public Methods | |
Constructors/Destructors | |
TMuiRoadEval () | |
virtual | ~TMuiRoadEval () |
Global Evaluation | |
virtual UShort_t | get_n_true_hits () const |
virtual bool | get_is_plane_true_hit (UShort_t iplane) const |
virtual bool | get_is_plane_masked_hit (UShort_t iplane) const |
virtual bool | get_is_plane_reco_true_hit (UShort_t iplane) const |
virtual bool | get_is_plane_reco_ghost_hit (UShort_t iplane) const |
virtual UShort_t | get_panel_true_hits (int ipanel) const |
virtual UShort_t | get_n_masked_hits () const |
virtual Float_t | get_ratio_masked () const |
virtual UShort_t | get_n_reco_true_hits () const |
virtual UShort_t | get_panel_reco_true_hits (int ipanel) const |
virtual UShort_t | get_n_reco_ghost_hits () const |
virtual Float_t | get_ratio_ghost () const |
virtual void | set_n_true_hits (UShort_t n_true_hits) |
virtual void | set_n_masked_hits (UShort_t n_masked_hits) |
virtual void | set_n_reco_true_hits (UShort_t n_reco_true_hits) |
virtual void | set_n_reco_ghost_hits (UShort_t n_reco_ghost_hits) |
Primary Vertex | |
virtual Float_t | get_px_true_vx () const |
virtual Float_t | get_py_true_vx () const |
virtual Float_t | get_pz_true_vx () const |
virtual Float_t | get_ptot_true_vx () const |
virtual void | set_px_true_vx (Float_t px_true) |
virtual void | set_py_true_vx (Float_t py_true) |
virtual void | set_pz_true_vx (Float_t pz_true) |
virtual void | set_ptot_true_vx (Float_t ptot_true) |
Dumpers | |
virtual void | TMuiRoadEval::print (std::ostream &os=std::cout) const |
Private Methods | |
virtual Float_t | difference (Float_t a, Float_t b) const |
virtual Float_t | difference (UShort_t a, UShort_t b) const |
Private Attributes | |
UShort_t | _n_true_hits |
UShort_t | _n_masked_hits |
UShort_t | _n_reco_true_hits |
UShort_t | _n_reco_ghost_hits |
Float_t | _px_true_vx |
Float_t | _py_true_vx |
Float_t | _pz_true_vx |
Float_t | _ptot_true_vx |
Definition at line 11 of file TMuiRoadEval.hh.
|
Default constructor |
|
Destructor Definition at line 21 of file TMuiRoadEval.hh.
00021 {;} |
|
Definition at line 178 of file TMuiRoadEval.hh.
00178 { 00179 if(a!=0) { 00180 return (1.0*b)/(1.0*a); 00181 } else { 00182 return -999.0; 00183 } 00184 } |
|
Definition at line 170 of file TMuiRoadEval.hh. Referenced by get_ratio_ghost, and get_ratio_masked.
00170 { 00171 if(a!=0) { 00172 return (b-a)/a; 00173 } else { 00174 return -999.0; 00175 } 00176 } |
|
Number of MC hits of the MC track Definition at line 46 of file TMuiRoadEval.hh. References _n_masked_hits.
00046 { 00047 return (_n_masked_hits & 1 << iplane) != 0; 00048 } |
|
Number of MC hits of the MC track Definition at line 54 of file TMuiRoadEval.hh. References _n_reco_ghost_hits.
00054 { 00055 return (_n_reco_ghost_hits & 1 << iplane) != 0; 00056 } |
|
Number of MC hits of the MC track Definition at line 50 of file TMuiRoadEval.hh. References _n_reco_true_hits.
00050 { 00051 return (_n_reco_true_hits & 1 << iplane) != 0; 00052 } |
|
Number of MC hits of the MC track Definition at line 42 of file TMuiRoadEval.hh. References _n_true_hits.
00042 { 00043 return (_n_true_hits & 1 << iplane) != 0; 00044 } |
|
Number of masked hits of the MC track Definition at line 70 of file TMuiRoadEval.hh. References _n_masked_hits. Referenced by get_ratio_masked.
00070 { 00071 // count number of bits set to get total number of true hits 00072 // 00073 UShort_t nhits = 0; 00074 int limit = MUIOO::MAX_PLANE * MUIOO::MAX_ORIENTATION; 00075 for (int i = 0; i<limit; i++){ 00076 nhits += (_n_masked_hits & (1<<i)) >> i; 00077 } 00078 return nhits; 00079 } |
|
Number of ghost hits of the reco track, ghost means that the track id of this hit is different from the primary contributor of the reco track Definition at line 110 of file TMuiRoadEval.hh. References _n_reco_ghost_hits. Referenced by get_ratio_ghost.
00110 { 00111 // count number of bits set to get total number of true hits 00112 UShort_t nhits=0; 00113 int limit = MUIOO::MAX_PLANE * MUIOO::MAX_ORIENTATION; 00114 for (int i = 0; i<limit; i++){ 00115 nhits += (_n_reco_ghost_hits & (1<<i)) >> i; 00116 } 00117 return nhits; 00118 } |
|
Number of hits from the primary contributor of the reco track Definition at line 87 of file TMuiRoadEval.hh. References _n_reco_true_hits. Referenced by get_ratio_ghost.
00087 { 00088 // count number of bits set to get total number of true hits 00089 UShort_t nhits=0; 00090 int limit = MUIOO::MAX_PLANE * MUIOO::MAX_ORIENTATION; 00091 for (int i = 0; i<limit; i++){ 00092 nhits += (_n_reco_true_hits & (1<<i)) >> i; 00093 } 00094 return nhits; 00095 } |
|
Number of MC hits of the MC track Definition at line 31 of file TMuiRoadEval.hh. References _n_true_hits. Referenced by get_ratio_masked.
00031 { 00032 // count number of bits set to get total number of true hits 00033 // 00034 UShort_t nhits = 0; 00035 int limit = MUIOO::MAX_PLANE * MUIOO::MAX_ORIENTATION; 00036 for (int i = 0; i<limit; i++){ 00037 nhits += (_n_true_hits & (1<<i)) >> i; 00038 } 00039 return nhits; 00040 } |
|
Number of MC hits of the MC track Definition at line 97 of file TMuiRoadEval.hh. References _n_reco_true_hits.
00097 { 00098 // count number of bits set to get total number of true hits 00099 // 00100 UShort_t nhits = 0; 00101 int limit = MUIOO::MAX_ORIENTATION; 00102 for (int i = 0; i<limit; i++){ 00103 nhits += (_n_reco_true_hits & (1<<(i + ipanel*limit))) >> (i + ipanel*limit); 00104 } 00105 return nhits; 00106 } |
|
Number of MC hits of the MC track Definition at line 58 of file TMuiRoadEval.hh. References _n_true_hits.
00058 { 00059 // count number of bits set to get total number of true hits 00060 // 00061 UShort_t nhits = 0; 00062 int limit = MUIOO::MAX_ORIENTATION; 00063 for (int i = 0; i<limit; i++){ 00064 nhits += (_n_true_hits & (1<<(i + ipanel*limit))) >> (i + ipanel*limit); 00065 } 00066 return nhits; 00067 } |
|
Total momentum of MC track Definition at line 150 of file TMuiRoadEval.hh. References _ptot_true_vx.
00150 { return _ptot_true_vx;} |
|
Momentum in x-direction of MC track Definition at line 144 of file TMuiRoadEval.hh. References _px_true_vx.
00144 { return _px_true_vx;} |
|
Momentum in y-direction of MC track Definition at line 146 of file TMuiRoadEval.hh. References _py_true_vx.
00146 { return _py_true_vx;} |
|
Momentum in z-direction of MC track Definition at line 148 of file TMuiRoadEval.hh. References _pz_true_vx.
00148 { return _pz_true_vx;} |
|
Percentage of how many hits are ghosts in the reco track Definition at line 121 of file TMuiRoadEval.hh. References difference, get_n_reco_ghost_hits, and get_n_reco_true_hits.
00121 { 00122 return difference(get_n_reco_true_hits(), get_n_reco_ghost_hits()); 00123 } |
|
The Ratio of masked hits out of true hits Definition at line 82 of file TMuiRoadEval.hh. References difference, get_n_masked_hits, and get_n_true_hits.
00082 { 00083 return difference(get_n_true_hits(),get_n_masked_hits()); 00084 } |
|
Number of masked hits of the MC track Definition at line 130 of file TMuiRoadEval.hh. References _n_masked_hits. Referenced by mMuiEvalO::fill_road_eval.
00130 { _n_masked_hits = n_masked_hits;} |
|
Number of ghost hits of the reco track, ghost means that the track id of this hit is different from the primary contributor of the reco track Definition at line 135 of file TMuiRoadEval.hh. References _n_reco_ghost_hits. Referenced by mMuiEvalO::fill_road_eval.
00135 { _n_reco_ghost_hits = n_reco_ghost_hits;} |
|
Number of hits from the primary contributor of the reco track Definition at line 132 of file TMuiRoadEval.hh. References _n_reco_true_hits. Referenced by mMuiEvalO::fill_road_eval.
00132 { _n_reco_true_hits = n_reco_true_hits;} |
|
Number of MC hits of the MC track Definition at line 128 of file TMuiRoadEval.hh. References _n_true_hits. Referenced by mMuiEvalO::fill_road_eval.
00128 { _n_true_hits = n_true_hits;} |
|
Total momentum of MC track Definition at line 161 of file TMuiRoadEval.hh. References _ptot_true_vx. Referenced by mMuiEvalO::fill_road_eval.
00161 { _ptot_true_vx = ptot_true;} |
|
Momentum in x-direction of MC track Definition at line 155 of file TMuiRoadEval.hh. References _px_true_vx. Referenced by mMuiEvalO::fill_road_eval.
00155 { _px_true_vx = px_true;} |
|
Momentum in y-direction of MC track Definition at line 157 of file TMuiRoadEval.hh. References _py_true_vx. Referenced by mMuiEvalO::fill_road_eval.
00157 { _py_true_vx = py_true;} |
|
Momentum in z-direction of MC track Definition at line 159 of file TMuiRoadEval.hh. References _pz_true_vx. Referenced by mMuiEvalO::fill_road_eval.
00159 { _pz_true_vx = pz_true;} |
|
|
|
Definition at line 189 of file TMuiRoadEval.hh. Referenced by get_is_plane_masked_hit, get_n_masked_hits, and set_n_masked_hits. |
|
Definition at line 191 of file TMuiRoadEval.hh. Referenced by get_is_plane_reco_ghost_hit, get_n_reco_ghost_hits, and set_n_reco_ghost_hits. |
|
Definition at line 190 of file TMuiRoadEval.hh. Referenced by get_is_plane_reco_true_hit, get_n_reco_true_hits, get_panel_reco_true_hits, and set_n_reco_true_hits. |
|
Definition at line 188 of file TMuiRoadEval.hh. Referenced by get_is_plane_true_hit, get_n_true_hits, get_panel_true_hits, and set_n_true_hits. |
|
Definition at line 198 of file TMuiRoadEval.hh. Referenced by get_ptot_true_vx, and set_ptot_true_vx. |
|
Definition at line 195 of file TMuiRoadEval.hh. Referenced by get_px_true_vx, and set_px_true_vx. |
|
Definition at line 196 of file TMuiRoadEval.hh. Referenced by get_py_true_vx, and set_py_true_vx. |
|
Definition at line 197 of file TMuiRoadEval.hh. Referenced by get_pz_true_vx, and set_pz_true_vx. |