1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
#ifndef L1GlobalTrigger_L1GtObject_h
#define L1GlobalTrigger_L1GtObject_h
/**
* \class L1GtObject
*
*
* Description: define an enumeration of L1 GT objects.
*
* Implementation:
* <TODO: enter implementation details>
*
* \author: Vasile Mihai Ghete - HEPHY Vienna
*
*
*/
// system include files
#include <string>
// user include files
// base class
// forward declarations
/// L1 GT objects
/// ObjNull catch all errors
enum L1GtObject : unsigned int {
Mu,
NoIsoEG,
IsoEG,
CenJet,
ForJet,
TauJet,
ETM,
ETT,
HTT,
HTM,
JetCounts,
HfBitCounts,
HfRingEtSums,
TechTrig,
Castor,
BPTX,
GtExternal,
ObjNull
};
/// the string to enum and enum to string conversions for L1GtObject
struct L1GtObjectStringToEnum {
const char* label;
L1GtObject value;
};
L1GtObject l1GtObjectStringToEnum(const std::string&);
std::string l1GtObjectEnumToString(const L1GtObject&);
#endif /*L1GlobalTrigger_L1GtObject_h*/
|