Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/root/RooTable.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*****************************************************************************
0002  * Project: RooFit                                                           *
0003  * Package: RooFitCore                                                       *
0004  *    File: $Id: RooTable.h,v 1.15 2007/05/11 09:11:30 verkerke Exp $
0005  * Authors:                                                                  *
0006  *   WV, Wouter Verkerke, UC Santa Barbara, verkerke@slac.stanford.edu       *
0007  *   DK, David Kirkby,    UC Irvine,         dkirkby@uci.edu                 *
0008  *                                                                           *
0009  * Copyright (c) 2000-2005, Regents of the University of California          *
0010  *                          and Stanford University. All rights reserved.    *
0011  *                                                                           *
0012  * Redistribution and use in source and binary forms,                        *
0013  * with or without modification, are permitted according to the terms        *
0014  * listed in LICENSE (http://roofit.sourceforge.net/license.txt)             *
0015  *****************************************************************************/
0016 #ifndef ROO_TABLE
0017 #define ROO_TABLE
0018 
0019 #include "TNamed.h"
0020 #include "RooAbsCategory.h"
0021 #include "RooPrintable.h"
0022 
0023 /**
0024 \class RooTable
0025 \ingroup Roofitcore
0026 
0027 Abstract interface for table objects.
0028 Table objects are the category equivalent of RooPlot objects
0029 (which are used for real-valued objects)
0030 **/
0031 
0032 class RooTable : public TNamed, public RooPrintable {
0033 public:
0034 
0035   // Constructors, cloning and assignment
0036   RooTable() {}
0037   RooTable(const char *name, const char *title) : TNamed{name, title} {}
0038   RooTable(const RooTable& other) = default;
0039 
0040   virtual void fill(RooAbsCategory& cat, double weight=1.0) = 0 ;
0041 
0042   virtual bool isIdentical(const RooTable& other, bool verbose) = 0 ;
0043 
0044 protected:
0045 
0046   ClassDefOverride(RooTable,1) // Abstract interface for tables
0047 };
0048 
0049 #endif