CMS 3D CMS Logo

EgHLTOffPhoSelection_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 egHLTOffPhoBarrelCuts = cms.PSet (
4  #----Morse------
5  #cuts=cms.string("et:detEta:hadem:sigmaIEtaIEta:r9:isolEm:isolHad:isolPtTrks"),
6  cuts=cms.string("et:detEta:hadem:sigmaIEtaIEta:minr9:maxr9:isolEm:isolHad:isolPtTrks"),
7  #------
8  minEt=cms.double(20),
9  minEta=cms.double(0.),
10  maxEta=cms.double(1.442),
11  maxDEtaIn=cms.double(-1),#not used for pho
12  maxDPhiIn=cms.double(-1),#not used for pho
13  maxInvEInvP=cms.double(-1),#not used for pho
14  #maxHadem=cms.double(0.04),
15  maxHadem=cms.double(0.05),#CaloIdVTIsoT
16  maxHadEnergy=cms.double(0),
17  maxSigmaIEtaIEta=cms.double(0.011),#CaloIdVTIsoT
18  maxSigmaEtaEta=cms.double(0.011),#CaloIdVTIsoT
19  #----Morse------
20  #minR9=cms.double(0.8),
21  minR9= cms.double(0.0),
22  maxR9=cms.double(0.98),
23  #---------------
24  isolEmConstTerm=cms.double(5.),#CaloIdVTIsoT
25  isolEmGradTerm=cms.double(0.012),#CaloIdVTIsoT
26  isolEmGradStart=cms.double(0.),
27  isolHadConstTerm=cms.double(3.),#CaloIdVTIsoT
28  isolHadGradTerm=cms.double(0.005),#CaloIdVTIsoT
29  isolHadGradStart=cms.double(0.),
30  isolPtTrksConstTerm=cms.double(3.),#CaloIdVTIsoT
31  isolPtTrksGradTerm=cms.double(0.002),#CaloIdVTIsoT
32  isolPtTrksGradStart=cms.double(0.),
33  isolNrTrksConstTerm=cms.int32(4),
34  maxHLTIsolTrksEle = cms.double(0),
35  maxHLTIsolTrksEleOverPt = cms.double(0),
36  maxHLTIsolTrksEleOverPt2 = cms.double(0),
37  maxHLTIsolTrksPho = cms.double(0),
38  maxHLTIsolTrksPhoOverPt = cms.double(0),
39  maxHLTIsolTrksPhoOverPt2 = cms.double(0),
40  maxHLTIsolHad = cms.double(0),
41  maxHLTIsolHadOverEt = cms.double(0),
42  maxHLTIsolHadOverEt2 = cms.double(0),
43  maxHLTIsolEm = cms.double(0),
44  maxHLTIsolEmOverEt = cms.double(0),
45  maxHLTIsolEmOverEt2 = cms.double(0),
46 
47  #the rest of the cuts are track cuts which always fail for photon
48  minCTFTrkOuterRadius=cms.double(40.),
49  maxCTFTrkInnerRadius=cms.double(9.),
50  minNrCTFTrkHits=cms.int32(5),
51  maxNrCTFTrkHitsLost=cms.int32(0),
52  maxCTFTrkChi2NDof=cms.double(99999.),
53  requirePixelHitsIfOuterInOuter=cms.bool(True),
54  maxHLTDEtaIn=cms.double(0.1),
55  maxHLTDPhiIn=cms.double(0.1),
56  maxHLTInvEInvP=cms.double(0.1),
57 
58  )
59 
60 egHLTOffPhoEndcapCuts = cms.PSet (
61  #----Morse-----
62  #cuts=cms.string("et:detEta:hadem:sigmaIEtaIEta:r9:isolEm:isolHad:isolPtTrks:hltIsolHad:hltIsolTrksPho"),
63  cuts=cms.string("et:detEta:hadem:sigmaIEtaIEta:minr9:maxr9:isolEm:isolHad:isolPtTrks"),
64  #------------
65  minEt=cms.double(20),
66  minEta=cms.double(1.56),
67  maxEta=cms.double(2.5),
68  maxDEtaIn=cms.double(-1),#not used for pho
69  maxDPhiIn=cms.double(-1),#not used for pho
70  maxInvEInvP=cms.double(-1),#not used for pho
71  maxHadem=cms.double(0.05),#CaloIdVTIsoT
72  maxHadEnergy=cms.double(0),
73  maxSigmaIEtaIEta=cms.double(0.031),#CaloIdVTIsoT
74  maxSigmaEtaEta=cms.double(0.031),#CaloIdVTIsoT
75  #----Morse------
76  #minR9=cms.double(0.8),
77  minR9=cms.double(0.0),
78  maxR9=cms.double(999.),
79  #---------------
80  isolEmConstTerm=cms.double(5.),#CaloIdVTIsoT
81  isolEmGradTerm=cms.double(0.012),#CaloIdVTIsoT
82  isolEmGradStart=cms.double(0.),
83  isolHadConstTerm=cms.double(3.),#CaloIdVTIsoT
84  isolHadGradTerm=cms.double(0.005),#CaloIdVTIsoT
85  isolHadGradStart=cms.double(0.),
86  isolPtTrksConstTerm=cms.double(3.),#CaloIdVTIsoT
87  isolPtTrksGradTerm=cms.double(0.002),#CaloIdVTIsoT
88  isolPtTrksGradStart=cms.double(0.),
89  isolNrTrksConstTerm=cms.int32(4),
90  maxHLTIsolTrksEle = cms.double(0),#not used for pho
91  maxHLTIsolTrksEleOverPt = cms.double(0),#not used for pho
92  maxHLTIsolTrksEleOverPt2 = cms.double(0),#not used for pho
93  maxHLTIsolTrksPho = cms.double(0),
94  maxHLTIsolTrksPhoOverPt = cms.double(0),
95  maxHLTIsolTrksPhoOverPt2 = cms.double(0),
96  maxHLTIsolHad = cms.double(0),
97  maxHLTIsolHadOverEt = cms.double(0),
98  maxHLTIsolHadOverEt2 = cms.double(0),
99  maxHLTIsolEm = cms.double(0),
100  maxHLTIsolEmOverEt = cms.double(0),
101  maxHLTIsolEmOverEt2 = cms.double(0),
102 
103  #the rest of the cuts are track cuts which always fail for photon
104  minCTFTrkOuterRadius=cms.double(40.),
105  maxCTFTrkInnerRadius=cms.double(9.),
106  minNrCTFTrkHits=cms.int32(5),
107  maxNrCTFTrkHitsLost=cms.int32(0),
108  maxCTFTrkChi2NDof=cms.double(99999.),
109  requirePixelHitsIfOuterInOuter=cms.bool(True),
110  maxHLTDEtaIn=cms.double(0.1),
111  maxHLTDPhiIn=cms.double(0.1),
112  maxHLTInvEInvP=cms.double(0.1),
113 
114  )
115 
116 egHLTOffPhoCuts = cms.PSet(
117  barrel = cms.PSet(egHLTOffPhoBarrelCuts),
118  endcap = cms.PSet(egHLTOffPhoEndcapCuts)
119 )
120 
121 egHLTOffPhoLooseCuts = cms.PSet(
122  barrel = cms.PSet(egHLTOffPhoBarrelCuts),
123  endcap = cms.PSet(egHLTOffPhoEndcapCuts)
124 )