List of examples
To compile and run examples follow installation instruction.
To compile:
cd DQMCpp
mkdir build
cd build
cmake -DPLUGINDIR=../examples ../src
make -j nproc
To run:
touch dummy ## as dqm utility requires file with runs
# examples itself doesn't require any runs (if not specially mentioned)
./dqm dummy <example plugin name>
# for example ./dqm dummy hello_world
Comments and explanations to code are inlined (mostly in plugin.cc
files).
List of examples:
-
Simple "Hello world" plugin which does nothing. Just to see how to use namespaces, plugin registration and write mandatory C++ code.
-
Plugin to learn how to get content by URL in different ways.
-
Plugin to learn how to operate with ECAL channel database.
-
Plugin to learn how to read channels from DQM.
-
Plugin to learn how to easily run your functions in parallel.
To be added ...
Of course the best examples are real PFG plugins