Skip to content

Commit

Permalink
Merge pull request #246 from MadAnalysis/luminosity_scaling_fix2
Browse files Browse the repository at this point in the history
fix typo in run_recast
  • Loading branch information
BFuks authored Aug 26, 2024
2 parents 6a3ad2e + a0ce62f commit e08e8fd
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions bin/ma5
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ sys.path.insert(0, servicedir)

# Release version
# Do not touch it !!!!!
version = "1.10.15"
date = "2024/05/06"
version = "1.10.16"
date = "2024/08/26"

# Loading the MadAnalysis session
import madanalysis.core.launcher
Expand Down
2 changes: 1 addition & 1 deletion doc/releases/changelog-v1.10.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@

* Covariance matrix implementation has been fixed for HL extrapolations
(see issue [#223](https://github.com/MadAnalysis/madanalysis5/issues/223)).
([#225](https://github.com/MadAnalysis/madanalysis5/pull/225))
([#225](https://github.com/MadAnalysis/madanalysis5/pull/225)) and ([#246](https://github.com/MadAnalysis/madanalysis5/pull/246))

* Minor bugfix in luminosity scaling for recasting
([#238](https://github.com/MadAnalysis/madanalysis5/pull/238))
Expand Down
2 changes: 1 addition & 1 deletion madanalysis/misc/run_recast.py
Original file line number Diff line number Diff line change
Expand Up @@ -1145,7 +1145,7 @@ def header_info_file(self, etree, analysis, extrapolated_lumi):
if self.main.recasting.error_extrapolation=='sqrt':
new_sigma = round(math.sqrt(sigma)*lumi_scaling,8)
elif self.main.recasting.error_extrapolation=='linear':
new_sigma = new_sigma * lumi_scaling**2
new_sigma = sigma * lumi_scaling**2
else:
new_sigma = sigma * lumi_scaling**2 * self.main.recasting.error_extrapolation[0]**2 + \
np.sqrt(sigma) * lumi_scaling * self.main.recasting.error_extrapolation[1]**2
Expand Down
4 changes: 2 additions & 2 deletions tools/SampleAnalyzer/Commons/Base/Configuration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ using namespace MA5;
// Initializing static data members
// -----------------------------------------------------------------------------
// DO NOT TOUCH THESE LINES
const std::string Configuration::sampleanalyzer_version_ = "1.10.15";
const std::string Configuration::sampleanalyzer_date_ = "2024/05/06";
const std::string Configuration::sampleanalyzer_version_ = "1.10.16";
const std::string Configuration::sampleanalyzer_date_ = "2024/08/26";
// DO NOT TOUCH THESE LINES

// -----------------------------------------------------------------------------
Expand Down

0 comments on commit e08e8fd

Please sign in to comment.