00001 #include<TMuiRoadEval.hh> 00002 #include<MUIOO.h> 00003 00004 ClassImp(TMuiRoadEval) 00005 00006 TMuiRoadEval::TMuiRoadEval(): 00007 _n_true_hits(0), 00008 _n_masked_hits(0), 00009 _n_reco_true_hits(0), 00010 _n_reco_ghost_hits(0), 00011 _px_true_vx(0), 00012 _py_true_vx(0), 00013 _pz_true_vx(0), 00014 _ptot_true_vx(0) 00015 {;} 00016 00017 void TMuiRoadEval::print(std::ostream& os) const 00018 { 00019 00020 MUIOO::PRINT(os,"TMuiRoadEval"); 00021 00022 std:: cout << " total hits true " << get_n_true_hits() << std::endl; 00023 std:: cout << " total true hits found " << get_n_reco_true_hits() << std::endl; 00024 std:: cout << " total ghost hits found " << get_n_reco_ghost_hits() << std::endl; 00025 std:: cout << " total masked hits found " << get_n_masked_hits() << std::endl; 00026 00027 MUIOO::PRINT(os,"vertex"); 00028 00029 os << " p_true = {" 00030 << get_px_true_vx() << ", " 00031 << get_py_true_vx() << ", " 00032 << get_pz_true_vx() << "}" << " ptot: " 00033 << get_ptot_true_vx() << std::endl; 00034 00035 MUIOO::PRINT(os,"**"); 00036 } 00037 00038 00039 00040 00041 00042 00043 00044 00045 00046 00047 00048 00049 00050 00051 00052