Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cmssw-tool-conf.spec
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ Requires: heppdt
Requires: herwig
Requires: herwig7
Requires: hydjet
Requires: hydjet2
Requires: ittnotify
Requires: jemalloc
Requires: jemalloc-debug
Expand Down
24 changes: 24 additions & 0 deletions hydjet2.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
### RPM external hydjet2 2.4.3

Source: http://cern.ch/lokhtin/hydjet++/%{n}-%{realversion}.tar.gz


BuildRequires: cmake gmake

Requires: pyquen pythia6 lhapdf root


%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} -DROOTSYS=${ROOT_ROOT}
cmake --build . --clean-first -- %{makeprocesses}

%install

cmake --build . --target install -- %{makeprocesses}

mkdir -p %{i}/data/externals/hydjet2
mv %{i}/share/* %{i}/data/externals/hydjet2
10 changes: 10 additions & 0 deletions hydjet2/doc.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
- Requested, AddedBy:
@wouf

- PR:
https://github.com/cms-sw/cmsdist/pull/7483

- Description:
{hydjet2} is event generator for simulation of relativistic heavy ion AA collisions as a superposition of the soft, hydro-type state and the hard, multi-parton state.
- Documentation
http://cern.ch/lokhtin/hydjet++/documentation/
15 changes: 15 additions & 0 deletions scram-tools.file/tools/hydjet2/hydjet2.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<tool name="hydjet2" version="@TOOL_VERSION@">
<lib name="hydjet2"/>
<client>
<environment name="HYDJET2_BASE" default="@TOOL_ROOT@"/>
<environment name="LIBDIR" default="$HYDJET2_BASE/lib64"/>
<environment name="INCLUDE" default="$HYDJET2_BASE/include"/>
</client>
<runtime name="CMSSW_SEARCH_PATH" default="$HYDJET2_BASE/data" type="path"/>
<runtime name="ROOT_INCLUDE_PATH" value="$INCLUDE" type="path"/>
<use name="pyquen"/>
<use name="pythia6"/>
<use name="lhapdf"/>
<use name="root"/>
<flags SYSTEM_INCLUDE="1"/>
</tool>