Class Reference for E1039 Core & Analysis Software
UtilTarget.cc
Go to the documentation of this file.
1 #include <cassert>
2 #include "UtilTarget.h"
3 using namespace std;
4 
6 string UtilTarget::GetName(const unsigned int tgt_pos)
7 {
8  assert(0 <= tgt_pos && tgt_pos <= 7);
9  const string NAME[8] = { "All", "LH2", "Empty", "LD2", "None", "Fe", "C", "W" };
10  return NAME[tgt_pos];
11 }
std::string GetName(const unsigned int tgt_pos)
Return the name for the given target position.
Definition: UtilTarget.cc:6