Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DD4hep
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cepc
externals
mirroring
DD4hep
Commits
9112ed90
Commit
9112ed90
authored
9 years ago
by
Markus Frank
Browse files
Options
Downloads
Patches
Plain Diff
Starter docs
parent
0cc623af
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/DD4hepStartersGuide.pdf
+0
-0
0 additions, 0 deletions
doc/DD4hepStartersGuide.pdf
doc/example_build_script.sh
+41
-0
41 additions, 0 deletions
doc/example_build_script.sh
with
41 additions
and
0 deletions
doc/DD4hepStartersGuide.pdf
0 → 100644
+
0
−
0
View file @
9112ed90
File added
This diff is collapsed.
Click to expand it.
doc/example_build_script.sh
0 → 100755
+
41
−
0
View file @
9112ed90
#!/bin/bash
#
# ==== User configuration =========================================
# Set here the proper installation directories of the pre-requisites
# ==================================================================
SW
=
~/SW
MY_ROOT
=
${
SW
}
/root_v5.34.25_dbg
MY_GEANT4
=
${
SW
}
/g4_10.01.p02_dbg
MY_LCIO
=
${
SW
}
/lcio/v02-04-03
MY_XERCES
=
${
SW
}
/xerces-c-3.1.1
MY_DD4HEP
=
`
pwd
`
/DD4hep_tmp2
# ==================================================================
# From here on all should be box-standard
# ==================================================================
.
${
MY_ROOT
}
/bin/thisroot.sh
.
${
MY_GEANT4
}
/bin/geant4.sh
# Remove line if no DDG4
mkdir
-p
${
MY_DD4HEP
}
/build
mkdir
-p
${
MY_DD4HEP
}
/install
cd
${
MY_DD4HEP
}
svn co https://svnsrv.desy.de/basic/aidasoft/DD4hep/trunk
cd
build
cmake
-DCMAKE_BUILD_TYPE
=
Debug
\
-DCMAKE_INSTALL_PREFIX
=
${
MY_DD4HEP
}
/install
\
-DCMAKE_MODULE_PATH
=
${
MY_DD4HEP
}
/install
\
-DDD4HEP_USE_XERCESC
=
ON
-DXERCESC_ROOT_DIR
=
${
MY_XERCES
}
\
-DDD4HEP_USE_BOOST
=
ON
-DDD4HEP_USE_GEANT4
=
ON
-DGeant4_ROOT
=
${
MY_GEANT4
}
\
-DDD4HEP_USE_LCIO
=
ON
-DLCIO_DIR
=
${
MY_LCIO
}
\
../trunk
# Build and install
make
-j
6
install
# Move to installation and setup runtime environment
cd
${
MY_DD4HEP
}
/install
.
bin/thisdd4hep.sh
export
LD_LIBRARY_PATH
=
$LD_LIBRARY_PATH
:
${
MY_LCIO
}
/lib
# Run Example...
python examples/DDG4/examples/CLICSidSimu.py
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment