Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/root/RooAbsLValue.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*****************************************************************************
0002  * Project: RooFit                                                           *
0003  * Package: RooFitCore                                                       *
0004  *    File: $Id: RooAbsLValue.h,v 1.12 2007/05/11 09:11:30 verkerke Exp $
0005  * Authors:                                                                  *
0006  *   WV, Wouter Verkerke, UC Santa Barbara, verkerke@slac.stanford.edu       *
0007  *   DK, David Kirkby,    UC Irvine,         dkirkby@uci.edu                 *
0008  *                                                                           *
0009  * Copyright (c) 2000-2005, Regents of the University of California          *
0010  *                          and Stanford University. All rights reserved.    *
0011  *                                                                           *
0012  * Redistribution and use in source and binary forms,                        *
0013  * with or without modification, are permitted according to the terms        *
0014  * listed in LICENSE (http://roofit.sourceforge.net/license.txt)             *
0015  *****************************************************************************/
0016 #ifndef ROO_ABS_LVALUE
0017 #define ROO_ABS_LVALUE
0018 
0019 #include <list>
0020 #include <string>
0021 
0022 #include "Rtypes.h"
0023 
0024 class RooAbsBinning ;
0025 
0026 class RooAbsLValue {
0027 public:
0028 
0029   // Constructors, cloning and assignment
0030   virtual ~RooAbsLValue() = default;
0031 
0032   virtual void setBin(Int_t ibin, const char* rangeName=nullptr) = 0 ;
0033   virtual Int_t getBin(const char* rangeName=nullptr) const = 0 ;
0034   virtual Int_t numBins(const char* rangeName=nullptr) const = 0 ;
0035   virtual double getBinWidth(Int_t i, const char* rangeName=nullptr) const = 0 ;
0036   virtual double volume(const char* rangeName) const = 0 ;
0037   virtual void randomize(const char* rangeName=nullptr) = 0 ;
0038 
0039   virtual const RooAbsBinning* getBinningPtr(const char* rangeName) const = 0 ;
0040   virtual std::list<std::string> getBinningNames() const = 0;
0041   virtual Int_t getBin(const RooAbsBinning*) const = 0 ;
0042 
0043 protected:
0044 
0045   ClassDef(RooAbsLValue,1) // Abstract variable
0046 };
0047 
0048 #endif