Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooAbsLValue.h
Go to the documentation of this file.
1/*****************************************************************************
2 * Project: RooFit *
3 * Package: RooFitCore *
4 * File: $Id: RooAbsLValue.h,v 1.12 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_ABS_LVALUE
17#define ROO_ABS_LVALUE
18
19#include <list>
20#include <string>
21
22#include "Rtypes.h"
23
24class RooAbsBinning ;
25
27public:
28
29 // Constructors, cloning and assignment
30 RooAbsLValue() ;
31 virtual ~RooAbsLValue();
32
33 virtual void setBin(Int_t ibin, const char* rangeName=nullptr) = 0 ;
34 virtual Int_t getBin(const char* rangeName=nullptr) const = 0 ;
35 virtual Int_t numBins(const char* rangeName=nullptr) const = 0 ;
36 virtual double getBinWidth(Int_t i, const char* rangeName=nullptr) const = 0 ;
37 virtual double volume(const char* rangeName) const = 0 ;
38 virtual void randomize(const char* rangeName=nullptr) = 0 ;
39
40 virtual const RooAbsBinning* getBinningPtr(const char* rangeName) const = 0 ;
41 virtual std::list<std::string> getBinningNames() const = 0;
42 virtual Int_t getBin(const RooAbsBinning*) const = 0 ;
43
44protected:
45
46 ClassDef(RooAbsLValue,1) // Abstract variable
47};
48
49#endif
#define ClassDef(name, id)
Definition Rtypes.h:337
RooAbsBinning is the abstract base class for RooRealVar binning definitions.
Abstract base class for objects that are lvalues, i.e.
virtual Int_t getBin(const char *rangeName=nullptr) const =0
virtual Int_t getBin(const RooAbsBinning *) const =0
virtual std::list< std::string > getBinningNames() const =0
virtual const RooAbsBinning * getBinningPtr(const char *rangeName) const =0
virtual Int_t numBins(const char *rangeName=nullptr) const =0
virtual ~RooAbsLValue()
Destructor.
virtual void setBin(Int_t ibin, const char *rangeName=nullptr)=0
RooAbsLValue()
Constructor.
virtual void randomize(const char *rangeName=nullptr)=0
virtual double getBinWidth(Int_t i, const char *rangeName=nullptr) const =0
virtual double volume(const char *rangeName) const =0