CMS 3D CMS Logo

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 namespace egHLT {
11 
12  struct CutMasks {
13  int stdEle;
14  int tagEle;
15  int probeEle;
16  int fakeEle;
17  int trigTPEle;
18  int trigTPPho;
19  int stdPho;
20 
21  void setup(const edm::ParameterSet& conf) {
22  stdEle = EgCutCodes::getCode(conf.getParameter<std::string>("stdEle"));
23  tagEle = EgCutCodes::getCode(conf.getParameter<std::string>("tagEle"));
24  probeEle = EgCutCodes::getCode(conf.getParameter<std::string>("probeEle"));
25  fakeEle = EgCutCodes::getCode(conf.getParameter<std::string>("fakeEle"));
26  trigTPEle = EgCutCodes::getCode(conf.getParameter<std::string>("trigTPEle"));
27  trigTPPho = EgCutCodes::getCode(conf.getParameter<std::string>("trigTPPho"));
28  stdPho = EgCutCodes::getCode(conf.getParameter<std::string>("stdPho"));
29  }
30  };
31 
32 } // namespace egHLT
33 
34 #endif
T getParameter(std::string const &) const
static int getCode(const std::string &descript)
void setup(const edm::ParameterSet &conf)
Definition: EgHLTCutMasks.h:21