Logo ROOT  
Reference Guide
Go to the documentation of this file.
2 * Project: RooFit *
3 * Package: RooFitModels *
4 * File: $Id: RooBDecay.h,v 1.7 2007/05/11 09:13:07 verkerke Exp $
5 * Authors: *
6 * PL, Parker C Lund, UC Irvine *
7 * DK, David Kirkby, UC Irvine, dkirkby@uci.edu *
8 * WV, Wouter Verkerke, UC Santa Barbara, verkerke@slac.stanford.edu *
9 * *
10 * Copyright (c) 2000-2005, Regents of the University of California *
11 * and Stanford University. All rights reserved. *
12 * *
13 * Redistribution and use in source and binary forms, *
14 * with or without modification, are permitted according to the terms *
15 * listed in LICENSE (http://roofit.sourceforge.net/license.txt) *
16 *****************************************************************************/
18#ifndef ROO_BDECAY
19#define ROO_BDECAY
21#include "RooAbsAnaConvPdf.h"
22#include "RooRealProxy.h"
31 //Constructors, assignment etc
32 inline RooBDecay() { }
33 RooBDecay(const char *name, const char *title, RooRealVar& t,
34 RooAbsReal& tau, RooAbsReal& dgamma,
35 RooAbsReal& f0,
37 RooAbsReal& f3, RooAbsReal& dm,
38 const RooResolutionModel& model,
40 RooBDecay(const RooBDecay& other, const char* name=nullptr);
41 TObject* clone(const char* newname) const override
42 {
43 return new RooBDecay(*this,newname);
44 }
45 ~RooBDecay() override;
47 double coefficient(Int_t basisIndex) const override;
48 RooArgSet* coefVars(Int_t coefIdx) const override ;
50 Int_t getCoefAnalyticalIntegral(Int_t coef, RooArgSet& allVars, RooArgSet& analVars, const char* rangeName=nullptr) const override ;
51 double coefAnalyticalIntegral(Int_t coef, Int_t code, const char* rangeName=nullptr) const override ;
53 Int_t getGenerator(const RooArgSet& directVars, RooArgSet &generateVars, bool staticInitOK=true) const override;
54 void generateEvent(Int_t code) override;
73 ClassDefOverride(RooBDecay, 1) // P.d.f of general description of B decay time distribution
74 };
#define ClassDefOverride(name, id)
Definition: Rtypes.h:339
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
char name[80]
Definition: TGX11.cxx:110
RooAbsAnaConvPdf is the base class for PDFs that represent a physics model that can be analytically c...
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Definition: RooAbsReal.h:60
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Definition: RooArgSet.h:56
Most general description of B decay time distribution with effects of CP violation,...
Definition: RooBDecay.h:25
Int_t getGenerator(const RooArgSet &directVars, RooArgSet &generateVars, bool staticInitOK=true) const override
Load generatedVars with the subset of directVars that we can generate events for, and return a code t...
Definition: RooBDecay.cxx:207
double coefAnalyticalIntegral(Int_t coef, Int_t code, const char *rangeName=nullptr) const override
Default implementation of function implementing advertised integrals.
Definition: RooBDecay.cxx:183
RooArgSet * coefVars(Int_t coefIdx) const override
Return set of parameters with are used exclusively by the coefficient functions.
Definition: RooBDecay.cxx:135
RooRealProxy _t
Definition: RooBDecay.h:58
RooRealProxy _f2
Definition: RooBDecay.h:63
Int_t _basisCosh
Definition: RooBDecay.h:66
DecayType _type
Definition: RooBDecay.h:71
Int_t _basisSin
Definition: RooBDecay.h:69
RooRealProxy _tau
Definition: RooBDecay.h:59
void generateEvent(Int_t code) override
Interface for generation of an event using the algorithm corresponding to the specified code.
Definition: RooBDecay.cxx:215
Definition: RooBDecay.h:32
RooRealProxy _f0
Definition: RooBDecay.h:61
@ DoubleSided
Definition: RooBDecay.h:29
@ SingleSided
Definition: RooBDecay.h:29
double coefficient(Int_t basisIndex) const override
Definition: RooBDecay.cxx:111
RooRealProxy _dgamma
Definition: RooBDecay.h:60
RooRealProxy _f3
Definition: RooBDecay.h:64
Int_t getCoefAnalyticalIntegral(Int_t coef, RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=nullptr) const override
Default implementation of function advertising integration capabilities.
Definition: RooBDecay.cxx:159
Int_t _basisSinh
Definition: RooBDecay.h:67
RooRealProxy _dm
Definition: RooBDecay.h:65
TObject * clone(const char *newname) const override
Definition: RooBDecay.h:41
~RooBDecay() override
Definition: RooBDecay.cxx:105
Int_t _basisCos
Definition: RooBDecay.h:68
RooRealProxy _f1
Definition: RooBDecay.h:62
Int_t _basisB
Definition: RooBDecay.h:70
RooRealVar represents a variable that can be changed from the outside.
Definition: RooRealVar.h:40
RooResolutionModel is the base class for PDFs that represent a resolution model that can be convolute...
Mother of all ROOT objects.
Definition: TObject.h:41
TF1 * f1
Definition: legend1.C:11