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 virtual ~RooAbsLValue() = default;
31
32 virtual void setBin(Int_t ibin, const char* rangeName=nullptr) = 0 ;
33 virtual Int_t getBin(const char* rangeName=nullptr) const = 0 ;
34 virtual Int_t numBins(const char* rangeName=nullptr) const = 0 ;
35 virtual double getBinWidth(Int_t i, const char* rangeName=nullptr) const = 0 ;
36 virtual double volume(const char* rangeName) const = 0 ;
37 virtual void randomize(const char* rangeName=nullptr) = 0 ;
38
39 virtual const RooAbsBinning* getBinningPtr(const char* rangeName) const = 0 ;
40 virtual std::list<std::string> getBinningNames() const = 0;
41 virtual Int_t getBin(const RooAbsBinning*) const = 0 ;
42
43protected:
44
45 ClassDef(RooAbsLValue,1) // Abstract variable
46};
47
48#endif
#define ClassDef(name, id)
Definition Rtypes.h:342
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()=default
virtual void setBin(Int_t ibin, const char *rangeName=nullptr)=0
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