CMS 3D CMS Logo

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  ComCodes codes;
10  codes.setCode("et", int(ET));
11  codes.setCode("pt", int(PT));
12  codes.setCode("detEta", int(DETETA));
13  codes.setCode("crack", int(CRACK));
14 
15  codes.setCode("dEtaIn", int(DETAIN));
16  codes.setCode("dPhiIn", int(DPHIIN));
17  codes.setCode("invEInvP", int(INVEINVP));
18 
19  codes.setCode("hadem", int(HADEM));
20  codes.setCode("sigmaIEtaIEta", int(SIGMAIETAIETA));
21  codes.setCode("sigmaEtaEta", int(SIGMAETAETA));
22  codes.setCode("e2x5Over5x5", int(E2X5OVER5X5));
23  //---Morse-------
24  //codes.setCode("r9",int(R9));
25  codes.setCode("minr9", int(MINR9));
26  codes.setCode("maxr9", int(MAXR9));
27  //---------------
28 
29  codes.setCode("isolEm", int(ISOLEM));
30  codes.setCode("isolHad", int(ISOLHAD));
31  codes.setCode("isolPtTrks", int(ISOLPTTRKS));
32  codes.setCode("isolNrTrks", int(ISOLNRTRKS));
33 
34  codes.setCode("hltIsolTrksEle", int(HLTISOLTRKSELE));
35  codes.setCode("hltIsolTrksPho", int(HLTISOLTRKSPHO));
36  codes.setCode("hltIsolHad", int(HLTISOLHAD));
37  codes.setCode("hltIsolEm", int(HLTISOLEM));
38 
39  codes.setCode("ctfTrack", int(CTFTRACK));
40  codes.setCode("hltDEtaIn", int(HLTDETAIN));
41  codes.setCode("hltDPhiIn", int(HLTDPHIIN));
42  codes.setCode("hltInvEInvP", int(HLTINVEINVP));
43 
44  codes.setCode("invalid", int(INVALID));
45  codes.sort();
46  return codes;
47 }
void setCode(const char *descript, int code)
Definition: EgHLTComCodes.cc:7
static const ComCodes codes_
static ComCodes setCodes_()