[yoda-svn] r494 - trunk/include/YODA

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Wed Jul 11 17:52:07 BST 2012


Author: buckley
Date: Wed Jul 11 17:52:06 2012
New Revision: 494

Log:
Adding a Plot class, designed solely to make it easy to access BEGIN YODA_PLOT ... END YODA_PLOT sections (which are purely collections of styling annotations) in YODA data files.

Added:
   trunk/include/YODA/Plot.h

Added: trunk/include/YODA/Plot.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/include/YODA/Plot.h	Wed Jul 11 17:52:06 2012	(r494)
@@ -0,0 +1,33 @@
+// -*- C++ -*-
+//
+// This file is part of YODA -- Yet more Objects for Data Analysis
+// Copyright (C) 2008-2012 The YODA collaboration (see AUTHORS for details)
+//
+#ifndef YODA_Plot_h
+#define YODA_Plot_h
+
+#include "YODA/AnalysisObject.h"
+
+namespace YODA {
+
+
+  /// A plot object: really just a handler for plot style annotations in data files.
+  class Plot : public AnalysisObject {
+  public:
+
+    /// @name Constructors
+    //@{
+
+    /// Default constructor
+    Histo1D()
+      : AnalysisObject("Plot", "", "")
+    { }
+
+    //@}
+
+  };
+
+
+}
+
+#endif


More information about the yoda-svn mailing list