Logo ROOT  
Reference Guide
RooBCPEffDecay.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Project: RooFit *
3  * Package: RooFitModels *
4  * File: $Id: RooBCPEffDecay.h,v 1.13 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_BCP_EFF_DECAY
17 #define ROO_BCP_EFF_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 RooBCPEffDecay() { }
30  RooBCPEffDecay(const char *name, const char *title,
31  RooRealVar& t, RooAbsCategory& tag,
32  RooAbsReal& tau, RooAbsReal& dm,
33  RooAbsReal& avgMistag, RooAbsReal& CPeigenval,
35  RooAbsReal& effRatio, RooAbsReal& delMistag,
37 
38  RooBCPEffDecay(const RooBCPEffDecay& other, const char* name=0);
39  virtual TObject* clone(const char* newname) const { return new RooBCPEffDecay(*this,newname) ; }
40  virtual ~RooBCPEffDecay();
41 
42  virtual Double_t coefficient(Int_t basisIndex) const ;
43 
44  virtual Int_t getCoefAnalyticalIntegral(Int_t coef, RooArgSet& allVars, RooArgSet& analVars, const char* rangeName=0) const ;
45  virtual Double_t coefAnalyticalIntegral(Int_t coef, Int_t code, const char* rangeName=0) const ;
46 
47  Int_t getGenerator(const RooArgSet& directVars, RooArgSet &generateVars, Bool_t staticInitOK=kTRUE) const;
48  void initGenerator(Int_t code) ;
49  void generateEvent(Int_t code) ;
50 
51 protected:
52 
64 
69 
70  ClassDef(RooBCPEffDecay,1) // B Mixing decay PDF
71 };
72 
73 #endif
RooBCPEffDecay::_avgMistag
RooRealProxy _avgMistag
Definition: RooBCPEffDecay.h:71
RooBCPEffDecay::Flipped
@ Flipped
Definition: RooBCPEffDecay.h:54
kTRUE
const Bool_t kTRUE
Definition: RtypesCore.h:91
RooBCPEffDecay::clone
virtual TObject * clone(const char *newname) const
Definition: RooBCPEffDecay.h:53
RooBCPEffDecay::RooBCPEffDecay
RooBCPEffDecay()
Definition: RooBCPEffDecay.h:43
RooBCPEffDecay::_tag
RooCategoryProxy _tag
Definition: RooBCPEffDecay.h:76
RooBCPEffDecay::initGenerator
void initGenerator(Int_t code)
Interface for one-time initialization to setup the generator for the specified code.
Definition: RooBCPEffDecay.cxx:188
RooBCPEffDecay::_basisExp
Int_t _basisExp
Definition: RooBCPEffDecay.h:80
RooBCPEffDecay::coefficient
virtual Double_t coefficient(Int_t basisIndex) const
B0 : _tag = +1.
Definition: RooBCPEffDecay.cxx:116
RooBCPEffDecay::generateEvent
void generateEvent(Int_t code)
Generates mix-state dependent.
Definition: RooBCPEffDecay.cxx:203
RooBCPEffDecay::_type
DecayType _type
Definition: RooBCPEffDecay.h:79
RooBCPEffDecay::_effRatio
RooRealProxy _effRatio
Definition: RooBCPEffDecay.h:69
RooAbsReal
Definition: RooAbsReal.h:61
RooBCPEffDecay::_argLambda
RooRealProxy _argLambda
Definition: RooBCPEffDecay.h:68
RooBCPEffDecay::_t
RooRealProxy _t
Definition: RooBCPEffDecay.h:73
b
#define b(i)
Definition: RSha256.hxx:118
bool
RooAbsCategory
Definition: RooAbsCategory.h:38
RooBCPEffDecay::_tau
RooRealProxy _tau
Definition: RooBCPEffDecay.h:74
RooResolutionModel
Definition: RooResolutionModel.h:26
RooBCPEffDecay::getCoefAnalyticalIntegral
virtual Int_t getCoefAnalyticalIntegral(Int_t coef, RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=0) const
Default implementation of function advertising integration capabilities.
Definition: RooBCPEffDecay.cxx:141
RooBCPEffDecay::DoubleSided
@ DoubleSided
Definition: RooBCPEffDecay.h:54
RooBCPEffDecay::_CPeigenval
RooRealProxy _CPeigenval
Definition: RooBCPEffDecay.h:70
RooAbsAnaConvPdf.h
a
auto * a
Definition: textangle.C:12
RooRealProxy.h
RooBCPEffDecay::~RooBCPEffDecay
virtual ~RooBCPEffDecay()
Destructor.
Definition: RooBCPEffDecay.cxx:106
RooBCPEffDecay::_basisSin
Int_t _basisSin
Definition: RooBCPEffDecay.h:81
RooCategoryProxy.h
RooBCPEffDecay::_basisCos
Int_t _basisCos
Definition: RooBCPEffDecay.h:82
RooTemplateProxy< RooAbsReal >
Double_t
double Double_t
Definition: RtypesCore.h:59
RooBCPEffDecay
Definition: RooBCPEffDecay.h:23
RooBCPEffDecay::SingleSided
@ SingleSided
Definition: RooBCPEffDecay.h:54
RooBCPEffDecay::_dm
RooRealProxy _dm
Definition: RooBCPEffDecay.h:75
TObject
Definition: TObject.h:37
ClassDef
#define ClassDef(name, id)
Definition: Rtypes.h:325
name
char name[80]
Definition: TGX11.cxx:110
RooBCPEffDecay::_delMistag
RooRealProxy _delMistag
Definition: RooBCPEffDecay.h:72
RooBCPEffDecay::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: RooBCPEffDecay.cxx:177
make_cnn_model.model
model
Definition: make_cnn_model.py:6
RooBCPEffDecay::_genB0Frac
Double_t _genB0Frac
Definition: RooBCPEffDecay.h:77
type
int type
Definition: TGX11.cxx:121
RooRealVar
Definition: RooRealVar.h:36
RooBCPEffDecay::coefAnalyticalIntegral
virtual Double_t coefAnalyticalIntegral(Int_t coef, Int_t code, const char *rangeName=0) const
Default implementation of function implementing advertised integrals.
Definition: RooBCPEffDecay.cxx:151
RooAbsAnaConvPdf
Definition: RooAbsAnaConvPdf.h:34
RooBCPEffDecay::DecayType
DecayType
Definition: RooBCPEffDecay.h:40
RooArgSet
Definition: RooArgSet.h:28
int
RooBCPEffDecay::_absLambda
RooRealProxy _absLambda
Definition: RooBCPEffDecay.h:67