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 }
egHLT::EgCutCodes::HLTDETAIN
Definition: EgHLTEgCutCodes.h:49
egHLT::EgCutCodes::SIGMAIETAIETA
Definition: EgHLTEgCutCodes.h:29
egHLT::EgCutCodes::PT
Definition: EgHLTEgCutCodes.h:18
egHLT::EgCutCodes::codes_
static const ComCodes codes_
Definition: EgHLTEgCutCodes.h:58
egHLT::EgCutCodes::HLTISOLTRKSPHO
Definition: EgHLTEgCutCodes.h:43
egHLT::EgCutCodes::ISOLNRTRKS
Definition: EgHLTEgCutCodes.h:40
egHLT::EgCutCodes::HLTISOLHAD
Definition: EgHLTEgCutCodes.h:44
egHLT::EgCutCodes::ET
Definition: EgHLTEgCutCodes.h:17
egHLT::EgCutCodes::CTFTRACK
Definition: EgHLTEgCutCodes.h:47
egHLT::EgCutCodes::MAXR9
Definition: EgHLTEgCutCodes.h:34
egHLT::EgCutCodes::MINR9
Definition: EgHLTEgCutCodes.h:33
egHLT::EgCutCodes::DPHIIN
Definition: EgHLTEgCutCodes.h:23
egHLT::EgCutCodes::HLTDPHIIN
Definition: EgHLTEgCutCodes.h:50
egHLT::EgCutCodes::CRACK
Definition: EgHLTEgCutCodes.h:20
egHLT::EgCutCodes::E2X5OVER5X5
Definition: EgHLTEgCutCodes.h:30
egHLT::EgCutCodes::ISOLHAD
Definition: EgHLTEgCutCodes.h:38
egHLT::EgCutCodes::SIGMAETAETA
Definition: EgHLTEgCutCodes.h:27
egHLT::EgCutCodes::DETAIN
Definition: EgHLTEgCutCodes.h:22
egHLT::ComCodes::sort
void sort()
Definition: EgHLTComCodes.h:30
egHLT::EgCutCodes::INVEINVP
Definition: EgHLTEgCutCodes.h:24
egHLT::EgCutCodes::HADEM
Definition: EgHLTEgCutCodes.h:28
egHLT::EgCutCodes::DETETA
Definition: EgHLTEgCutCodes.h:19
EgHLTEgCutCodes.h
egHLT::EgCutCodes::ISOLEM
Definition: EgHLTEgCutCodes.h:37
egHLT::EgCutCodes::HLTISOLEM
Definition: EgHLTEgCutCodes.h:45
egHLT::EgCutCodes::ISOLPTTRKS
Definition: EgHLTEgCutCodes.h:39
egHLT::EgCutCodes::HLTINVEINVP
Definition: EgHLTEgCutCodes.h:51
egHLT
Definition: EgHLTBinData.h:10
egHLT::EgCutCodes::setCodes_
static ComCodes setCodes_()
Definition: EgHLTEgCutCodes.cc:8
egHLT::ComCodes
Definition: EgHLTComCodes.h:12
egHLT::EgCutCodes::INVALID
Definition: EgHLTEgCutCodes.h:53
egHLT::EgCutCodes::HLTISOLTRKSELE
Definition: EgHLTEgCutCodes.h:42
egHLT::ComCodes::setCode
void setCode(const char *descript, int code)
Definition: EgHLTComCodes.cc:7