CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_1/src/DQMOffline/Trigger/interface/EgHLTCutMasks.h

Go to the documentation of this file.
00001 #ifndef DQMOFFLINE_TRIGGER_EGHLTCUTMASKS
00002 #define DQMOFFLINE_TRIGGER_EGHLTCUTMASKS
00003 
00004 //this is a bunch of usefull cut masks to turn off / on cuts
00005 //this class may disappear in the future
00006 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00007 
00008 #include "DQMOffline/Trigger/interface/EgHLTEgCutCodes.h"
00009 
00010 
00011 
00012 namespace egHLT {
00013   
00014   struct CutMasks {
00015     int stdEle;
00016     int tagEle;
00017     int probeEle;
00018     int fakeEle;
00019     int trigTPEle;
00020     int trigTPPho;
00021     int stdPho;
00022 
00023     void setup(const edm::ParameterSet& conf){
00024       stdEle = EgCutCodes::getCode(conf.getParameter<std::string>("stdEle"));
00025       tagEle = EgCutCodes::getCode(conf.getParameter<std::string>("tagEle"));
00026       probeEle= EgCutCodes::getCode(conf.getParameter<std::string>("probeEle"));
00027       fakeEle = EgCutCodes::getCode(conf.getParameter<std::string>("fakeEle"));
00028       trigTPEle = EgCutCodes::getCode(conf.getParameter<std::string>("trigTPEle"));
00029       trigTPPho = EgCutCodes::getCode(conf.getParameter<std::string>("trigTPPho"));
00030       stdPho = EgCutCodes::getCode(conf.getParameter<std::string>("stdPho"));
00031     }
00032   };
00033 
00034   
00035 
00036 }
00037 
00038 #endif