diff --git a/cmssw-tool-conf.spec b/cmssw-tool-conf.spec index 43630a5d052..35550936d28 100644 --- a/cmssw-tool-conf.spec +++ b/cmssw-tool-conf.spec @@ -41,6 +41,7 @@ Requires: heppdt Requires: herwig Requires: herwig7 Requires: hydjet +Requires: hydjet2 Requires: ittnotify Requires: jemalloc Requires: jemalloc-debug diff --git a/hydjet2.spec b/hydjet2.spec new file mode 100644 index 00000000000..9e405da0e08 --- /dev/null +++ b/hydjet2.spec @@ -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 diff --git a/hydjet2/doc.txt b/hydjet2/doc.txt new file mode 100644 index 00000000000..f256df36d20 --- /dev/null +++ b/hydjet2/doc.txt @@ -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/ diff --git a/scram-tools.file/tools/hydjet2/hydjet2.xml b/scram-tools.file/tools/hydjet2/hydjet2.xml new file mode 100644 index 00000000000..e79a0d86393 --- /dev/null +++ b/scram-tools.file/tools/hydjet2/hydjet2.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + +