Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:33:22

0001 /*****************************************************************************
0002  * Project: RooFit                                                           *
0003  *                                                                           *
0004  * Copyright (c) 2000-2007, Regents of the University of California          *
0005  *                          and Stanford University. All rights reserved.    *
0006  *                                                                           *
0007  * Redistribution and use in source and binary forms,                        *
0008  * with or without modification, are permitted according to the terms        *
0009  * listed in LICENSE (http://roofit.sourceforge.net/license.txt)             *
0010  *****************************************************************************/
0011 
0012 #ifndef ROOPOWLAW
0013 #define ROOPOWLAW
0014 
0015 #include "RooAbsPdf.h"
0016 #include "RooRealProxy.h"
0017 #include "RooCategoryProxy.h"
0018 #include "RooAbsReal.h"
0019 #include "RooAbsCategory.h"
0020 #include "TMath.h"
0021  
0022 class RooPowLaw : public RooAbsPdf {
0023 public:
0024   RooPowLaw() {} ; 
0025   RooPowLaw(const char *name, const char *title,
0026           RooAbsReal& _m,
0027           RooAbsReal& _alpha
0028 );
0029   RooPowLaw(const RooPowLaw& other, const char* name=0) ;
0030   virtual TObject* clone(const char* newname) const { return new RooPowLaw(*this,newname); }
0031   inline virtual ~RooPowLaw() { }
0032 
0033 protected:
0034 
0035   RooRealProxy m ;
0036   RooRealProxy  alpha ;
0037   
0038   Double_t evaluate() const ;
0039 
0040 private:
0041 
0042   ClassDef(RooPowLaw,1) // Your description goes here...
0043 };
0044  
0045 #endif