CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch12/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 stdPho;
00021 
00022     void setup(const edm::ParameterSet& conf){
00023       stdEle = EgCutCodes::getCode(conf.getParameter<std::string>("stdEle"));
00024       tagEle = EgCutCodes::getCode(conf.getParameter<std::string>("tagEle"));
00025       probeEle= EgCutCodes::getCode(conf.getParameter<std::string>("probeEle"));
00026       fakeEle = EgCutCodes::getCode(conf.getParameter<std::string>("fakeEle"));
00027       trigTPEle = EgCutCodes::getCode(conf.getParameter<std::string>("trigTPEle"));
00028       stdPho = EgCutCodes::getCode(conf.getParameter<std::string>("stdPho"));
00029     }
00030   };
00031 
00032   
00033 
00034 }
00035 
00036 #endif