CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
egHLT::EgCutValues Struct Reference

#include <EgHLTEgCutValues.h>

Public Member Functions

 EgCutValues ()
 
 EgCutValues (const edm::ParameterSet &iConfig)
 
void setup (const edm::ParameterSet &iConfig)
 

Public Attributes

int cutMask
 
double isolEmConstTerm
 
double isolEmGradStart
 
double isolEmGradTerm
 
double isolHadConstTerm
 
double isolHadGradStart
 
double isolHadGradTerm
 
int isolNrTrksConstTerm
 
double isolPtTrksConstTerm
 
double isolPtTrksGradStart
 
double isolPtTrksGradTerm
 
double maxCTFTrkChi2NDof
 
double maxCTFTrkInnerRadius
 
double maxDEtaIn
 
double maxDPhiIn
 
double maxEta
 
double maxHadem
 
double maxHadEnergy
 
double maxHLTDEtaIn
 
double maxHLTDPhiIn
 
double maxHLTInvEInvP
 
double maxHLTIsolEm
 
double maxHLTIsolEmOverEt
 
double maxHLTIsolEmOverEt2
 
double maxHLTIsolHad
 
double maxHLTIsolHadOverEt
 
double maxHLTIsolHadOverEt2
 
double maxHLTIsolTrksEle
 
double maxHLTIsolTrksEleOverPt
 
double maxHLTIsolTrksEleOverPt2
 
double maxHLTIsolTrksPho
 
double maxHLTIsolTrksPhoOverPt
 
double maxHLTIsolTrksPhoOverPt2
 
double maxInvEInvP
 
double maxNrCTFTrkHitsLost
 
double maxR9
 
double maxSigmaEtaEta
 
double maxSigmaIEtaIEta
 
double minCTFTrkOuterRadius
 
double minEt
 
double minEta
 
double minNrCTFTrkHits
 
double minR9
 
bool requirePixelHitsIfOuterInOuter
 

Detailed Description

Definition at line 15 of file EgHLTEgCutValues.h.

Constructor & Destructor Documentation

egHLT::EgCutValues::EgCutValues ( )
inline

Definition at line 71 of file EgHLTEgCutValues.h.

71 {}
egHLT::EgCutValues::EgCutValues ( const edm::ParameterSet iConfig)
inlineexplicit

Definition at line 72 of file EgHLTEgCutValues.h.

References setup().

72 {setup(iConfig);}
void setup(const edm::ParameterSet &iConfig)

Member Function Documentation

void EgCutValues::setup ( const edm::ParameterSet iConfig)

Definition at line 8 of file EgHLTEgCutValues.cc.

References cutMask, egHLT::EgCutCodes::getCode(), edm::ParameterSet::getParameter(), isolEmConstTerm, isolEmGradStart, isolEmGradTerm, isolHadConstTerm, isolHadGradStart, isolHadGradTerm, isolNrTrksConstTerm, isolPtTrksConstTerm, isolPtTrksGradStart, isolPtTrksGradTerm, maxCTFTrkChi2NDof, maxCTFTrkInnerRadius, maxDEtaIn, maxDPhiIn, maxEta, maxHadem, maxHadEnergy, maxHLTDEtaIn, maxHLTDPhiIn, maxHLTInvEInvP, maxHLTIsolEm, maxHLTIsolEmOverEt, maxHLTIsolEmOverEt2, maxHLTIsolHad, maxHLTIsolHadOverEt, maxHLTIsolHadOverEt2, maxHLTIsolTrksEle, maxHLTIsolTrksEleOverPt, maxHLTIsolTrksEleOverPt2, maxHLTIsolTrksPho, maxHLTIsolTrksPhoOverPt, maxHLTIsolTrksPhoOverPt2, maxInvEInvP, maxNrCTFTrkHitsLost, maxR9, maxSigmaEtaEta, maxSigmaIEtaIEta, minCTFTrkOuterRadius, minEt, minEta, minNrCTFTrkHits, minR9, and requirePixelHitsIfOuterInOuter.

Referenced by EgCutValues(), and egHLT::OffEgSel::setup().

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

Member Data Documentation

int egHLT::EgCutValues::cutMask

Definition at line 17 of file EgHLTEgCutValues.h.

Referenced by egHLT::OffEgSel::getCutCode(), and setup().

double egHLT::EgCutValues::isolEmConstTerm

Definition at line 36 of file EgHLTEgCutValues.h.

Referenced by egHLT::OffEgSel::getCutCode(), and setup().

double egHLT::EgCutValues::isolEmGradStart

Definition at line 38 of file EgHLTEgCutValues.h.

Referenced by egHLT::OffEgSel::getCutCode(), and setup().

double egHLT::EgCutValues::isolEmGradTerm

Definition at line 37 of file EgHLTEgCutValues.h.

Referenced by egHLT::OffEgSel::getCutCode(), and setup().

double egHLT::EgCutValues::isolHadConstTerm

Definition at line 39 of file EgHLTEgCutValues.h.

Referenced by egHLT::OffEgSel::getCutCode(), and setup().

double egHLT::EgCutValues::isolHadGradStart

Definition at line 41 of file EgHLTEgCutValues.h.

Referenced by egHLT::OffEgSel::getCutCode(), and setup().

double egHLT::EgCutValues::isolHadGradTerm

Definition at line 40 of file EgHLTEgCutValues.h.

Referenced by egHLT::OffEgSel::getCutCode(), and setup().

int egHLT::EgCutValues::isolNrTrksConstTerm

Definition at line 45 of file EgHLTEgCutValues.h.

Referenced by egHLT::OffEgSel::getCutCode(), and setup().

double egHLT::EgCutValues::isolPtTrksConstTerm

Definition at line 42 of file EgHLTEgCutValues.h.

Referenced by egHLT::OffEgSel::getCutCode(), and setup().

double egHLT::EgCutValues::isolPtTrksGradStart

Definition at line 44 of file EgHLTEgCutValues.h.

Referenced by egHLT::OffEgSel::getCutCode(), and setup().

double egHLT::EgCutValues::isolPtTrksGradTerm

Definition at line 43 of file EgHLTEgCutValues.h.

Referenced by egHLT::OffEgSel::getCutCode(), and setup().

double egHLT::EgCutValues::maxCTFTrkChi2NDof

Definition at line 64 of file EgHLTEgCutValues.h.

Referenced by setup().

double egHLT::EgCutValues::maxCTFTrkInnerRadius

Definition at line 61 of file EgHLTEgCutValues.h.

Referenced by egHLT::OffEgSel::getCutCode(), and setup().

double egHLT::EgCutValues::maxDEtaIn

Definition at line 23 of file EgHLTEgCutValues.h.

Referenced by egHLT::OffEgSel::getCutCode(), and setup().

double egHLT::EgCutValues::maxDPhiIn

Definition at line 24 of file EgHLTEgCutValues.h.

Referenced by egHLT::OffEgSel::getCutCode(), and setup().

double egHLT::EgCutValues::maxEta

Definition at line 21 of file EgHLTEgCutValues.h.

Referenced by egHLT::OffEgSel::getCutCode(), and setup().

double egHLT::EgCutValues::maxHadem

Definition at line 27 of file EgHLTEgCutValues.h.

Referenced by egHLT::OffEgSel::getCutCode(), and setup().

double egHLT::EgCutValues::maxHadEnergy

Definition at line 28 of file EgHLTEgCutValues.h.

Referenced by egHLT::OffEgSel::getCutCode(), and setup().

double egHLT::EgCutValues::maxHLTDEtaIn

Definition at line 67 of file EgHLTEgCutValues.h.

Referenced by egHLT::OffEgSel::getCutCode(), and setup().

double egHLT::EgCutValues::maxHLTDPhiIn

Definition at line 68 of file EgHLTEgCutValues.h.

Referenced by egHLT::OffEgSel::getCutCode(), and setup().

double egHLT::EgCutValues::maxHLTInvEInvP

Definition at line 69 of file EgHLTEgCutValues.h.

Referenced by egHLT::OffEgSel::getCutCode(), and setup().

double egHLT::EgCutValues::maxHLTIsolEm

Definition at line 56 of file EgHLTEgCutValues.h.

Referenced by egHLT::OffEgSel::getCutCode(), and setup().

double egHLT::EgCutValues::maxHLTIsolEmOverEt

Definition at line 57 of file EgHLTEgCutValues.h.

Referenced by egHLT::OffEgSel::getCutCode(), and setup().

double egHLT::EgCutValues::maxHLTIsolEmOverEt2

Definition at line 58 of file EgHLTEgCutValues.h.

Referenced by egHLT::OffEgSel::getCutCode(), and setup().

double egHLT::EgCutValues::maxHLTIsolHad

Definition at line 53 of file EgHLTEgCutValues.h.

Referenced by egHLT::OffEgSel::getCutCode(), and setup().

double egHLT::EgCutValues::maxHLTIsolHadOverEt

Definition at line 54 of file EgHLTEgCutValues.h.

Referenced by egHLT::OffEgSel::getCutCode(), and setup().

double egHLT::EgCutValues::maxHLTIsolHadOverEt2

Definition at line 55 of file EgHLTEgCutValues.h.

Referenced by egHLT::OffEgSel::getCutCode(), and setup().

double egHLT::EgCutValues::maxHLTIsolTrksEle

Definition at line 47 of file EgHLTEgCutValues.h.

Referenced by egHLT::OffEgSel::getCutCode(), and setup().

double egHLT::EgCutValues::maxHLTIsolTrksEleOverPt

Definition at line 48 of file EgHLTEgCutValues.h.

Referenced by egHLT::OffEgSel::getCutCode(), and setup().

double egHLT::EgCutValues::maxHLTIsolTrksEleOverPt2

Definition at line 49 of file EgHLTEgCutValues.h.

Referenced by egHLT::OffEgSel::getCutCode(), and setup().

double egHLT::EgCutValues::maxHLTIsolTrksPho

Definition at line 50 of file EgHLTEgCutValues.h.

Referenced by egHLT::OffEgSel::getCutCode(), and setup().

double egHLT::EgCutValues::maxHLTIsolTrksPhoOverPt

Definition at line 51 of file EgHLTEgCutValues.h.

Referenced by egHLT::OffEgSel::getCutCode(), and setup().

double egHLT::EgCutValues::maxHLTIsolTrksPhoOverPt2

Definition at line 52 of file EgHLTEgCutValues.h.

Referenced by egHLT::OffEgSel::getCutCode(), and setup().

double egHLT::EgCutValues::maxInvEInvP

Definition at line 25 of file EgHLTEgCutValues.h.

Referenced by egHLT::OffEgSel::getCutCode(), and setup().

double egHLT::EgCutValues::maxNrCTFTrkHitsLost

Definition at line 63 of file EgHLTEgCutValues.h.

Referenced by egHLT::OffEgSel::getCutCode(), and setup().

double egHLT::EgCutValues::maxR9

Definition at line 33 of file EgHLTEgCutValues.h.

Referenced by egHLT::OffEgSel::getCutCode(), and setup().

double egHLT::EgCutValues::maxSigmaEtaEta

Definition at line 30 of file EgHLTEgCutValues.h.

Referenced by egHLT::OffEgSel::getCutCode(), and setup().

double egHLT::EgCutValues::maxSigmaIEtaIEta

Definition at line 29 of file EgHLTEgCutValues.h.

Referenced by egHLT::OffEgSel::getCutCode(), and setup().

double egHLT::EgCutValues::minCTFTrkOuterRadius

Definition at line 60 of file EgHLTEgCutValues.h.

Referenced by egHLT::OffEgSel::getCutCode(), and setup().

double egHLT::EgCutValues::minEt

Definition at line 19 of file EgHLTEgCutValues.h.

Referenced by egHLT::OffEgSel::getCutCode(), and setup().

double egHLT::EgCutValues::minEta

Definition at line 20 of file EgHLTEgCutValues.h.

Referenced by egHLT::OffEgSel::getCutCode(), and setup().

double egHLT::EgCutValues::minNrCTFTrkHits

Definition at line 62 of file EgHLTEgCutValues.h.

Referenced by egHLT::OffEgSel::getCutCode(), and setup().

double egHLT::EgCutValues::minR9

Definition at line 31 of file EgHLTEgCutValues.h.

Referenced by egHLT::OffEgSel::getCutCode(), and setup().

bool egHLT::EgCutValues::requirePixelHitsIfOuterInOuter

Definition at line 65 of file EgHLTEgCutValues.h.

Referenced by egHLT::OffEgSel::getCutCode(), and setup().