EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
oncs_mnemonic.cc
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file oncs_mnemonic.cc
1 #include "oncsSubConstants.h"
2 
3 
4 // ---------------------------------------------------------------------
5 
6 const char *oncs_get_mnemonic (const int structure, const int format)
7 {
8  // if we are not "Unformatted", we return nothing for now.
9  // later we will also return the hit formats.
10 
11  if (structure) return "";
12 
13  switch (format)
14  {
15  case(IDCRAW): return "IDCRAW";
16  case(IDDGEN): return "IDDGEN";
17  case(IDHCPY): return "IDHCPY";
18  case(ID1STR): return "ID1STR";
19  case(IDCSTR): return "IDCSTR";
20  case(ID2EVT): return "ID2EVT";
21  case(ID4EVT): return "ID4EVT";
22  case(ID2SUP): return "ID2SUP";
23  case(IDHAMMOND): return "IDHAMMOND";
24  case(IDSAM): return "IDSAM";
25  case(IDDCFEM): return "IDDCFEM";
26  case(IDMIZNHC): return "IDMIZNHC";
27  case(IDSIS3300): return "IDSIS3300";
28  case(IDSIS3300R): return "IDSIS3300R";
29  case(IDCAENV792): return "IDCAENV792";
30  case(IDCAENV785N): return "IDCAENV785N";
31  case(IDFIFOBOARD): return "IDFIFOBOARD";
32  case(IDBSPETDATA): return "IDBSPETDATA";
33  case(IDRCPETDATA): return "IDRCPETDATA";
34  case(IDUPPETDATA): return "IDUPPETDATA";
35  case(IDUPPETDATA_V104): return "IDUPPETDATA_V104";
36  case(IDUPPETPARAMS): return "IDUPPETPARAMS";
37  case(IDSRSV01): return "IDSRSV01";
38  case(IDFNALMWPC): return "IDFNALMWPC";
39  case(IDFNALMWPCV2): return "IDFNALMWPCV2";
40  case(IDDRS4V1): return "IDDRS4V1";
41  case(IDCAENV1742): return "IDCAENV1742";
42  case(IDMVTXV0): return "IDMVTXV0";
43  case(IDTPCFEEV1): return "IDTPCFEEV1";
44  case(IDTPCFEEV2): return "IDTPCFEEV2";
45  case(IDVMM3V1):return "IDVMM3V1";
46  case(IDDREAMV0): return "IDDREAMV0";
47  case(IDMVTXV1): return "IDMVTXV1";
48  case(IDMVTXV2): return "IDMVTXV2";
49 
50 
51  }
52  return "UNKNOWN";
53 }
54