00001 /***************************************************************************** 00002 * Project: RooFit * 00003 * Package: RooFitCore * 00004 * File: $Id: RooAbsLValue.h,v 1.12 2007/05/11 09:11:30 verkerke Exp $ 00005 * Authors: * 00006 * WV, Wouter Verkerke, UC Santa Barbara, verkerke@slac.stanford.edu * 00007 * DK, David Kirkby, UC Irvine, dkirkby@uci.edu * 00008 * * 00009 * Copyright (c) 2000-2005, Regents of the University of California * 00010 * and Stanford University. All rights reserved. * 00011 * * 00012 * Redistribution and use in source and binary forms, * 00013 * with or without modification, are permitted according to the terms * 00014 * listed in LICENSE (http://roofit.sourceforge.net/license.txt) * 00015 *****************************************************************************/ 00016 #ifndef ROO_ABS_LVALUE 00017 #define ROO_ABS_LVALUE 00018 00019 #include "Riosfwd.h" 00020 #include "Rtypes.h" 00021 00022 class RooAbsBinning ; 00023 00024 class RooAbsLValue { 00025 public: 00026 00027 // Constructors, cloning and assignment 00028 RooAbsLValue() ; 00029 virtual ~RooAbsLValue(); 00030 00031 virtual void setBin(Int_t ibin, const char* rangeName=0) = 0 ; 00032 virtual Int_t getBin(const char* rangeName=0) const = 0 ; 00033 virtual Int_t numBins(const char* rangeName=0) const = 0 ; 00034 virtual Double_t getBinWidth(Int_t i, const char* rangeName=0) const = 0 ; 00035 virtual Double_t volume(const char* rangeName) const = 0 ; 00036 virtual void randomize(const char* rangeName=0) = 0 ; 00037 00038 virtual const RooAbsBinning* getBinningPtr(const char* rangeName) const = 0 ; 00039 virtual Int_t getBin(const RooAbsBinning*) const = 0 ; 00040 00041 protected: 00042 00043 ClassDef(RooAbsLValue,1) // Abstract variable 00044 }; 00045 00046 #endif