CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_1/src/DQMOffline/Trigger/src/EgHLTEgCutCodes.cc

Go to the documentation of this file.
00001 #include "DQMOffline/Trigger/interface/EgHLTEgCutCodes.h"
00002 
00003 using namespace egHLT;
00004 
00005 ComCodes EgCutCodes::codes_(EgCutCodes::setCodes_());
00006 
00007 //horribly inefficient I know but its done once
00008 ComCodes EgCutCodes::setCodes_()
00009 {
00010   ComCodes codes;
00011   codes.setCode("et",int(ET));
00012   codes.setCode("pt",int(PT));
00013   codes.setCode("detEta",int(DETETA));
00014   codes.setCode("crack",int(CRACK));
00015  
00016   codes.setCode("dEtaIn",int(DETAIN));
00017   codes.setCode("dPhiIn",int(DPHIIN));
00018   codes.setCode("invEInvP",int(INVEINVP));
00019   
00020   codes.setCode("hadem",int(HADEM));
00021   codes.setCode("sigmaIEtaIEta",int(SIGMAIETAIETA)); 
00022   codes.setCode("sigmaEtaEta",int(SIGMAETAETA));
00023   codes.setCode("e2x5Over5x5",int(E2X5OVER5X5));
00024   //---Morse-------
00025   //codes.setCode("r9",int(R9));
00026   codes.setCode("minr9",int(MINR9));
00027   codes.setCode("maxr9",int(MAXR9));
00028   //---------------
00029 
00030   codes.setCode("isolEm",int(ISOLEM));
00031   codes.setCode("isolHad",int(ISOLHAD));
00032   codes.setCode("isolPtTrks",int(ISOLPTTRKS));
00033   codes.setCode("isolNrTrks",int(ISOLNRTRKS));
00034 
00035   codes.setCode("hltIsolTrksEle",int(HLTISOLTRKSELE));
00036   codes.setCode("hltIsolTrksPho",int(HLTISOLTRKSPHO));
00037   codes.setCode("hltIsolHad",int(HLTISOLHAD));
00038   codes.setCode("hltIsolEm",int(HLTISOLEM));
00039   
00040   codes.setCode("ctfTrack",int(CTFTRACK));
00041   codes.setCode("hltDEtaIn",int(HLTDETAIN));
00042   codes.setCode("hltDPhiIn",int(HLTDPHIIN));
00043   codes.setCode("hltInvEInvP",int(HLTINVEINVP));
00044 
00045   codes.setCode("invalid",int(INVALID));
00046   codes.sort();
00047   return codes;
00048 }
00049