#include <EgHLTEgCutCodes.h>
Public Types | |
enum | CutCode { ET = 0x00000001, PT = 0x00000002, DETETA = 0x00000004, CRACK = 0x00000008, DETAIN = 0x00000010, DPHIIN = 0x00000020, INVEINVP = 0x00000040, SIGMAETAETA = 0x00000080, HADEM = 0x00000100, SIGMAIETAIETA = 0x00000200, E2X5OVER5X5 = 0x00000400, MINR9 = 0x00000800, MAXR9 = 0x00100000, ISOLEM = 0x00001000, ISOLHAD = 0x00002000, ISOLPTTRKS = 0x00004000, ISOLNRTRKS = 0x00008000, HLTISOLTRKSELE = 0x00010000, HLTISOLTRKSPHO = 0x00020000, HLTISOLHAD = 0x00040000, HLTISOLEM = 0x00080000, CTFTRACK = 0x00010000, HLTDETAIN = 0x00020000, HLTDPHIIN = 0x00040000, HLTINVEINVP = 0x00080000, INVALID = 0x80000000 } |
Static Public Member Functions | |
static int | getCode (const std::string &descript) |
static void | getCodeName (int code, std::string &id) |
Private Member Functions | |
EgCutCodes () | |
~EgCutCodes () | |
Static Private Member Functions | |
static ComCodes | setCodes_ () |
Static Private Attributes | |
static ComCodes | codes_ |
Definition at line 13 of file EgHLTEgCutCodes.h.
Definition at line 17 of file EgHLTEgCutCodes.h.
{ //kinematic and fiducial cuts ET =0x00000001, PT =0x00000002, DETETA =0x00000004, CRACK =0x00000008, //track cuts DETAIN =0x00000010, DPHIIN =0x00000020, INVEINVP =0x00000040, //supercluster cuts SIGMAETAETA =0x00000080, HADEM =0x00000100, SIGMAIETAIETA =0x00000200, E2X5OVER5X5 =0x00000400, //---Morse------ //R9 =0x00000800, MINR9 =0x00000800, MAXR9 =0x00100000, //-------------- //std isolation cuts ISOLEM =0x00001000, ISOLHAD =0x00002000, ISOLPTTRKS =0x00004000, ISOLNRTRKS =0x00008000, //hlt isolation cuts HLTISOLTRKSELE=0x00010000, HLTISOLTRKSPHO=0x00020000, HLTISOLHAD =0x00040000, HLTISOLEM =0x00080000, //track quaility cuts (hlt track algo isnt very forgiving) CTFTRACK =0x00010000, //hlt quantities that are slightly different to reco HLTDETAIN =0x00020000, HLTDPHIIN =0x00040000, HLTINVEINVP =0x00080000, //flag that if its set, shows the code is invalid INVALID =0x80000000 };
egHLT::EgCutCodes::EgCutCodes | ( | ) | [inline, private] |
Definition at line 63 of file EgHLTEgCutCodes.h.
{} //not going to allow instainitiation
egHLT::EgCutCodes::~EgCutCodes | ( | ) | [inline, private] |
Definition at line 64 of file EgHLTEgCutCodes.h.
{}
static int egHLT::EgCutCodes::getCode | ( | const std::string & | descript | ) | [inline, static] |
Definition at line 67 of file EgHLTEgCutCodes.h.
References codes_, and egHLT::ComCodes::getCode().
Referenced by egHLT::CutMasks::setup(), and egHLT::EgCutValues::setup().
{return codes_.getCode(descript.c_str());}
static void egHLT::EgCutCodes::getCodeName | ( | int | code, |
std::string & | id | ||
) | [inline, static] |
Definition at line 68 of file EgHLTEgCutCodes.h.
References codes_, and egHLT::ComCodes::getCodeName().
{return codes_.getCodeName(code,id);}
ComCodes EgCutCodes::setCodes_ | ( | ) | [static, private] |
Definition at line 8 of file EgHLTEgCutCodes.cc.
References CRACK, CTFTRACK, DETAIN, DETETA, DPHIIN, E2X5OVER5X5, ET, HADEM, HLTDETAIN, HLTDPHIIN, HLTINVEINVP, HLTISOLEM, HLTISOLHAD, HLTISOLTRKSELE, HLTISOLTRKSPHO, INVALID, INVEINVP, ISOLEM, ISOLHAD, ISOLNRTRKS, ISOLPTTRKS, MAXR9, MINR9, PT, egHLT::ComCodes::setCode(), SIGMAETAETA, SIGMAIETAIETA, and egHLT::ComCodes::sort().
{ ComCodes codes; codes.setCode("et",int(ET)); codes.setCode("pt",int(PT)); codes.setCode("detEta",int(DETETA)); codes.setCode("crack",int(CRACK)); codes.setCode("dEtaIn",int(DETAIN)); codes.setCode("dPhiIn",int(DPHIIN)); codes.setCode("invEInvP",int(INVEINVP)); codes.setCode("hadem",int(HADEM)); codes.setCode("sigmaIEtaIEta",int(SIGMAIETAIETA)); codes.setCode("sigmaEtaEta",int(SIGMAETAETA)); codes.setCode("e2x5Over5x5",int(E2X5OVER5X5)); //---Morse------- //codes.setCode("r9",int(R9)); codes.setCode("minr9",int(MINR9)); codes.setCode("maxr9",int(MAXR9)); //--------------- codes.setCode("isolEm",int(ISOLEM)); codes.setCode("isolHad",int(ISOLHAD)); codes.setCode("isolPtTrks",int(ISOLPTTRKS)); codes.setCode("isolNrTrks",int(ISOLNRTRKS)); codes.setCode("hltIsolTrksEle",int(HLTISOLTRKSELE)); codes.setCode("hltIsolTrksPho",int(HLTISOLTRKSPHO)); codes.setCode("hltIsolHad",int(HLTISOLHAD)); codes.setCode("hltIsolEm",int(HLTISOLEM)); codes.setCode("ctfTrack",int(CTFTRACK)); codes.setCode("hltDEtaIn",int(HLTDETAIN)); codes.setCode("hltDPhiIn",int(HLTDPHIIN)); codes.setCode("hltInvEInvP",int(HLTINVEINVP)); codes.setCode("invalid",int(INVALID)); codes.sort(); return codes; }
ComCodes EgCutCodes::codes_ [static, private] |
Definition at line 60 of file EgHLTEgCutCodes.h.
Referenced by getCode(), and getCodeName().