CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EgHLTCutMasks.h
Go to the documentation of this file.
1 #ifndef DQMOFFLINE_TRIGGER_EGHLTCUTMASKS
2 #define DQMOFFLINE_TRIGGER_EGHLTCUTMASKS
3 
4 //this is a bunch of usefull cut masks to turn off / on cuts
5 //this class may disappear in the future
7 
9 
10 
11 
12 namespace egHLT {
13 
14  struct CutMasks {
15  int stdEle;
16  int tagEle;
17  int probeEle;
18  int fakeEle;
19  int trigTPEle;
20  int stdPho;
21 
23  stdEle = EgCutCodes::getCode(conf.getParameter<std::string>("stdEle"));
24  tagEle = EgCutCodes::getCode(conf.getParameter<std::string>("tagEle"));
25  probeEle= EgCutCodes::getCode(conf.getParameter<std::string>("probeEle"));
26  fakeEle = EgCutCodes::getCode(conf.getParameter<std::string>("fakeEle"));
27  trigTPEle = EgCutCodes::getCode(conf.getParameter<std::string>("trigTPEle"));
28  stdPho = EgCutCodes::getCode(conf.getParameter<std::string>("stdPho"));
29  }
30  };
31 
32 
33 
34 }
35 
36 #endif
T getParameter(std::string const &) const
static int getCode(const std::string &descript)
tuple conf
Definition: dbtoconf.py:185
void setup(const edm::ParameterSet &conf)
Definition: EgHLTCutMasks.h:22