Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:13:37

0001 #include "DQMOffline/Trigger/interface/EgHLTEgCutCodes.h"
0002 
0003 using namespace egHLT;
0004 
0005 const ComCodes EgCutCodes::codes_(EgCutCodes::setCodes_());
0006 
0007 //horribly inefficient I know but its done once
0008 ComCodes EgCutCodes::setCodes_() {
0009   ComCodes codes;
0010   codes.setCode("et", int(ET));
0011   codes.setCode("pt", int(PT));
0012   codes.setCode("detEta", int(DETETA));
0013   codes.setCode("crack", int(CRACK));
0014 
0015   codes.setCode("dEtaIn", int(DETAIN));
0016   codes.setCode("dPhiIn", int(DPHIIN));
0017   codes.setCode("invEInvP", int(INVEINVP));
0018 
0019   codes.setCode("hadem", int(HADEM));
0020   codes.setCode("sigmaIEtaIEta", int(SIGMAIETAIETA));
0021   codes.setCode("sigmaEtaEta", int(SIGMAETAETA));
0022   codes.setCode("e2x5Over5x5", int(E2X5OVER5X5));
0023   //---Morse-------
0024   //codes.setCode("r9",int(R9));
0025   codes.setCode("minr9", int(MINR9));
0026   codes.setCode("maxr9", int(MAXR9));
0027   //---------------
0028 
0029   codes.setCode("isolEm", int(ISOLEM));
0030   codes.setCode("isolHad", int(ISOLHAD));
0031   codes.setCode("isolPtTrks", int(ISOLPTTRKS));
0032   codes.setCode("isolNrTrks", int(ISOLNRTRKS));
0033 
0034   codes.setCode("hltIsolTrksEle", int(HLTISOLTRKSELE));
0035   codes.setCode("hltIsolTrksPho", int(HLTISOLTRKSPHO));
0036   codes.setCode("hltIsolHad", int(HLTISOLHAD));
0037   codes.setCode("hltIsolEm", int(HLTISOLEM));
0038 
0039   codes.setCode("ctfTrack", int(CTFTRACK));
0040   codes.setCode("hltDEtaIn", int(HLTDETAIN));
0041   codes.setCode("hltDPhiIn", int(HLTDPHIIN));
0042   codes.setCode("hltInvEInvP", int(HLTINVEINVP));
0043 
0044   codes.setCode("invalid", int(INVALID));
0045   codes.sort();
0046   return codes;
0047 }