#include <DQMOffline/Trigger/interface/CutCodes.h>
Public Types | |
enum | CutCode { ET = 0x0001, PT = 0x0002, DETETA = 0x0004, CRACK = 0x0008, EPIN = 0x0010, DETAIN = 0x0020, DPHIIN = 0x0040, HADEM = 0x0080, EPOUT = 0x0100, DPHIOUT = 0x0200, INVEINVP = 0x0400, BREMFRAC = 0x0800, E9OVERE25 = 0x1000, SIGMAETAETA = 0x2000, SIGMAPHIPHI = 0x4000, ISOLEM = 0x8000, ISOLHAD = 0x00010000, ISOLPTTRKS = 0x00020000, ISOLNRTRKS = 0x00040000, INVALID = 0x10000000 } |
Static Public Member Functions | |
static int | getCode (const char *descript) |
static void | getCodeName (int code, std::string &id) |
Private Member Functions | |
CutCodes () | |
~CutCodes () | |
Static Private Member Functions | |
static ComCodes | setCodes_ () |
Static Private Attributes | |
static ComCodes | codes_ |
Definition at line 12 of file CutCodes.h.
enum CutCodes::CutCode |
ET | |
PT | |
DETETA | |
CRACK | |
EPIN | |
DETAIN | |
DPHIIN | |
HADEM | |
EPOUT | |
DPHIOUT | |
INVEINVP | |
BREMFRAC | |
E9OVERE25 | |
SIGMAETAETA | |
SIGMAPHIPHI | |
ISOLEM | |
ISOLHAD | |
ISOLPTTRKS | |
ISOLNRTRKS | |
INVALID |
Definition at line 21 of file CutCodes.h.
00021 { 00022 //common cuts 00023 ET =0x0001, 00024 PT =0x0002, 00025 DETETA =0x0004, 00026 CRACK =0x0008, 00027 00028 EPIN =0x0010, 00029 DETAIN =0x0020, 00030 DPHIIN =0x0040, 00031 HADEM =0x0080, 00032 EPOUT =0x0100, 00033 DPHIOUT =0x0200, 00034 INVEINVP =0x0400, 00035 BREMFRAC =0x0800, 00036 E9OVERE25 =0x1000, 00037 SIGMAETAETA =0x2000, 00038 SIGMAPHIPHI =0x4000, 00039 ISOLEM =0x8000, 00040 ISOLHAD =0x00010000, 00041 ISOLPTTRKS =0x00020000, 00042 ISOLNRTRKS =0x00040000, 00043 00044 //flag that if its set, shows the code is invalid 00045 INVALID =0x10000000 00046 00047 };
CutCodes::CutCodes | ( | ) | [inline, private] |
CutCodes::~CutCodes | ( | ) | [inline, private] |
static int CutCodes::getCode | ( | const char * | descript | ) | [inline, static] |
Definition at line 57 of file CutCodes.h.
References codes_, and ComCodes::getCode().
Referenced by EgammaHLTOffline::beginJob(), EleHLTFilterMon::EleHLTFilterMon(), MonElemFuncs::initStdEffHists(), EgHLTOffEleSel::setHighNrgy(), EgHLTOffEleSel::setPreSel(), and EgHLTOffEleSel::setPreSelWithEp().
Definition at line 58 of file CutCodes.h.
References codes_, and ComCodes::getCodeName().
00058 {return codes_.getCodeName(code,id);}
ComCodes CutCodes::setCodes_ | ( | ) | [static, private] |
Definition at line 7 of file CutCodes.cc.
References BREMFRAC, CRACK, DETAIN, DETETA, DPHIIN, DPHIOUT, E9OVERE25, EPIN, EPOUT, ET, HADEM, INVALID, INVEINVP, ISOLEM, ISOLHAD, ISOLNRTRKS, ISOLPTTRKS, PT, ComCodes::setCode(), SIGMAETAETA, SIGMAPHIPHI, and ComCodes::sort().
00008 { 00009 ComCodes codes; 00010 codes.setCode("et",ET); 00011 codes.setCode("pt",PT); 00012 codes.setCode("detEta",DETETA); 00013 codes.setCode("crack",CRACK); 00014 codes.setCode("epIn",EPIN); 00015 codes.setCode("dEtaIn",DETAIN); 00016 codes.setCode("dPhiIn",DPHIIN); 00017 codes.setCode("hadem",HADEM); 00018 codes.setCode("epOut",EPOUT); 00019 codes.setCode("dPhiOut",DPHIOUT); 00020 codes.setCode("invEInvP",INVEINVP); 00021 codes.setCode("bremFrac",BREMFRAC); 00022 codes.setCode("e9OverE25",E9OVERE25); 00023 codes.setCode("sigmaEtaEta",SIGMAETAETA); 00024 codes.setCode("sigmaPhiPhi",SIGMAPHIPHI); 00025 codes.setCode("isolEm",ISOLEM); 00026 codes.setCode("isolHad",ISOLHAD); 00027 codes.setCode("isolPtTrks",ISOLPTTRKS); 00028 codes.setCode("isolNrTrks",ISOLNRTRKS); 00029 codes.setCode("invalid",INVALID); 00030 codes.sort(); 00031 return codes; 00032 }
ComCodes CutCodes::codes_ [static, private] |