Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sds
HEP
HEPnOS
Commits
db7cfa42
Commit
db7cfa42
authored
Mar 05, 2020
by
Matthieu Dorier
Browse files
more docs
parent
fea13a2a
Changes
7
Hide whitespace changes
Inline
Side-by-side
docs/source/
produc
ts.rst
→
docs/source/
accessing_datase
ts.rst
View file @
db7cfa42
Stor
ing and
retrieving produc
ts
Creat
ing and
accessing DataSe
ts
===============================
docs/source/accessing_events.rst
0 → 100644
View file @
db7cfa42
Creating and accessing events
=============================
docs/source/accessing_products.rst
0 → 100644
View file @
db7cfa42
Creating and accessing Products
===============================
docs/source/accessing_runs.rst
0 → 100644
View file @
db7cfa42
Creating and accessing Runs
===========================
docs/source/accessing.rst
→
docs/source/accessing
_subruns
.rst
View file @
db7cfa42
Creating and accessing
object
s
Creating and accessing
SubRun
s
==============================
docs/source/connection.rst
View file @
db7cfa42
Client connection
=================
Client connection
and service shutdown
=================
=====================
.. literalinclude:: ../../../examples/01_init_shutdown/main.cpp
The following code sample showcases how to initialize a DataStore
object in a client program. This object is the main entry point to
the HEPnOS storage system. Its :code:`connect()` function takes
the name of a YAML file as a parameter, which should be the file
created by HEPnOS when starting up.
.. literalinclude:: ../../examples/01_init_shutdown/main.cpp
:language: cpp
The :code:`DataStore::shutdown()` method can be used to tell
HEPnOS to shutdown. This method should be called by only one client
and will terminate all the HEPnOS processes. If HEPnOS is setup to
use in-memory databases, you will loose all the data store in HEPnOS.
docs/source/index.rst
View file @
db7cfa42
...
...
@@ -27,8 +27,11 @@ Contents
organization.rst
deployment.rst
connection.rst
accessing.rst
products.rst
accessing_datasets.rst
accessing_runs.rst
accessing_subruns.rst
accessing_events.rst
accessing_products.rst
optimizations.rst
theta.rst
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment