RooThreshold.hh

Go to the documentation of this file.
00001 /*****************************************************************************
00002  * Project: BaBar detector at the SLAC PEP-II B-factory
00003  * Package: RooRarFit
00004  *    File: $Id: RooThreshold.rdl,v 1.1 2012/04/02 14:47:56 fwilson Exp $
00005  * Authors: Fergus Wilson
00006  * History:
00007  *
00008  * Copyright (C) 2005-2012, RAL
00009  *****************************************************************************/
00010 #ifndef ROO_THRESHOLD
00011 #define ROO_THRESHOLD
00012 
00013 #include "RooFitCore/RooAbsPdf.hh"
00014 #include "RooFitCore/RooRealProxy.hh"
00015 #include "RooFitCore/RooListProxy.hh"
00016 
00017 class RooRealVar;
00018 class RooArgList;
00019 
00020 class RooThreshold : public RooAbsPdf {
00021 
00022 public:
00023   RooThreshold(const char *name, const char *title,
00024                RooAbsReal& _x, RooAbsReal& _m0, 
00025                RooAbsReal& _power, const RooArgList& _coeffs);
00026 
00027   RooThreshold(const RooThreshold& other, 
00028                     const char* name=0) ;
00029   virtual TObject* clone(const char* newname) const { 
00030     return new RooThreshold(*this,newname); 
00031   }
00032   inline virtual ~RooThreshold() { }
00033 
00034 protected:
00035 
00036   RooRealProxy x ;     // 
00037   RooRealProxy m0 ;  // threshold value
00038   RooRealProxy power ;  // power
00039   RooListProxy coeffs ; // 
00040  
00041   Double_t evaluate() const ;
00042 
00043 private:
00044  
00045   ClassDef(RooThreshold,0) // Threshold PDF 
00046 };
00047 
00048 #endif

Generated on 30 Oct 2013 for RooRarFit by  doxygen 1.4.7