Skip to content

Commit

Permalink
Merge pull request cms-sw#88 from rappoccio/fixLHE_94X_AddLOPDF
Browse files Browse the repository at this point in the history
Add LO PDF info
  • Loading branch information
arizzi authored Dec 21, 2017
2 parents d20c135 + 2491820 commit f3dbe0a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions PhysicsTools/NanoAOD/python/globals_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@
variables = cms.PSet(
x1 = Var( "?hasPDF?pdf().x.first:-1", float, doc="x1 fraction of proton momentum carried by the first parton",precision=14 ),
x2 = Var( "?hasPDF?pdf().x.second:-1", float, doc="x2 fraction of proton momentum carried by the second parton",precision=14 ),
#AR: not sure what "xPDF" is wrt to just "x"
#x1PDF = Var( "?hasPDF?pdf().xPDF.first:-1", float, doc="x1 fraction of proton momentum carried by the first parton" ),
#x2PDF = Var( "?hasPDF?pdf().xPDF.second:-1", float, doc="x2 fraction of proton momentum carried by the second parton" ),
xpdf1 = Var( "?hasPDF?pdf().xPDF.first:-1", float, doc="x*pdf(x) for the first parton", precision=14 ),
xpdf2 = Var( "?hasPDF?pdf().xPDF.second:-1", float, doc="x*pdf(x) for the second parton", precision=14 ),
id1 = Var( "?hasPDF?pdf().id.first:-1", int, doc="id of first parton", precision=6 ),
id2 = Var( "?hasPDF?pdf().id.second:-1", int, doc="id of second parton", precision=6 ),
scalePDF = Var( "?hasPDF?pdf().scalePDF:-1", float, doc="Q2 scale for PDF", precision=14 ),
),
)

Expand Down

0 comments on commit f3dbe0a

Please sign in to comment.