forked from swertz/ttbar_effth_delphes
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MW: patch driver.f to handle negative weights
- Loading branch information
Sébastien
committed
Mar 4, 2015
1 parent
2a5e8b7
commit b7ec294
Showing
2 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
421c421 | ||
< cross = cross + perm_value_it(i,1)/(perm_error_it(i,1)+1d-99) | ||
--- | ||
> cross = cross + abs(perm_value_it(i,1))/(perm_error_it(i,1)+1d-99) | ||
428c428 | ||
< value = perm_value_it(j,1)/ | ||
--- | ||
> value = abs(perm_value_it(j,1))/ | ||
474c474 | ||
< if (data(i).ge.data(i-j)) then | ||
--- | ||
> if (abs(data(i)).ge.abs(data(i-j))) then | ||
487c487 | ||
< cross = cross + perm_value(i,1) | ||
--- | ||
> cross = cross + abs(perm_value(i,1)) | ||
492c492 | ||
< tmp = perm_value(j,1) | ||
--- | ||
> tmp = abs(perm_value(j,1)) | ||
521c521 | ||
< if (data(i).ge.data(i-j)) then | ||
--- | ||
> if (abs(data(i)).ge.abs(data(i-j))) then |