Skip to content

Commit cada531

Browse files
committed
Set same precision of RAWPFMET and RawPuppiMET as the Type-1 corrected versions
1 parent 25b7ee3 commit cada531

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

PhysicsTools/NanoAOD/python/met_cff.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@
3333
name = cms.string("RawPFMET"),
3434
doc = cms.string("raw PF MET"),
3535
variables = cms.PSet(#NOTA BENE: we don't copy PTVars here!
36-
pt = Var("uncorPt", float, doc="pt", precision=10),
37-
phi = Var("uncorPhi", float, doc="phi", precision=10),
38-
sumEt = Var("uncorSumEt", float, doc="scalar sum of Et", precision=10),
36+
pt = Var("uncorPt", float, doc="pt", precision=-1),
37+
phi = Var("uncorPhi", float, doc="phi", precision=12),
38+
sumEt = Var("uncorSumEt", float, doc="scalar sum of Et", precision=12),
3939
),
4040
)
4141

@@ -74,11 +74,11 @@
7474
name = cms.string("RawPuppiMET"),
7575
doc = cms.string("raw Puppi MET"),
7676
variables = cms.PSet(#NOTA BENE: we don't copy PTVars here!
77-
pt = Var("uncorPt", float, doc="pt", precision=10),
78-
phi = Var("uncorPhi", float, doc="phi", precision=10),
79-
sumEt = Var("uncorSumEt", float, doc="scalar sum of Et", precision=10),
80-
),)
81-
77+
pt = Var("uncorPt", float, doc="pt", precision=-1),
78+
phi = Var("uncorPhi", float, doc="phi", precision=12),
79+
sumEt = Var("uncorSumEt", float, doc="scalar sum of Et", precision=12),
80+
),
81+
)
8282

8383
trkMetTable = simpleSingletonPATMETFlatTableProducer.clone(
8484
src = pfmetTable.src,
@@ -124,6 +124,6 @@
124124
)
125125

126126

127-
metTablesTask = cms.Task(pfmetTable, rawMetTable, caloMetTable, puppiMetTable, rawPuppiMetTable, trkMetTable,
127+
metTablesTask = cms.Task(pfmetTable, rawMetTable, caloMetTable, puppiMetTable, rawPuppiMetTable, trkMetTable,
128128
deepMetResolutionTuneTable, deepMetResponseTuneTable )
129129
metMCTask = cms.Task( metMCTable )

0 commit comments

Comments
 (0)