Logo ROOT  
Reference Guide
RooBMixDecay.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Project: RooFit *
3  * Package: RooFitModels *
4  * File: $Id: RooBMixDecay.h,v 1.14 2007/05/11 09:13:07 verkerke Exp $
5  * Authors: *
6  * WV, Wouter Verkerke, UC Santa Barbara, verkerke@slac.stanford.edu *
7  * DK, David Kirkby, UC Irvine, dkirkby@uci.edu *
8  * *
9  * Copyright (c) 2000-2005, Regents of the University of California *
10  * and Stanford University. All rights reserved. *
11  * *
12  * Redistribution and use in source and binary forms, *
13  * with or without modification, are permitted according to the terms *
14  * listed in LICENSE (http://roofit.sourceforge.net/license.txt) *
15  *****************************************************************************/
16 #ifndef ROO_BMIX_DECAY
17 #define ROO_BMIX_DECAY
18 
19 #include "RooAbsAnaConvPdf.h"
20 #include "RooRealProxy.h"
21 #include "RooCategoryProxy.h"
22 
24 public:
25 
27 
28  // Constructors, assignment etc
29  inline RooBMixDecay() { }
30  RooBMixDecay(const char *name, const char *title,
31  RooRealVar& t, RooAbsCategory& mixState, RooAbsCategory& tagFlav,
32  RooAbsReal& tau, RooAbsReal& dm,
33  RooAbsReal& mistag, RooAbsReal& delMistag, const RooResolutionModel& model,
35 
36  RooBMixDecay(const RooBMixDecay& other, const char* name=0);
37  virtual TObject* clone(const char* newname) const { return new RooBMixDecay(*this,newname) ; }
38  virtual ~RooBMixDecay();
39 
40  virtual Double_t coefficient(Int_t basisIndex) const ;
41 
42  virtual Int_t getCoefAnalyticalIntegral(Int_t coef, RooArgSet& allVars, RooArgSet& analVars, const char* rangeName=0) const ;
43  virtual Double_t coefAnalyticalIntegral(Int_t coef, Int_t code, const char* rangeName=0) const ;
44 
45  Int_t getGenerator(const RooArgSet& directVars, RooArgSet &generateVars, Bool_t staticInitOK=kTRUE) const;
46  void initGenerator(Int_t code) ;
47  void generateEvent(Int_t code);
48 
49 protected:
50 
61 
62  Double_t _genMixFrac ; //! do not persist
66 
67  ClassDef(RooBMixDecay,1) // B Mixing decay PDF
68 };
69 
70 #endif
RooBMixDecay::_genFlavFracUnmix
Double_t _genFlavFracUnmix
Definition: RooBMixDecay.h:79
kTRUE
const Bool_t kTRUE
Definition: RtypesCore.h:91
RooBMixDecay::_mistag
RooRealProxy _mistag
Definition: RooBMixDecay.h:66
RooBMixDecay::coefficient
virtual Double_t coefficient(Int_t basisIndex) const
Comp with tFit MC: must be (1 - tagFlav*...)
Definition: RooBMixDecay.cxx:106
RooBMixDecay::clone
virtual TObject * clone(const char *newname) const
Definition: RooBMixDecay.h:51
RooBMixDecay
Definition: RooBMixDecay.h:23
RooBMixDecay::Flipped
@ Flipped
Definition: RooBMixDecay.h:54
RooBMixDecay::_type
DecayType _type
Definition: RooBMixDecay.h:65
RooBMixDecay::_dm
RooRealProxy _dm
Definition: RooBMixDecay.h:71
RooAbsReal
Definition: RooAbsReal.h:61
RooBMixDecay::_genFlavFrac
Double_t _genFlavFrac
do not persist
Definition: RooBMixDecay.h:77
RooBMixDecay::~RooBMixDecay
virtual ~RooBMixDecay()
Destructor.
Definition: RooBMixDecay.cxx:99
bool
RooBMixDecay::_tau
RooRealProxy _tau
Definition: RooBMixDecay.h:70
RooBMixDecay::RooBMixDecay
RooBMixDecay()
Definition: RooBMixDecay.h:43
RooAbsCategory
Definition: RooAbsCategory.h:38
RooBMixDecay::_mixState
RooCategoryProxy _mixState
Definition: RooBMixDecay.h:68
RooResolutionModel
Definition: RooResolutionModel.h:26
RooBMixDecay::_t
RooRealProxy _t
Definition: RooBMixDecay.h:72
RooAbsAnaConvPdf.h
RooBMixDecay::_delMistag
RooRealProxy _delMistag
Definition: RooBMixDecay.h:67
RooBMixDecay::_genFlavFracMix
Double_t _genFlavFracMix
Definition: RooBMixDecay.h:78
RooRealProxy.h
RooBMixDecay::getCoefAnalyticalIntegral
virtual Int_t getCoefAnalyticalIntegral(Int_t coef, RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=0) const
cout << "RooBMixDecay::getCoefAI " ; allVars.Print("1") ;
Definition: RooBMixDecay.cxx:122
RooBMixDecay::coefAnalyticalIntegral
virtual Double_t coefAnalyticalIntegral(Int_t coef, Int_t code, const char *rangeName=0) const
Default implementation of function implementing advertised integrals.
Definition: RooBMixDecay.cxx:136
RooBMixDecay::initGenerator
void initGenerator(Int_t code)
Interface for one-time initialization to setup the generator for the specified code.
Definition: RooBMixDecay.cxx:195
RooCategoryProxy.h
RooBMixDecay::_basisCos
Int_t _basisCos
Definition: RooBMixDecay.h:74
RooTemplateProxy< RooAbsReal >
Double_t
double Double_t
Definition: RtypesCore.h:59
RooBMixDecay::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: RooBMixDecay.cxx:181
RooBMixDecay::SingleSided
@ SingleSided
Definition: RooBMixDecay.h:54
RooBMixDecay::DoubleSided
@ DoubleSided
Definition: RooBMixDecay.h:54
RooBMixDecay::DecayType
DecayType
Definition: RooBMixDecay.h:40
TObject
Definition: TObject.h:37
ClassDef
#define ClassDef(name, id)
Definition: Rtypes.h:325
RooBMixDecay::generateEvent
void generateEvent(Int_t code)
Generate mix-state dependent.
Definition: RooBMixDecay.cxx:240
name
char name[80]
Definition: TGX11.cxx:110
RooBMixDecay::_basisExp
Int_t _basisExp
Definition: RooBMixDecay.h:73
RooBMixDecay::_genMixFrac
Double_t _genMixFrac
Definition: RooBMixDecay.h:76
make_cnn_model.model
model
Definition: make_cnn_model.py:6
type
int type
Definition: TGX11.cxx:121
RooRealVar
Definition: RooRealVar.h:36
RooAbsAnaConvPdf
Definition: RooAbsAnaConvPdf.h:34
RooArgSet
Definition: RooArgSet.h:28
RooBMixDecay::_tagFlav
RooCategoryProxy _tagFlav
Definition: RooBMixDecay.h:69
int