00001 /***************************************************************************** 00002 * Project: RooFit * 00003 * Package: RooFitModels * 00004 * File: $Id: RooNovosibirsk.h,v 1.7 2007/07/12 20:30:49 wouter Exp $ 00005 * Authors: * 00006 * DB, Dieter Best, UC Irvine, best@slac.stanford.edu * 00007 * HT, Hirohisa Tanaka SLAC tanaka@slac.stanford.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_NOVOSIBIRSK 00017 #define ROO_NOVOSIBIRSK 00018 00019 #include "RooAbsPdf.h" 00020 #include "RooRealProxy.h" 00021 00022 class RooRealVar; 00023 class RooAbsReal; 00024 00025 class RooNovosibirsk : public RooAbsPdf { 00026 public: 00027 // Your constructor needs a name and title and then a list of the 00028 // dependent variables and parameters used by this PDF. Use an 00029 // underscore in the variable names to distinguish them from your 00030 // own local versions. 00031 RooNovosibirsk() {} ; 00032 RooNovosibirsk(const char *name, const char *title, 00033 RooAbsReal& _x, RooAbsReal& _peak, 00034 RooAbsReal& _width, RooAbsReal& _tail); 00035 00036 RooNovosibirsk(const RooNovosibirsk& other,const char* name=0) ; 00037 00038 virtual TObject* clone(const char* newname) const { return new RooNovosibirsk(*this,newname); } 00039 00040 // An empty constructor is usually ok 00041 inline virtual ~RooNovosibirsk() { } 00042 00043 protected: 00044 RooRealProxy x; 00045 RooRealProxy width; 00046 RooRealProxy peak; 00047 RooRealProxy tail; 00048 Double_t evaluate() const; 00049 00050 private: 00051 ClassDef(RooNovosibirsk,1) // Novosibirsk PDF 00052 }; 00053 00054 #endif