Skip to content

Commit

Permalink
Merge pull request #174 from MadAnalysis/delphes_update
Browse files Browse the repository at this point in the history
Update of the version of Delphes/DelphesMa5tune + compatibility with …
  • Loading branch information
jackaraz authored Feb 7, 2023
2 parents ec00e79 + e91513a commit 65d4239
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 9 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.github_meta.log
*/*.pyc
*/*/*.pyc
*/*/*/*.pyc
Expand All @@ -12,3 +13,5 @@ tools/SampleAnalyzer/Test/Makefile_*
*/*/*.log
doc/??????_mode.log
doc/??????_mode.pdf
.DS_Store
ANALYSIS_*
4 changes: 2 additions & 2 deletions bin/ma5
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ sys.path.insert(0, servicedir)

# Release version
# Do not touch it !!!!!
version = "1.10.8"
date = "2023/02/02"
version = "1.10.9"
date = "2023/02/07"

# Loading the MadAnalysis session
import madanalysis.core.launcher
Expand Down
4 changes: 4 additions & 0 deletions doc/releases/changelog-v1.10.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@
* Fixed an attribute misspelling in `ObservableBase`.
([#171](https://github.com/MadAnalysis/madanalysis5/pull/171))

* Update of the version of Delphes/DelphesMa5tune + compatibility with M1 chips and Mac OS 13.0.
([#173](https://github.com/orgs/MadAnalysis/discussions/173))


## Contributors

This release contains contributions from (in alphabetical order):
Expand Down
8 changes: 3 additions & 5 deletions madanalysis/install/install_delphes.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,9 @@ def __init__(self,main,package):
self.untardir = os.path.join(self.tmpdir, 'MA5_'+self.package)
self.ncores = 1
if package == 'delphesma5tune':
self.files = {package+".tar.gz" : "https://madanalysis.irmp.ucl.ac.be/raw-attachment/wiki/MA5SandBox/delphes-3.5.0.tar.gz"}
self.files = {package+".tar.gz" : "https://madanalysis.irmp.ucl.ac.be/raw-attachment/wiki/MA5SandBox/delphes3.5.0.tar.gz"}
else:
# self.files = {package+".tar.gz" : "https://madanalysis.irmp.ucl.ac.be/raw-attachment/wiki/WikiStart/delphes342pre.tar.gz"} # Delphes for LLP not release yet
# self.files = {package+".tar.gz" : "http://cp3.irmp.ucl.ac.be/downloads/Delphes-3.4.2.tar.gz"}
self.files = {package+".tar.gz" : "https://madanalysis.irmp.ucl.ac.be/raw-attachment/wiki/MA5SandBox/delphes3.4.3.tar.gz"}
self.files = {package+".tar.gz" : "https://madanalysis.irmp.ucl.ac.be/raw-attachment/wiki/MA5SandBox/delphes3.5.0.tar.gz"}
self.logger = logging.getLogger('MA5')


Expand Down Expand Up @@ -119,7 +117,7 @@ def Unpack(self):
if self.package == 'delphesMA5tune':
# Copying the patch
self.logger.debug('Copying the patch ...')
input=self.toolsdir+'/SampleAnalyzer/Interfaces/delphesMA5tune/patch_delphesMA5tune.tgz'
input=self.toolsdir+'/SampleAnalyzer/Interfaces/delphesMA5tune/patch_delphesMA5tune_v35.tgz'
output=packagedir+'/patch_delphesMA5tune.tgz'
try:
shutil.copy(input,output)
Expand Down
7 changes: 7 additions & 0 deletions madanalysis/system/checkup.py
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,13 @@ def SetFolder(self):
self.logger.debug('after DYLD_LIBRARY_PATH='+str(os.environ['DYLD_LIBRARY_PATH']))
self.logger.debug('--------')

# ROOT INCLUDE PATH
if self.archi_info.has_delphes:
os.environ['ROOT_INCLUDE_PATH']=os.path.join(self.archi_info.ma5dir,'tools','delphes','external');
if self.archi_info.has_delphesMA5tune:
os.environ['ROOT_INCLUDE_PATH']=os.path.join(self.archi_info.ma5dir,'tools','delphesMA5tune','external');


self.logger.debug('-------- END: set environment variables --------')

return True
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 @@ -40,8 +40,8 @@ using namespace MA5;
// Initializing static data members
// -----------------------------------------------------------------------------
// DO NOT TOUCH THESE LINES
const std::string Configuration::sampleanalyzer_version_ = "1.10.8";
const std::string Configuration::sampleanalyzer_date_ = "2023/02/02";
const std::string Configuration::sampleanalyzer_version_ = "1.10.9";
const std::string Configuration::sampleanalyzer_date_ = "2023/02/07";
// DO NOT TOUCH THESE LINES

// -----------------------------------------------------------------------------
Expand Down
Binary file not shown.
Binary file not shown.

0 comments on commit 65d4239

Please sign in to comment.