Warning, file /include/root/RooBDecay.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018 #ifndef ROO_BDECAY
0019 #define ROO_BDECAY
0020
0021 #include "RooAbsAnaConvPdf.h"
0022 #include "RooRealProxy.h"
0023
0024 class RooBDecay : public RooAbsAnaConvPdf
0025 {
0026
0027 public:
0028
0029 enum DecayType { SingleSided, DoubleSided, Flipped };
0030
0031
0032 inline RooBDecay() { }
0033 RooBDecay(const char *name, const char *title, RooRealVar& t,
0034 RooAbsReal& tau, RooAbsReal& dgamma,
0035 RooAbsReal& f0,
0036 RooAbsReal& f1, RooAbsReal& f2,
0037 RooAbsReal& f3, RooAbsReal& dm,
0038 const RooResolutionModel& model,
0039 DecayType type);
0040 RooBDecay(const RooBDecay& other, const char* name=nullptr);
0041 TObject* clone(const char* newname) const override
0042 {
0043 return new RooBDecay(*this,newname);
0044 }
0045
0046 double coefficient(Int_t basisIndex) const override;
0047 RooFit::OwningPtr<RooArgSet> coefVars(Int_t coefIdx) const override ;
0048
0049 Int_t getCoefAnalyticalIntegral(Int_t coef, RooArgSet& allVars, RooArgSet& analVars, const char* rangeName=nullptr) const override ;
0050 double coefAnalyticalIntegral(Int_t coef, Int_t code, const char* rangeName=nullptr) const override ;
0051
0052 Int_t getGenerator(const RooArgSet& directVars, RooArgSet &generateVars, bool staticInitOK=true) const override;
0053 void generateEvent(Int_t code) override;
0054
0055 protected:
0056
0057 RooRealProxy _t;
0058 RooRealProxy _tau;
0059 RooRealProxy _dgamma;
0060 RooRealProxy _f0;
0061 RooRealProxy _f1;
0062 RooRealProxy _f2;
0063 RooRealProxy _f3;
0064 RooRealProxy _dm;
0065 Int_t _basisCosh;
0066 Int_t _basisSinh;
0067 Int_t _basisCos;
0068 Int_t _basisSin;
0069 Int_t _basisB;
0070 DecayType _type;
0071
0072 ClassDefOverride(RooBDecay, 1)
0073 };
0074
0075 #endif