Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:11:19

0001 /*****************************************************************************
0002  * Project: RooFit                                                           *
0003  * Package: RooFitModels                                                     *
0004  *    File: $Id: RooBukinPdf.h,v 1.5 2007/07/12 20:30:49 wouter Exp $
0005  * Authors:                                                                  *
0006  *   RW, Ruddick William  UC Colorado        wor@slac.stanford.edu           *
0007  *                                                                           *
0008  * Copyright (c) 2000-2005, Regents of the University of California          *
0009  *                          and Stanford University. All rights reserved.    *
0010  *                                                                           *
0011  * Redistribution and use in source and binary forms,                        *
0012  * with or without modification, are permitted according to the terms        *
0013  * listed in LICENSE (http://roofit.sourceforge.net/license.txt)             *
0014  *****************************************************************************/
0015 
0016 
0017 // -- CLASS DESCRIPTION [PDF] --
0018 // RooBukinPdf implements the NovosibirskA function
0019 
0020 #ifndef ROO_BUKINPDF
0021 #define ROO_BUKINPDF
0022 
0023 #include "RooAbsPdf.h"
0024 #include "RooRealProxy.h"
0025 
0026 class RooRealVar;
0027 class RooAbsReal;
0028 
0029 class RooBukinPdf : public RooAbsPdf {
0030 public:
0031 
0032   RooBukinPdf() {} ;
0033   RooBukinPdf(const char *name, const char *title,
0034          RooAbsReal& _x, RooAbsReal& _Xp,
0035          RooAbsReal& _sigp, RooAbsReal& _xi,
0036               RooAbsReal& _rho1, RooAbsReal& _rho2);
0037 
0038   RooBukinPdf(const RooBukinPdf& other,const char* name=nullptr) ;
0039 
0040   TObject* clone(const char* newname) const override { return new RooBukinPdf(*this,newname);   }
0041 
0042 protected:
0043   RooRealProxy x;
0044   RooRealProxy Xp;
0045   RooRealProxy sigp;
0046   RooRealProxy xi;
0047   RooRealProxy rho1;
0048   RooRealProxy rho2;
0049   double evaluate() const override;
0050   void doEval(RooFit::EvalContext &) const override;
0051   inline bool canComputeBatchWithCuda() const override { return true; }
0052 
0053 private:
0054 
0055   ClassDefOverride(RooBukinPdf,2) // Variation of Novosibirsk PDF
0056 };
0057 
0058 #endif