Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73339
b: "refs/heads/CMSSW_7_0_X"
c: d8f20d4
h: "refs/heads/CMSSW_7_0_X"
i:
  73337: d1bdd53
  73335: fd8dfae
v: v3
  • Loading branch information
saout committed Sep 15, 2009
1 parent 16ee201 commit 126b66a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
"refs/heads/CMSSW_7_0_X": e0370c934b35e5b08acf5cb2fd84e52635f8c6eb
"refs/heads/CMSSW_7_0_X": d8f20d46ef923dbebe7f192f0b1022d82b245e2f
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,8 @@ void Pythia6Hadronizer::finalizeEvent()
// this is "standard" Py6 event weight (corresponds to PYINT1/VINT(97)
//
if (lhe && std::abs(lheRunInfo()->getHEPRUP()->IDWTUP) == 4)
event()->weights().push_back( pyint1.vint[96] / 1.0e-9 ); // mb -> pb
// translate mb to pb (CMS/Gen "convention" as of May 2009)
event()->weights().push_back( pyint1.vint[96] * 1.0e9 );
else
event()->weights().push_back( pyint1.vint[96] );
//
Expand Down Expand Up @@ -749,7 +750,7 @@ void Pythia6Hadronizer::statistics()
{
// set xsec if not already done (e.g. from LHE cross section collector)
double cs = pypars.pari[0]; // cross section in mb
cs *= pow(10.,9); // translate to pb (CMS/Gen "convenstion" as of May 2009)
cs *= 1.0e9; // translate to pb (CMS/Gen "convention" as of May 2009)
runInfo().setInternalXSec( cs );
// FIXME: can we get the xsec statistical error somewhere?
}
Expand Down

0 comments on commit 126b66a

Please sign in to comment.