[yoda-svn] yoda: Provide additional typedefs in analysis classes. Just Hist...

YODA Mercurial yoda at projects.hepforge.org
Tue Oct 25 15:00:01 BST 2016


details:   https://yoda.hepforge.org/hg/yoda/rev/604c470c5cc3
branches:  multiweight
changeset: 1312:604c470c5cc3
user:      David Grellscheid <david.grellscheid at durham.ac.uk>
date:      Tue Oct 25 14:53:37 2016 +0100
description:
Provide additional typedefs in analysis classes. Just Histo1D for now.

diffs (19 lines):

--- a/include/YODA/Histo1D.h	Mon Oct 10 17:44:26 2016 +0100
+++ b/include/YODA/Histo1D.h	Tue Oct 25 14:53:37 2016 +0100
@@ -22,7 +22,6 @@
   /// Convenience typedef
   typedef Axis1D<HistoBin1D, Dbn1D> Histo1DAxis;
 
-
   /// A  one-dimensional histogram.
   class Histo1D : public AnalysisObject {
   public:
@@ -32,6 +31,8 @@
     typedef Axis::Bins Bins;
     typedef HistoBin1D Bin;
 
+    typedef double FillType;
+    typedef std::shared_ptr<Histo1D> Ptr;
 
     /// @name Constructors
     //@{


More information about the yoda-svn mailing list