Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:13:17

0001 #ifndef DQMOFFLINE_TRIGGER_EGHLTCUTMASKS
0002 #define DQMOFFLINE_TRIGGER_EGHLTCUTMASKS
0003 
0004 //this is a bunch of usefull cut masks to turn off / on cuts
0005 //this class may disappear in the future
0006 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0007 
0008 #include "DQMOffline/Trigger/interface/EgHLTEgCutCodes.h"
0009 
0010 namespace egHLT {
0011 
0012   struct CutMasks {
0013     int stdEle;
0014     int tagEle;
0015     int probeEle;
0016     int fakeEle;
0017     int trigTPEle;
0018     int trigTPPho;
0019     int stdPho;
0020 
0021     void setup(const edm::ParameterSet& conf) {
0022       stdEle = EgCutCodes::getCode(conf.getParameter<std::string>("stdEle"));
0023       tagEle = EgCutCodes::getCode(conf.getParameter<std::string>("tagEle"));
0024       probeEle = EgCutCodes::getCode(conf.getParameter<std::string>("probeEle"));
0025       fakeEle = EgCutCodes::getCode(conf.getParameter<std::string>("fakeEle"));
0026       trigTPEle = EgCutCodes::getCode(conf.getParameter<std::string>("trigTPEle"));
0027       trigTPPho = EgCutCodes::getCode(conf.getParameter<std::string>("trigTPPho"));
0028       stdPho = EgCutCodes::getCode(conf.getParameter<std::string>("stdPho"));
0029     }
0030   };
0031 
0032 }  // namespace egHLT
0033 
0034 #endif