Logo ROOT   6.08/07
Reference Guide
RooTable.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Project: RooFit *
3  * Package: RooFitCore *
4  * File: $Id: RooTable.h,v 1.15 2007/05/11 09:11:30 verkerke Exp $
5  * Authors: *
6  * WV, Wouter Verkerke, UC Santa Barbara, verkerke@slac.stanford.edu *
7  * DK, David Kirkby, UC Irvine, dkirkby@uci.edu *
8  * *
9  * Copyright (c) 2000-2005, Regents of the University of California *
10  * and Stanford University. All rights reserved. *
11  * *
12  * Redistribution and use in source and binary forms, *
13  * with or without modification, are permitted according to the terms *
14  * listed in LICENSE (http://roofit.sourceforge.net/license.txt) *
15  *****************************************************************************/
16 #ifndef ROO_TABLE
17 #define ROO_TABLE
18 
19 #include "Riosfwd.h"
20 #include <assert.h>
21 #include "TNamed.h"
22 #include "RooAbsCategory.h"
23 #include "RooPrintable.h"
24 
25 class RooTable : public TNamed, public RooPrintable {
26 public:
27 
28  // Constructors, cloning and assignment
29  RooTable() {} ;
30  virtual ~RooTable() ;
31  RooTable(const char *name, const char *title);
32  RooTable(const RooTable& other) ;
33 
34  virtual void fill(RooAbsCategory& cat, Double_t weight=1.0) = 0 ;
35 
36  virtual Bool_t isIdentical(const RooTable& other) = 0 ;
37 
38 protected:
39 
40  ClassDef(RooTable,1) // Abstract interface for tables
41 };
42 
43 #endif
virtual ~RooTable()
Destructor.
Definition: RooTable.cxx:61
virtual Bool_t isIdentical(const RooTable &other)=0
bool Bool_t
Definition: RtypesCore.h:59
#define ClassDef(name, id)
Definition: Rtypes.h:254
RooPlotable is a &#39;mix-in&#39; base class that define the standard RooFit plotting and printing methods...
Definition: RooPrintable.h:26
The TNamed class is the base class for all named ROOT classes.
Definition: TNamed.h:33
RooTable()
Definition: RooTable.h:29
double Double_t
Definition: RtypesCore.h:55
RooAbsCategory is the common abstract base class for objects that represent a discrete value with a f...
RooTable is the abstract interface for table objects.
Definition: RooTable.h:25
virtual void fill(RooAbsCategory &cat, Double_t weight=1.0)=0
char name[80]
Definition: TGX11.cxx:109