-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pileupCalc.py error #45742
Comments
cms-bot internal usage |
A new Issue was created by @BasChiara. @Dr15Jones, @antoniovilela, @makortel, @mandrenguyen, @rappoccio, @sextonkennedy, @smuzaffar can you please review it and eventually sign/assign? Thanks. cms-bot commands are listed here |
assign RecoLuminosity/LumiDB |
New categories assigned: db @francescobrivio,@saumyaphor4252,@perrotta,@consuegs you have been requested to review this Pull request/Issue and eventually sign? Thanks |
type lumi |
@cms-sw/lumi-pog-l2 @romeof FYI |
something along: diff --git a/RecoLuminosity/LumiDB/scripts/pileupCalc.py b/RecoLuminosity/LumiDB/scripts/pileupCalc.py
index 4c38b77d5e8..60740decba2 100755
--- a/RecoLuminosity/LumiDB/scripts/pileupCalc.py
+++ b/RecoLuminosity/LumiDB/scripts/pileupCalc.py
@@ -62,7 +62,7 @@ class EquidistantBinning(object):
def width(self):
return (self.xMax-self.xMin)/self.num
def find(self, x):
- return np.floor((x-self.xMin)*self.num/(self.xMax-self.xMin)).astype(np.int)
+ return np.floor((x-self.xMin)*self.num/(self.xMax-self.xMin)).astype(int)
Sqrt2 = np.sqrt(2)
seems enough to fix the issue. |
this should be fixed by #45989 |
+db |
This issue is fully signed and ready to be closed. |
@cmsbuild, please test |
@cmsbuild, please close |
I am encountering issue with
pileupCalc.py
.In
CMSSW_13_0_13
the pileupCalc application lunched with this command :gives the following error :
Can you please help me with this, am I doing something wrong?
Thanks !
Chiara
The text was updated successfully, but these errors were encountered: