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 
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 trigTPPho;
21  int stdPho;
22 
23  void setup(const edm::ParameterSet& conf){
24  stdEle = EgCutCodes::getCode(conf.getParameter<std::string>("stdEle"));
25  tagEle = EgCutCodes::getCode(conf.getParameter<std::string>("tagEle"));
26  probeEle= EgCutCodes::getCode(conf.getParameter<std::string>("probeEle"));
27  fakeEle = EgCutCodes::getCode(conf.getParameter<std::string>("fakeEle"));
28  trigTPEle = EgCutCodes::getCode(conf.getParameter<std::string>("trigTPEle"));
29  trigTPPho = EgCutCodes::getCode(conf.getParameter<std::string>("trigTPPho"));
30  stdPho = EgCutCodes::getCode(conf.getParameter<std::string>("stdPho"));
31  }
32  };
33 
34 
35 
36 }
37 
38 #endif
T getParameter(std::string const &) const
static int getCode(const std::string &descript)
void setup(const edm::ParameterSet &conf)
Definition: EgHLTCutMasks.h:23