CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EgHLTEgCutCodes.cc
Go to the documentation of this file.
2 
3 using namespace egHLT;
4 
6 
7 //horribly inefficient I know but its done once
9 {
10  ComCodes codes;
11  codes.setCode("et",int(ET));
12  codes.setCode("pt",int(PT));
13  codes.setCode("detEta",int(DETETA));
14  codes.setCode("crack",int(CRACK));
15 
16  codes.setCode("dEtaIn",int(DETAIN));
17  codes.setCode("dPhiIn",int(DPHIIN));
18  codes.setCode("invEInvP",int(INVEINVP));
19 
20  codes.setCode("hadem",int(HADEM));
21  codes.setCode("sigmaIEtaIEta",int(SIGMAIETAIETA));
22  codes.setCode("sigmaEtaEta",int(SIGMAETAETA));
23  codes.setCode("e2x5Over5x5",int(E2X5OVER5X5));
24  //---Morse-------
25  //codes.setCode("r9",int(R9));
26  codes.setCode("minr9",int(MINR9));
27  codes.setCode("maxr9",int(MAXR9));
28  //---------------
29 
30  codes.setCode("isolEm",int(ISOLEM));
31  codes.setCode("isolHad",int(ISOLHAD));
32  codes.setCode("isolPtTrks",int(ISOLPTTRKS));
33  codes.setCode("isolNrTrks",int(ISOLNRTRKS));
34 
35  codes.setCode("hltIsolTrksEle",int(HLTISOLTRKSELE));
36  codes.setCode("hltIsolTrksPho",int(HLTISOLTRKSPHO));
37  codes.setCode("hltIsolHad",int(HLTISOLHAD));
38  codes.setCode("hltIsolEm",int(HLTISOLEM));
39 
40  codes.setCode("ctfTrack",int(CTFTRACK));
41  codes.setCode("hltDEtaIn",int(HLTDETAIN));
42  codes.setCode("hltDPhiIn",int(HLTDPHIIN));
43  codes.setCode("hltInvEInvP",int(HLTINVEINVP));
44 
45  codes.setCode("invalid",int(INVALID));
46  codes.sort();
47  return codes;
48 }
49 
void setCode(const char *descript, int code)
Definition: EgHLTComCodes.cc:7
static ComCodes codes_
static ComCodes setCodes_()