Analysis Software
Documentation for sPHENIX simulation 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(IDDIGITIZERV1): return "IDDIGITIZERV1";
44  case(IDTPCFEEV1): return "IDTPCFEEV1";
45  case(IDTPCFEEV2): return "IDTPCFEEV2";
46  case(IDTPCFEEV3): return "IDTPCFEEV3";
47  case(IDVMM3V1):return "IDVMM3V1";
48  case(IDDREAMV0): return "IDDREAMV0";
49  case(IDMVTXV1): return "IDMVTXV1";
50  case(IDMVTXV2): return "IDMVTXV2";
51  case(IDMVTXV3): return "IDMVTXV3";
52  case(IDINTTV0): return "IDINTTV0";
53  case(IDGL1V0): return "IDGL1V0";
54 
55  }
56  return "UNKNOWN";
57 }
58