Logo ROOT   6.14/05
Reference Guide
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 
24 class RooAbsBinning ;
25 
26 class RooAbsLValue {
27 public:
28 
29  // Constructors, cloning and assignment
30  RooAbsLValue() ;
31  virtual ~RooAbsLValue();
32 
33  virtual void setBin(Int_t ibin, const char* rangeName=0) = 0 ;
34  virtual Int_t getBin(const char* rangeName=0) const = 0 ;
35  virtual Int_t numBins(const char* rangeName=0) const = 0 ;
36  virtual Double_t getBinWidth(Int_t i, const char* rangeName=0) const = 0 ;
37  virtual Double_t volume(const char* rangeName) const = 0 ;
38  virtual void randomize(const char* rangeName=0) = 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 
44 protected:
45 
46  ClassDef(RooAbsLValue,1) // Abstract variable
47 };
48 
49 #endif
virtual Double_t getBinWidth(Int_t i, const char *rangeName=0) const =0
int Int_t
Definition: RtypesCore.h:41
#define ClassDef(name, id)
Definition: Rtypes.h:320
virtual const RooAbsBinning * getBinningPtr(const char *rangeName) const =0
virtual std::list< std::string > getBinningNames() const =0
virtual void setBin(Int_t ibin, const char *rangeName=0)=0
virtual Int_t getBin(const char *rangeName=0) const =0
RooAbsLValue()
Constructor.
virtual void randomize(const char *rangeName=0)=0
RooAbsBinning is the abstract base class for RooRealVar binning definitions This class defines the in...
Definition: RooAbsBinning.h:26
double Double_t
Definition: RtypesCore.h:55
Abstract base class for objects that are lvalues, i.e.
Definition: RooAbsLValue.h:26
virtual Double_t volume(const char *rangeName) const =0
virtual ~RooAbsLValue()
Destructor.
virtual Int_t numBins(const char *rangeName=0) const =0