Open BasChiara opened 3 weeks ago
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 https://github.com/cms-sw/cmssw/pull/45989
+db
This issue is fully signed and ready to be closed.
I am encountering issue with
pileupCalc.py
. InCMSSW_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