00001 #ifndef DQMOFFLINE_TRIGGER_CUTVALUES 00002 #define DQMOFFLINE_TRIGGER_CUTVALUES 00003 00004 00005 //This is a simple struct to hold the values of a particular set of cuts 00006 //may end up being promoted to a class 00007 00008 00009 #include <iostream> 00010 #include <string> 00011 00012 struct CutValues { 00013 //identifier 00014 std::string id; //id in a human readable format (unused) 00015 int idWord; //allows fast comparisions, really this tells you all about the cuts (unused) 00016 int validEleTypes; //what electrons types are valid (eg barrel, endcap) 00017 int cutMask; //allows cuts to be turned off/on 00018 00019 //cut values 00020 //kinmatic cuts 00021 float minEtCut; 00022 float minEtaCut; 00023 float maxEtaCut; 00024 bool rejectCracks; 00025 00026 //id cuts 00027 float minEpInCut; 00028 float maxEpInCut; 00029 float epInReleaseEtCut; 00030 float maxDEtaInCut; 00031 float maxDPhiInCut; 00032 float maxHademCut; 00033 float maxHadCell2ConstCut; 00034 float maxHadCell2GradCut; 00035 float minEpOutCut; 00036 float maxEpOutCut; 00037 float maxDPhiOutCut; 00038 float minInvEInvPCut; 00039 float maxInvEInvPCut; 00040 float minBremFracCut; 00041 float minE9E25Cut; 00042 float minSigmaEtaEtaCut; 00043 float maxSigmaEtaEtaCut; 00044 float minSigmaPhiPhiCut; 00045 float maxSigmaPhiPhiCut; 00046 00047 //isol cut values 00048 float minIsolEmConstCut; 00049 float isolEmGradCut; 00050 float minIsolEmRecHitConstCut; 00051 float isolEmRecHitGradCut; 00052 float minIsolHadConstCut; 00053 float isolHadGradCut; 00054 float minIsolHadDepth2ConstCut; 00055 float isolHadDepth2GradCut; 00056 float minIsolPtTrksConstCut; 00057 float isolPtTrksGradCut; 00058 int minIsolNrTrksConstCut; 00059 00060 float minIsolEmHadDepth1ConstCut; 00061 float isolEmHadDepth1GradCut; 00062 00063 00064 00065 00066 CutValues(){} 00067 virtual ~CutValues(){} 00068 00069 void setEBHighNrgy(int inputCutMask=~0x0); 00070 void setEEHighNrgy(int inputCutMask=~0x0); 00071 void setEBPreSel(int inputCutMask=~0x0); 00072 void setEEPreSel(int inputCutMask=~0x0); 00073 00074 00075 00076 }; 00077 00078 00079 #endif