Skip to content

Commit

Permalink
Update simfit.py
Browse files Browse the repository at this point in the history
  • Loading branch information
VanyaBelyaev authored Feb 11, 2024
1 parent 121ea7e commit 78e0724
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ostap/fitting/simfit.py
Original file line number Diff line number Diff line change
Expand Up @@ -1213,7 +1213,9 @@ def generate ( self ,
cargs = tuple ( cargs )

pdf = self.categories [ label ]
vv = ROOT.RooArgSet ( [ v for v in self.vars if v in varset ] )
vv = ROOT.RooArgSet ()
for v for v in self.vars :
if v in varset : vv.add ( v )
ds = pdf.generate ( nevts ,
varset = vv ,
## varset = varset ,
Expand Down

0 comments on commit 78e0724

Please sign in to comment.