CMS 3D CMS Logo

EgHLTEgCutValues.cc
Go to the documentation of this file.
3 
5 
6 using namespace egHLT;
7 
8 void EgCutValues::setup(const edm::ParameterSet& iConfig) {
10  //kinematic and fiduicual cuts
11  minEt = iConfig.getParameter<double>("minEt");
12  minEta = iConfig.getParameter<double>("minEta");
13  maxEta = iConfig.getParameter<double>("maxEta");
14  //track cuts
15  maxDEtaIn = iConfig.getParameter<double>("maxDEtaIn");
16  maxDPhiIn = iConfig.getParameter<double>("maxDPhiIn");
17  maxInvEInvP = iConfig.getParameter<double>("maxInvEInvP");
18  //super cluster cuts
19  maxHadem = iConfig.getParameter<double>("maxHadem");
20  maxHadEnergy = iConfig.getParameter<double>("maxHadEnergy");
21  maxSigmaIEtaIEta = iConfig.getParameter<double>("maxSigmaIEtaIEta");
22  maxSigmaEtaEta = iConfig.getParameter<double>("maxSigmaEtaEta");
23  //----Morse------
24  minR9 = iConfig.getParameter<double>("minR9");
25  maxR9 = iConfig.getParameter<double>("maxR9");
26  //---------------
27 
28  //std isolation cuts
29  isolEmConstTerm = iConfig.getParameter<double>("isolEmConstTerm");
30  isolEmGradTerm = iConfig.getParameter<double>("isolEmGradTerm");
31  isolEmGradStart = iConfig.getParameter<double>("isolEmGradStart");
32 
33  isolHadConstTerm = iConfig.getParameter<double>("isolHadConstTerm");
34  isolHadGradTerm = iConfig.getParameter<double>("isolHadGradTerm");
35  isolHadGradStart = iConfig.getParameter<double>("isolHadGradStart");
36 
37  isolPtTrksConstTerm = iConfig.getParameter<double>("isolPtTrksConstTerm");
38  isolPtTrksGradTerm = iConfig.getParameter<double>("isolPtTrksGradTerm");
39  isolPtTrksGradStart = iConfig.getParameter<double>("isolPtTrksGradStart");
40 
41  isolNrTrksConstTerm = iConfig.getParameter<int>("isolNrTrksConstTerm");
42 
43  //hlt isolation cuts
44  maxHLTIsolTrksEle = iConfig.getParameter<double>("maxHLTIsolTrksEle");
45  maxHLTIsolTrksEleOverPt = iConfig.getParameter<double>("maxHLTIsolTrksEleOverPt");
46  maxHLTIsolTrksEleOverPt2 = iConfig.getParameter<double>("maxHLTIsolTrksEleOverPt2");
47  maxHLTIsolTrksPho = iConfig.getParameter<double>("maxHLTIsolTrksPho");
48  maxHLTIsolTrksPhoOverPt = iConfig.getParameter<double>("maxHLTIsolTrksPhoOverPt");
49  maxHLTIsolTrksPhoOverPt2 = iConfig.getParameter<double>("maxHLTIsolTrksPhoOverPt2");
50  maxHLTIsolHad = iConfig.getParameter<double>("maxHLTIsolHad");
51  maxHLTIsolHadOverEt = iConfig.getParameter<double>("maxHLTIsolHadOverEt");
52  maxHLTIsolHadOverEt2 = iConfig.getParameter<double>("maxHLTIsolHadOverEt2");
53 
54  maxHLTIsolEm = iConfig.getParameter<double>("maxHLTIsolEm");
55  maxHLTIsolEmOverEt = iConfig.getParameter<double>("maxHLTIsolEmOverEt");
56  maxHLTIsolEmOverEt2 = iConfig.getParameter<double>("maxHLTIsolEmOverEt2");
57 
58  minCTFTrkOuterRadius = iConfig.getParameter<double>("minCTFTrkOuterRadius");
59  maxCTFTrkInnerRadius = iConfig.getParameter<double>("maxCTFTrkInnerRadius");
60  minNrCTFTrkHits = iConfig.getParameter<int>("minNrCTFTrkHits");
61  maxNrCTFTrkHitsLost = iConfig.getParameter<int>("maxNrCTFTrkHitsLost");
62  maxCTFTrkChi2NDof = iConfig.getParameter<double>("maxCTFTrkChi2NDof");
63  requirePixelHitsIfOuterInOuter = iConfig.getParameter<bool>("requirePixelHitsIfOuterInOuter");
64 
65  maxHLTDEtaIn = iConfig.getParameter<double>("maxHLTDEtaIn");
66  maxHLTDPhiIn = iConfig.getParameter<double>("maxHLTDPhiIn");
67  maxHLTInvEInvP = iConfig.getParameter<double>("maxHLTInvEInvP");
68 }
egHLT::EgCutValues::maxEta
double maxEta
Definition: EgHLTEgCutValues.h:19
egHLT::EgCutValues::maxHLTInvEInvP
double maxHLTInvEInvP
Definition: EgHLTEgCutValues.h:67
egHLT::EgCutValues::maxHadEnergy
double maxHadEnergy
Definition: EgHLTEgCutValues.h:26
egHLT::EgCutValues::maxR9
double maxR9
Definition: EgHLTEgCutValues.h:31
egHLT::EgCutValues::isolHadConstTerm
double isolHadConstTerm
Definition: EgHLTEgCutValues.h:37
egHLT::EgCutValues::maxHLTIsolHad
double maxHLTIsolHad
Definition: EgHLTEgCutValues.h:51
egHLT::EgCutValues::isolHadGradTerm
double isolHadGradTerm
Definition: EgHLTEgCutValues.h:38
egHLT::EgCutValues::isolEmGradTerm
double isolEmGradTerm
Definition: EgHLTEgCutValues.h:35
egHLT::EgCutValues::maxHadem
double maxHadem
Definition: EgHLTEgCutValues.h:25
egHLT::EgCutValues::minR9
double minR9
Definition: EgHLTEgCutValues.h:29
egHLT::EgCutValues::maxSigmaEtaEta
double maxSigmaEtaEta
Definition: EgHLTEgCutValues.h:28
egHLT::EgCutValues::maxCTFTrkChi2NDof
double maxCTFTrkChi2NDof
Definition: EgHLTEgCutValues.h:62
EgHLTEgCutValues.h
egHLT::EgCutValues::minNrCTFTrkHits
double minNrCTFTrkHits
Definition: EgHLTEgCutValues.h:60
egHLT::EgCutValues::maxHLTIsolEm
double maxHLTIsolEm
Definition: EgHLTEgCutValues.h:54
egHLT::EgCutValues::requirePixelHitsIfOuterInOuter
bool requirePixelHitsIfOuterInOuter
Definition: EgHLTEgCutValues.h:63
egHLT::EgCutValues::maxHLTIsolEmOverEt
double maxHLTIsolEmOverEt
Definition: EgHLTEgCutValues.h:55
egHLT::EgCutValues::maxHLTIsolHadOverEt2
double maxHLTIsolHadOverEt2
Definition: EgHLTEgCutValues.h:53
egHLT::EgCutValues::maxHLTDPhiIn
double maxHLTDPhiIn
Definition: EgHLTEgCutValues.h:66
egHLT::EgCutValues::maxHLTIsolTrksEle
double maxHLTIsolTrksEle
Definition: EgHLTEgCutValues.h:45
egHLT::EgCutValues::isolEmConstTerm
double isolEmConstTerm
Definition: EgHLTEgCutValues.h:34
edm::ParameterSet
Definition: ParameterSet.h:47
egHLT::EgCutValues::isolPtTrksGradStart
double isolPtTrksGradStart
Definition: EgHLTEgCutValues.h:42
egHLT::EgCutValues::isolEmGradStart
double isolEmGradStart
Definition: EgHLTEgCutValues.h:36
egHLT::EgCutValues::maxHLTIsolHadOverEt
double maxHLTIsolHadOverEt
Definition: EgHLTEgCutValues.h:52
egHLT::EgCutValues::maxCTFTrkInnerRadius
double maxCTFTrkInnerRadius
Definition: EgHLTEgCutValues.h:59
egHLT::EgCutValues::isolPtTrksConstTerm
double isolPtTrksConstTerm
Definition: EgHLTEgCutValues.h:40
egHLT::EgCutValues::maxHLTDEtaIn
double maxHLTDEtaIn
Definition: EgHLTEgCutValues.h:65
egHLT::EgCutValues::isolNrTrksConstTerm
int isolNrTrksConstTerm
Definition: EgHLTEgCutValues.h:43
egHLT::EgCutValues::maxNrCTFTrkHitsLost
double maxNrCTFTrkHitsLost
Definition: EgHLTEgCutValues.h:61
egHLT::EgCutValues::minCTFTrkOuterRadius
double minCTFTrkOuterRadius
Definition: EgHLTEgCutValues.h:58
egHLT::EgCutValues::minEt
double minEt
Definition: EgHLTEgCutValues.h:17
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
egHLT::EgCutValues::isolPtTrksGradTerm
double isolPtTrksGradTerm
Definition: EgHLTEgCutValues.h:41
egHLT::EgCutValues::maxSigmaIEtaIEta
double maxSigmaIEtaIEta
Definition: EgHLTEgCutValues.h:27
egHLT::EgCutValues::minEta
double minEta
Definition: EgHLTEgCutValues.h:18
egHLT::EgCutCodes::getCode
static int getCode(const std::string &descript)
Definition: EgHLTEgCutCodes.h:65
egHLT::EgCutValues::setup
void setup(const edm::ParameterSet &iConfig)
Definition: EgHLTEgCutValues.cc:8
egHLT::EgCutValues::maxHLTIsolTrksEleOverPt2
double maxHLTIsolTrksEleOverPt2
Definition: EgHLTEgCutValues.h:47
egHLT::EgCutValues::maxHLTIsolTrksEleOverPt
double maxHLTIsolTrksEleOverPt
Definition: EgHLTEgCutValues.h:46
egHLT::EgCutValues::maxDEtaIn
double maxDEtaIn
Definition: EgHLTEgCutValues.h:21
egHLT::EgCutValues::maxInvEInvP
double maxInvEInvP
Definition: EgHLTEgCutValues.h:23
egHLT::EgCutValues::maxHLTIsolTrksPhoOverPt
double maxHLTIsolTrksPhoOverPt
Definition: EgHLTEgCutValues.h:49
egHLT::EgCutValues::maxDPhiIn
double maxDPhiIn
Definition: EgHLTEgCutValues.h:22
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
egHLT::EgCutValues::maxHLTIsolEmOverEt2
double maxHLTIsolEmOverEt2
Definition: EgHLTEgCutValues.h:56
EgHLTEgCutCodes.h
egHLT::EgCutValues::isolHadGradStart
double isolHadGradStart
Definition: EgHLTEgCutValues.h:39
egHLT::EgCutValues::cutMask
int cutMask
Definition: EgHLTEgCutValues.h:15
ParameterSet.h
egHLT::EgCutValues::maxHLTIsolTrksPho
double maxHLTIsolTrksPho
Definition: EgHLTEgCutValues.h:48
egHLT
Definition: EgHLTBinData.h:10
egHLT::EgCutValues::maxHLTIsolTrksPhoOverPt2
double maxHLTIsolTrksPhoOverPt2
Definition: EgHLTEgCutValues.h:50