/*****************************************************************************
 * Project: RooFit                                                           *
 * Package: RooFitModels                                                     *
 *    File: $Id: RooNovosibirsk.h,v 1.7 2007/07/12 20:30:49 wouter Exp $
 * Authors:                                                                  *
 *   DB, Dieter Best,     UC Irvine,         best@slac.stanford.edu          *
 *   HT, Hirohisa Tanaka  SLAC               tanaka@slac.stanford.edu        *
 *                                                                           *
 * Copyright (c) 2000-2005, Regents of the University of California          *
 *                          and Stanford University. All rights reserved.    *
 *                                                                           *
 * Redistribution and use in source and binary forms,                        *
 * with or without modification, are permitted according to the terms        *
 * listed in LICENSE (http://roofit.sourceforge.net/license.txt)             *
 *****************************************************************************/
#ifndef ROO_NOVOSIBIRSK
#define ROO_NOVOSIBIRSK

#include "RooAbsPdf.h"
#include "RooRealProxy.h"

class RooRealVar;
class RooAbsReal;

class RooNovosibirsk : public RooAbsPdf {
public:
  // Your constructor needs a name and title and then a list of the
  // dependent variables and parameters used by this PDF. Use an
  // underscore in the variable names to distinguish them from your
  // own local versions.
  RooNovosibirsk() {} ;
  RooNovosibirsk(const char *name, const char *title,
		 RooAbsReal& _x,     RooAbsReal& _peak,
		 RooAbsReal& _width, RooAbsReal& _tail);

  RooNovosibirsk(const RooNovosibirsk& other,const char* name=0) ;	

  virtual TObject* clone(const char* newname) const { return new RooNovosibirsk(*this,newname);	}

  Int_t getAnalyticalIntegral(RooArgSet& allVars, RooArgSet& analVars, const char* rangeName=0) const ;
  Double_t analyticalIntegral(Int_t code, const char* rangeName=0) const ;

  // An empty constructor is usually ok
  inline virtual ~RooNovosibirsk() { }

protected:
  RooRealProxy x;
  RooRealProxy width;
  RooRealProxy peak;
  RooRealProxy tail;
  Double_t evaluate() const;

private:
  ClassDef(RooNovosibirsk,1) // Novosibirsk PDF
};

#endif
 RooNovosibirsk.h:1
 RooNovosibirsk.h:2
 RooNovosibirsk.h:3
 RooNovosibirsk.h:4
 RooNovosibirsk.h:5
 RooNovosibirsk.h:6
 RooNovosibirsk.h:7
 RooNovosibirsk.h:8
 RooNovosibirsk.h:9
 RooNovosibirsk.h:10
 RooNovosibirsk.h:11
 RooNovosibirsk.h:12
 RooNovosibirsk.h:13
 RooNovosibirsk.h:14
 RooNovosibirsk.h:15
 RooNovosibirsk.h:16
 RooNovosibirsk.h:17
 RooNovosibirsk.h:18
 RooNovosibirsk.h:19
 RooNovosibirsk.h:20
 RooNovosibirsk.h:21
 RooNovosibirsk.h:22
 RooNovosibirsk.h:23
 RooNovosibirsk.h:24
 RooNovosibirsk.h:25
 RooNovosibirsk.h:26
 RooNovosibirsk.h:27
 RooNovosibirsk.h:28
 RooNovosibirsk.h:29
 RooNovosibirsk.h:30
 RooNovosibirsk.h:31
 RooNovosibirsk.h:32
 RooNovosibirsk.h:33
 RooNovosibirsk.h:34
 RooNovosibirsk.h:35
 RooNovosibirsk.h:36
 RooNovosibirsk.h:37
 RooNovosibirsk.h:38
 RooNovosibirsk.h:39
 RooNovosibirsk.h:40
 RooNovosibirsk.h:41
 RooNovosibirsk.h:42
 RooNovosibirsk.h:43
 RooNovosibirsk.h:44
 RooNovosibirsk.h:45
 RooNovosibirsk.h:46
 RooNovosibirsk.h:47
 RooNovosibirsk.h:48
 RooNovosibirsk.h:49
 RooNovosibirsk.h:50
 RooNovosibirsk.h:51
 RooNovosibirsk.h:52
 RooNovosibirsk.h:53
 RooNovosibirsk.h:54
 RooNovosibirsk.h:55
 RooNovosibirsk.h:56
 RooNovosibirsk.h:57