Logo ROOT  
Reference Guide
RooBDecay.h
Go to the documentation of this file.
1 /*****************************************************************************
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  *****************************************************************************/
17 
18 #ifndef ROO_BDECAY
19 #define ROO_BDECAY
20 
21 #include "RooAbsAnaConvPdf.h"
22 #include "RooRealProxy.h"
23 
25 {
26 
27 public:
28 
30 
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,
36  RooAbsReal& f1, RooAbsReal& f2,
37  RooAbsReal& f3, RooAbsReal& dm,
39  DecayType type);
40  RooBDecay(const RooBDecay& other, const char* name=0);
41  virtual TObject* clone(const char* newname) const
42  {
43  return new RooBDecay(*this,newname);
44  }
45  virtual ~RooBDecay();
46 
47  virtual Double_t coefficient(Int_t basisIndex) const;
48  RooArgSet* coefVars(Int_t coefIdx) const ;
49 
50  Int_t getCoefAnalyticalIntegral(Int_t coef, RooArgSet& allVars, RooArgSet& analVars, const char* rangeName=0) const ;
51  Double_t coefAnalyticalIntegral(Int_t coef, Int_t code, const char* rangeName=0) const ;
52 
53  Int_t getGenerator(const RooArgSet& directVars, RooArgSet &generateVars, Bool_t staticInitOK=kTRUE) const;
54  void generateEvent(Int_t code);
55 
56 protected:
57 
70  Int_t _basisB;
72 
73  ClassDef(RooBDecay, 1) // P.d.f of general description of B decay time distribution
74  };
75 
76 #endif
RooBDecay::_tau
RooRealProxy _tau
Definition: RooBDecay.h:74
kTRUE
const Bool_t kTRUE
Definition: RtypesCore.h:91
RooBDecay::RooBDecay
RooBDecay()
Definition: RooBDecay.h:47
RooBDecay::~RooBDecay
virtual ~RooBDecay()
Destructor.
Definition: RooBDecay.cxx:107
RooBDecay::_basisCosh
Int_t _basisCosh
Definition: RooBDecay.h:81
RooBDecay::_dm
RooRealProxy _dm
Definition: RooBDecay.h:80
RooAbsReal
Definition: RooAbsReal.h:61
RooBDecay::_basisB
Int_t _basisB
Definition: RooBDecay.h:85
RooBDecay::_f1
RooRealProxy _f1
Definition: RooBDecay.h:77
RooBDecay::_type
DecayType _type
Definition: RooBDecay.h:86
bool
RooBDecay::clone
virtual TObject * clone(const char *newname) const
Definition: RooBDecay.h:56
RooBDecay::coefAnalyticalIntegral
Double_t coefAnalyticalIntegral(Int_t coef, Int_t code, const char *rangeName=0) const
Default implementation of function implementing advertised integrals.
Definition: RooBDecay.cxx:185
RooBDecay::coefficient
virtual Double_t coefficient(Int_t basisIndex) const
Definition: RooBDecay.cxx:113
RooResolutionModel
Definition: RooResolutionModel.h:26
RooBDecay::_f3
RooRealProxy _f3
Definition: RooBDecay.h:79
RooBDecay
Definition: RooBDecay.h:24
RooAbsAnaConvPdf.h
RooBDecay::Flipped
@ Flipped
Definition: RooBDecay.h:59
RooRealProxy.h
RooBDecay::coefVars
RooArgSet * coefVars(Int_t coefIdx) const
Return set of parameters with are used exclusively by the coefficient functions.
Definition: RooBDecay.cxx:137
RooBDecay::getGenerator
Int_t getGenerator(const RooArgSet &directVars, RooArgSet &generateVars, Bool_t staticInitOK=kTRUE) const
Load generatedVars with the subset of directVars that we can generate events for, and return a code t...
Definition: RooBDecay.cxx:209
RooBDecay::DecayType
DecayType
Definition: RooBDecay.h:44
RooBDecay::getCoefAnalyticalIntegral
Int_t getCoefAnalyticalIntegral(Int_t coef, RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=0) const
Default implementation of function advertising integration capabilities.
Definition: RooBDecay.cxx:161
RooBDecay::SingleSided
@ SingleSided
Definition: RooBDecay.h:59
RooBDecay::_basisSin
Int_t _basisSin
Definition: RooBDecay.h:84
RooTemplateProxy< RooAbsReal >
f1
TF1 * f1
Definition: legend1.C:11
Double_t
double Double_t
Definition: RtypesCore.h:59
RooBDecay::generateEvent
void generateEvent(Int_t code)
Interface for generation of an event using the algorithm corresponding to the specified code.
Definition: RooBDecay.cxx:217
TObject
Definition: TObject.h:37
ClassDef
#define ClassDef(name, id)
Definition: Rtypes.h:325
name
char name[80]
Definition: TGX11.cxx:110
RooBDecay::DoubleSided
@ DoubleSided
Definition: RooBDecay.h:59
RooBDecay::_basisSinh
Int_t _basisSinh
Definition: RooBDecay.h:82
make_cnn_model.model
model
Definition: make_cnn_model.py:6
RooBDecay::_f2
RooRealProxy _f2
Definition: RooBDecay.h:78
type
int type
Definition: TGX11.cxx:121
RooRealVar
Definition: RooRealVar.h:36
RooBDecay::_t
RooRealProxy _t
Definition: RooBDecay.h:73
RooBDecay::_f0
RooRealProxy _f0
Definition: RooBDecay.h:76
RooBDecay::_basisCos
Int_t _basisCos
Definition: RooBDecay.h:83
RooAbsAnaConvPdf
Definition: RooAbsAnaConvPdf.h:34
RooArgSet
Definition: RooArgSet.h:28
int
RooBDecay::_dgamma
RooRealProxy _dgamma
Definition: RooBDecay.h:75