-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5412 from wouf/patch-6
Hydjet integration as external
- Loading branch information
Showing
6 changed files
with
73 additions
and
3 deletions.
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,23 @@ | ||
### RPM external hydjet-toolfile 1.0 | ||
Requires: hydjet | ||
%prep | ||
|
||
%build | ||
|
||
%install | ||
|
||
mkdir -p %i/etc/scram.d | ||
cat << \EOF_TOOLFILE >%i/etc/scram.d/hydjet.xml | ||
<tool name="hydjet" version="@TOOL_VERSION@"> | ||
<lib name="hydjet"/> | ||
<client> | ||
<environment name="HYDJET_BASE" default="@TOOL_ROOT@"/> | ||
<environment name="LIBDIR" default="$HYDJET_BASE/lib"/> | ||
</client> | ||
<use name="pyquen"/> | ||
<use name="pythia6"/> | ||
<use name="lhapdf"/> | ||
</tool> | ||
EOF_TOOLFILE | ||
|
||
## IMPORT scram-tools-post |
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,20 @@ | ||
### RPM external hydjet 1.9.1 | ||
|
||
Source: http://cern.ch/lokhtin/hydro/%{n}-%{realversion}.tar.gz | ||
|
||
BuildRequires: cmake gmake | ||
|
||
Requires: pyquen pythia6 lhapdf | ||
|
||
|
||
%prep | ||
%setup -q -n %{n}-%{realversion} | ||
|
||
%build | ||
|
||
cmake . -DCMAKE_INSTALL_PREFIX=%i -DCMAKE_BUILD_TYPE=Release -DPYQUEN_DIR=${PYQUEN_ROOT} -DPYTHIA6_DIR=${PYTHIA6_ROOT} -DLHAPDF_ROOT_DIR=${LHAPDF_ROOT} | ||
cmake --build . --clean-first -- %{makeprocesses} | ||
|
||
%install | ||
|
||
cmake --build . --target install -- %{makeprocesses} |
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,13 @@ | ||
- Requested, AddedBy: | ||
@wouf | ||
|
||
- PR: | ||
https://github.com/cms-sw/cmsdist/pull/5412 | ||
|
||
- Description: | ||
{hydjet} is event generator to simulate jet production, jet quenching and flow effects in ultrarelativistic heavy ion AA collisions | ||
http://lokhtin.web.cern.ch/lokhtin/hydro/hydjet.html | ||
|
||
- Documentation | ||
http://lokhtin.web.cern.ch/lokhtin/hydro/hydjet.txt | ||
|
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,13 @@ | ||
- Requested, AddedBy: | ||
@wouf | ||
|
||
- PR: | ||
https://github.com/cms-sw/cmsdist/pull/4790 | ||
|
||
- Description: | ||
{pyquen} is event generator for simulation of rescattering, radiative and collisional energy loss of hard partons in expanding quark-gluon plasma created in ultrarelativistic heavy ion AA collisions | ||
http://lokhtin.web.cern.ch/lokhtin/pyquen/ | ||
|
||
- Documentation | ||
http://lokhtin.web.cern.ch/lokhtin/pyquen/pyquen.txt | ||
|