Back to home page

EIC code displayed by LXR

 
 

    


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

0001 /*
0002  * Project: RooFit
0003  *
0004  * Copyright (c) 2023, CERN
0005  *
0006  * Redistribution and use in source and binary forms,
0007  * with or without modification, are permitted according to the terms
0008  * listed in LICENSE (http://roofit.sourceforge.net/license.txt)
0009  */
0010 
0011 #ifndef ROOEXTENDEDBINDING
0012 #define ROOEXTENDEDBINDING
0013 
0014 #include "RooAbsReal.h"
0015 #include "RooRealProxy.h"
0016 #include "RooCategoryProxy.h"
0017 #include "RooAbsPdf.h"
0018 #include "RooAbsCategory.h"
0019 
0020 class RooExtendedBinding : public RooAbsReal {
0021 public:
0022   RooExtendedBinding() {} ;
0023   RooExtendedBinding(const char *name, const char *title, RooAbsPdf& _pdf);
0024   RooExtendedBinding(const RooExtendedBinding& other, const char* name=nullptr) ;
0025   TObject* clone(const char* newname) const override { return new RooExtendedBinding(*this,newname); }
0026 
0027 protected:
0028 
0029   RooRealProxy pdf ;
0030 
0031   double evaluate() const override ;
0032 
0033 private:
0034 
0035   ClassDefOverride(RooExtendedBinding,1);
0036 };
0037 
0038 #endif