RooFracRemainder.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002  * Project: RooFit                                                           *
00003  * Package: RooFitCore                                                       *
00004  *    File: $Id: RooFracRemainder.h 24278 2008-06-15 15:21:16Z wouter $
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_FRAC_REMAINDER
00017 #define ROO_FRAC_REMAINDER
00018 
00019 #include "RooAbsReal.h"
00020 #include "RooListProxy.h"
00021 
00022 class RooRealVar;
00023 class RooArgList ;
00024 
00025 class RooFracRemainder : public RooAbsReal {
00026 public:
00027 
00028   RooFracRemainder() ;
00029   RooFracRemainder(const char *name, const char *title, const RooArgSet& sumSet) ;
00030   virtual ~RooFracRemainder() ;
00031 
00032   RooFracRemainder(const RooFracRemainder& other, const char* name = 0);
00033   virtual TObject* clone(const char* newname) const { return new RooFracRemainder(*this, newname); }
00034 
00035 protected:
00036 
00037   RooListProxy _set1 ;            // Set of input fractions
00038   mutable TIterator* _setIter1 ;  //! Iterator over set of input fractions
00039 
00040   Double_t evaluate() const;
00041 
00042   ClassDef(RooFracRemainder,1) // Utility function calculating remainder fraction, i.e. 1-sum_i(a_i)
00043 };
00044 
00045 #endif

Generated on Tue Jul 5 14:26:10 2011 for ROOT_528-00b_version by  doxygen 1.5.1