Skip to content

Commit

Permalink
Change range of the weight RooRealVar to [0, 100]
Browse files Browse the repository at this point in the history
"Weights" can be larger than 1 when we use it to reweight for pileup, so
we pick a large number as the upper bounds that we shouldn't hit.
  • Loading branch information
Alexander Gude committed May 6, 2014
1 parent a5d0b1f commit ee1ab9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ZFinder/Event/src/ZDefinitionWorkspace.cc
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ namespace zf {
e1_charge->defineType("Negative", -1);
// Event
n_vert = new RooRealVar("n_vert", "Number of Vertices", 0, 100);
weight = new RooRealVar("weight", "Event weight", 0, 1);
weight = new RooRealVar("weight", "Event weight", 0, 100);
data_type = new RooCategory("data_type", "Is the event from Data, or MC?");
data_type->defineType("Truth MC");
data_type->defineType("Reco MC");
Expand Down

0 comments on commit ee1ab9d

Please sign in to comment.