Skip to content

Commit

Permalink
Merge pull request cms-sw#13 from gpetruc/fix-doubleRatio-model
Browse files Browse the repository at this point in the history
Fix double ratio model
  • Loading branch information
gpetruc committed Jul 24, 2013
2 parents 3be5a77 + e96f998 commit fc59444
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions python/PhysicsModel.py
Original file line number Diff line number Diff line change
Expand Up @@ -541,11 +541,11 @@ def doParametersOfInterest(self):
# --- Signal Strength as only POI ---
self.modelBuilder.doVar("rho[1,0,4]")
self.modelBuilder.doVar("Rvf[1,0,4]")
self.modelBuilder.doVar("rf_%s[1,0,4]" % self.modes[2])
self.modelBuilder.factory_("prod::rf_%s( rho, r_%s)" % (self.modes[1], self.modes[2]))
self.modelBuilder.factory_("prod::rv_%s(Rvf,rho, r_%s)" % (self.modes[1], self.modes[2]))
self.modelBuilder.factory_("prod::rv_%s(Rvf, r_%s)" % (self.modes[2], self.modes[2]))
poi = "rho,Rvf,rf_%s" % self.modes[2]
self.modelBuilder.doVar("rf_%s[1,0,4]" % self.modes[0])
self.modelBuilder.factory_("prod::rf_%s( rho, rf_%s)" % (self.modes[1], self.modes[0]))
self.modelBuilder.factory_("prod::rv_%s(Rvf,rho, rf_%s)" % (self.modes[1], self.modes[0]))
self.modelBuilder.factory_("prod::rv_%s(Rvf, rf_%s)" % (self.modes[0], self.modes[0]))
poi = "rho,Rvf,rf_%s" % self.modes[0]
if self.floatMass:
if self.modelBuilder.out.var("MH"):
self.modelBuilder.out.var("MH").setRange(float(self.mHRange[0]),float(self.mHRange[1]))
Expand Down

0 comments on commit fc59444

Please sign in to comment.