Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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 "TNamed.h"
20#include "RooAbsCategory.h"
21#include "RooPrintable.h"
22
23class RooTable : public TNamed, public RooPrintable {
24public:
25
26 // Constructors, cloning and assignment
27 RooTable() {} ;
28 ~RooTable() override ;
29 RooTable(const char *name, const char *title);
30 RooTable(const RooTable& other) ;
31
32 virtual void fill(RooAbsCategory& cat, double weight=1.0) = 0 ;
33
34 virtual bool isIdentical(const RooTable& other, bool verbose) = 0 ;
35
36protected:
37
38 ClassDefOverride(RooTable,1) // Abstract interface for tables
39};
40
41#endif
#define ClassDefOverride(name, id)
Definition Rtypes.h:341
char name[80]
Definition TGX11.cxx:110
A space to attach TBranches.
RooPlotable is a 'mix-in' base class that define the standard RooFit plotting and printing methods.
RooTable is the abstract interface for table objects.
Definition RooTable.h:23
RooTable()
Definition RooTable.h:27
~RooTable() override
Destructor.
Definition RooTable.cxx:60
virtual bool isIdentical(const RooTable &other, bool verbose)=0
virtual void fill(RooAbsCategory &cat, double weight=1.0)=0
The TNamed class is the base class for all named ROOT classes.
Definition TNamed.h:29