From 77c7aec37fbf514b24d28a0109a2524713e9a3cf Mon Sep 17 00:00:00 2001 From: Olivier Couet <olivier.couet@cern.ch> Date: Thu, 19 Nov 2015 11:38:41 +0100 Subject: [PATCH] Doxygen --- tutorials/image/galaxy_image.C | 10 ++++++++-- tutorials/image/hist2image.C | 13 +++++++++++-- tutorials/image/hsumanim.C | 15 ++++++++++----- 3 files changed, 29 insertions(+), 9 deletions(-) diff --git a/tutorials/image/galaxy_image.C b/tutorials/image/galaxy_image.C index 193241f06a7..4df8b1f2caf 100644 --- a/tutorials/image/galaxy_image.C +++ b/tutorials/image/galaxy_image.C @@ -1,5 +1,11 @@ -//Importing an image and manipulating it -//Author: Valeriy Onuchin +/// \file +/// \ingroup image +/// Importing an image and manipulating it. +/// +/// \image html image_galaxy_image.png +/// \macro_code +/// +/// \author Valeriy Onuchin void galaxy_image() { diff --git a/tutorials/image/hist2image.C b/tutorials/image/hist2image.C index a6b17a94d82..c730cffb513 100644 --- a/tutorials/image/hist2image.C +++ b/tutorials/image/hist2image.C @@ -1,5 +1,14 @@ -//Create an image from a 2-D histogram and manipulate it -//Author: Valeriy Onuchin +/// \file +/// \ingroup image +/// Create an image from a 2-D histogram and manipulate it. +/// +/// \image html image_hist2image.png +/// \macro_code +/// +/// \author Valeriy Onuchin + +#include <TAttImage.h> + void hist2image() { diff --git a/tutorials/image/hsumanim.C b/tutorials/image/hsumanim.C index 8d842fac1e3..01431761c28 100644 --- a/tutorials/image/hsumanim.C +++ b/tutorials/image/hsumanim.C @@ -1,9 +1,14 @@ -void hsumanim() { -// -// This script is a slightly modified version of hsum.C. -// When run in batch mode, it produces an animated gif file. -//Authors: Rene Brun, Valeriy Onuchin +/// \file +/// \ingroup image +/// This script is a slightly modified version of hsum.C. +/// When run in batch mode, it produces an animated gif file. +/// +/// \macro_image +/// \macro_code +/// +/// \authors Rene Brun, Valeriy Onuchin +void hsumanim() { c1 = new TCanvas("c1","The HSUM example",200,10,600,400); c1->SetGrid(); -- GitLab