Typedefs | |
| typedef boost::tuple< const UShort_t, const UShort_t, const UShort_t, const UShort_t, const UShort_t > | object_locator |
| typedef boost::tuple< const UShort_t, const UShort_t, const UShort_t, const UShort_t > | panel_orient_locator |
| typedef boost::tuple< const UShort_t, const UShort_t, const UShort_t > | panel_locator |
| typedef boost::tuple< const UShort_t, const UShort_t > | plane_locator |
Enumerations | |
| enum | Verbosity { NONE = 0, SOME = 1, ALOT = 2, MAX = 3 } |
| enum | ArmNumber { South, North } |
Functions | |
| void | TRACE (std::string message) |
| void | TRACE (std::string message, float) |
| void | PRINT (std::ostream &os=std::cout, std::string message="") |
| double | SQUARE (double x) |
| double | rapidity (double px, double py, double pz, double mass) |
| double | pt (double px, double py) |
Variables | |
| const int | MAX_ARM = 2 |
| const int | MAX_PLANE = 5 |
| const int | MAX_PANEL = 6 |
| const int | MAX_ORIENTATION = 2 |
| const int | MAX_TWOPACK_PANEL = 64 |
| const short | kROCsPerFEM = 20 |
| const short | kWordsPerROC = 6 |
| const short | kChannelsPerWord = 16 |
| const short | kFEMsTotal = 4 |
| const short | kROCsTotal = kFEMsTotal*kROCsPerFEM |
| const short | kWordsTotal = kROCsTotal*kWordsPerROC |
| const short | kChannelsTotal = kWordsTotal*kChannelsPerWord |
| const short | kWordsPerFEM = kROCsPerFEM*kWordsPerROC |
| const double | RAD_TO_DEG = 180.0/M_PI |
| const double | DEG_TO_RAD = M_PI/180.0 |
| const double | MASS_MUON = 0.105658388214 |
| const double | MASS_MUON_SQUARE = 0.011163695 |
| const int | NumberOfArms = 2 |
|
|
Define a name for a boost tuple for (arm, plane, panel, orienation, index) |
|
|
Define a name for a boost tuple for (arm, plane, panel) |
|
|
Define a name for a boost tuple for (arm, plane, panel, orienation) |
|
|
Define a name for a boost tuple for (arm, plane) |
|
|
Definition at line 57 of file MUIOO.h.
|
|
|
Definition at line 23 of file MUIOO.h.
|
|
||||||||||||
|
Definition at line 10 of file MUIOO.cxx. Referenced by mMuiEvalFramework::eval_cluster, mMuiEvalFramework::eval_unpacker, mMuiEvalO::event, TMuiRoadO_v1::print, TMuiPseudoBLTO_v1::print, TMuiMCHitO_v1::print, TMuiHitO_v1::print, TMuiClusterO_v2::print, TMuiClusterO_v1::print, TMui1DRoadO_v1::print, mMuiEvalFramework::print_cluster, and TMuiRoadFinder::print_roads.
00010 {
00011 const int max_col=80;
00012 if(!message.size()) {
00013 os << std::string(max_col,'-') << std::endl;
00014 return;
00015 }
00016 int fill = max_col - message.size() - 2;
00017 int pre = static_cast<int>(std::floor(fill/2.0));
00018 int post = fill - pre;
00019 os << std::string(pre,'-') << " ";
00020 os << message << " ";
00021 os << std::string(post,'-') << std::endl;
00022 }
|
|
||||||||||||
|
Calculate Pt Definition at line 32 of file MUIOO.cxx. Referenced by mMuiEvalO::fill_eval_res.
00032 {
00033 return std::sqrt(px*px + py*py);
00034 }
|
|
||||||||||||||||||||
|
Calculate rapidity Definition at line 26 of file MUIOO.cxx.
00026 {
00027 double ptot = std::sqrt(px*px + py*py + pz*pz);
00028 double E = std::sqrt(ptot*ptot + mass*mass);
00029 return 0.5*std::log((E+pz)/(E-pz));
00030 }
|
|
|
Definition at line 24 of file MUIOO.cxx. Referenced by TMuiRoadFinder::Road::get_r_at_z, TMuiRoadFinder::Road::get_theta, and TMuiRoadFinder::point_less_ftor::operator().
00024 { return x*x; }
|
|
||||||||||||
|
Definition at line 7 of file MUIOO.cxx.
00007 {
00008 std::cout << "TRACE: " << message << "\t" << val << std::endl;
00009 }
|
|
|
Definition at line 3 of file MUIOO.cxx. Referenced by mMuiFastRoadFinder::calc_symset, mMuiResponse::event, mMuiRawUnpack::event, mMuiFindRoad::event, mMuiFastRoadFinder::event, mMuiEvalO::event, mMuiEvalFramework::event, mMuiClusterFinder::event, mMuiSlowSim::fill_new_mctrk, mMuiFastRoadFinder::find_tracks, mMuiFindRoad::fit_roads, TMuiHVMask::get_effic_twopack, TMuiRoadFinder::initialize_evaluation, TMuiRoadFinder::Road::initialize_evaluation, mMuiEvalFramework::mMuiEvalFramework, mMuiFindRoad::mMuiFindRoad, mMuiResponse::mMuiResponse, and mMuiRoadFinder1::set_interface_ptrs.
00003 {
00004 std::cout << "TRACE: " << message << std::endl;
00005 }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 29 of file MUIOO.h. Referenced by TMuiKeyGen::get_hash_key. |
|
|
Definition at line 28 of file MUIOO.h. Referenced by TMuiKeyGen::get_hash_key. |
|
|
Definition at line 27 of file MUIOO.h. Referenced by TMuiKeyGen::get_hash_key. |
|
|
|
|
|
|
|
|
|