diff --git a/DaVinciExamples/CMakeLists.txt b/DaVinciExamples/CMakeLists.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3426198bf93293fa4b1e232d83537995b13c6133
--- /dev/null
+++ b/DaVinciExamples/CMakeLists.txt
@@ -0,0 +1,17 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
+gaudi_subdir(DaVinciExamples)
+
+gaudi_depends_on_subdirs(GaudiConf)
+
+gaudi_install_python_modules()
+
+gaudi_add_test(QMTest QMTEST)
diff --git a/DaVinciExamples/python/DaVinciExamples/__init__.py b/DaVinciExamples/python/DaVinciExamples/__init__.py
new file mode 100644
index 0000000000000000000000000000000000000000..0a2d8e2c89c0ba8d2250d4bb579851e813a3166a
--- /dev/null
+++ b/DaVinciExamples/python/DaVinciExamples/__init__.py
@@ -0,0 +1,10 @@
+###############################################################################
+# (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration           #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
diff --git a/DaVinciExamples/python/DaVinciExamples/debugging/example-PrintHeader.py b/DaVinciExamples/python/DaVinciExamples/debugging/example-PrintHeader.py
new file mode 100644
index 0000000000000000000000000000000000000000..c14de0442e3345d97db92962020676a05b9c7805
--- /dev/null
+++ b/DaVinciExamples/python/DaVinciExamples/debugging/example-PrintHeader.py
@@ -0,0 +1,34 @@
+##############################################################################
+# (c) Copyright 2020-2021 CERN for the benefit of the LHCb Collaboration      #
+#                                                                             #
+# This software is distributed under the terms of the GNU General Public      #
+# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
+#                                                                             #
+# In applying this licence, CERN does not waive the privileges and immunities #
+# granted to it by virtue of its status as an Intergovernmental Organization  #
+# or submit itself to any jurisdiction.                                       #
+###############################################################################
+"""
+Example of a DaVinci job printing run and event numbers on every read event.
+"""
+
+__author__ = "Eduardo Rodrigues"
+__date__ = "2021-02-25"
+
+from PyConf.application import configure, configure_input
+from PyConf.application import default_raw_event, make_odin
+from PyConf.control_flow import CompositeNode
+from PyConf.Algorithms import PrintHeader
+from DaVinci import options
+
+options.set_input_and_conds_from_testfiledb('Upgrade_Bd2KstarMuMu')
+options.evt_max = 7
+options.input_raw_format = 4.3
+
+with default_raw_event.bind(raw_event_format=options.input_raw_format):
+    ph = PrintHeader(ODINLocation=make_odin())
+
+node = CompositeNode("PHNode", children=[ph])
+
+config = configure_input(options)
+config.update(configure(options, node))
diff --git a/DaVinciExamples/tests/qmtest/debugging.qms/test_example-PrintHeader.qmt b/DaVinciExamples/tests/qmtest/debugging.qms/test_example-PrintHeader.qmt
new file mode 100755
index 0000000000000000000000000000000000000000..fc9684eb36abbe63c8aba1c5967a2b2929e5e2c9
--- /dev/null
+++ b/DaVinciExamples/tests/qmtest/debugging.qms/test_example-PrintHeader.qmt
@@ -0,0 +1,28 @@
+<?xml version="1.0" ?>
+<!--
+    (c) Copyright 2021 CERN for the benefit of the LHCb Collaboration
+
+    This software is distributed under the terms of the GNU General Public
+    Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".
+
+    In applying this licence, CERN does not waive the privileges and immunities
+    granted to it by virtue of its status as an Intergovernmental Organization
+    or submit itself to any jurisdiction.
+-->
+<!DOCTYPE extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
+<extension class="GaudiTest.GaudiExeTest" kind="test">
+<argument name="program"><text>gaudirun.py</text></argument>
+<argument name="timeout"><integer>3600</integer></argument>
+<argument name="args"><set>
+  <text>$DAVINCIEXAMPLESROOT/python/DaVinciExamples/debugging/example-PrintHeader.py</text>
+</set></argument>
+<argument name="validator"><text>
+findReferenceBlock("""
+PrintHeader                            INFO Number of counters : 1
+ |    Counter                                      |     #     |    sum     | mean/eff^* | rms/err^*  |     min     |     max     |
+ | "EventCount"                                    |         7 |
+ApplicationMgr                         INFO Application Manager Stopped successfully
+""", stdout, result, causes, signature_offset = 0)
+countErrorLines({"FATAL":0})
+</text></argument>
+</extension>