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
24public:
25
27
28 // Constructors, assignment etc
29 inline RooBCPEffDecay() { }
30 RooBCPEffDecay(const char *name, const char *title,
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
51protected:
52
64
69
70 ClassDef(RooBCPEffDecay,1) // B Mixing decay PDF
71};
72
73#endif
#define b(i)
Definition: RSha256.hxx:100
int Int_t
Definition: RtypesCore.h:45
bool Bool_t
Definition: RtypesCore.h:63
double Double_t
Definition: RtypesCore.h:59
const Bool_t kTRUE
Definition: RtypesCore.h:100
#define ClassDef(name, id)
Definition: Rtypes.h:325
char name[80]
Definition: TGX11.cxx:110
int type
Definition: TGX11.cxx:121
RooAbsAnaConvPdf is the base class for PDFs that represent a physics model that can be analytically c...
RooAbsCategory is the base class for objects that represent a discrete value with a finite number of ...
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Definition: RooAbsReal.h:61
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Definition: RooArgSet.h:35
PDF describing decay time distribution of B meson including effects of standard model CP violation.
RooRealProxy _effRatio
DecayType _type
Double_t _genB0Frac
virtual Double_t coefAnalyticalIntegral(Int_t coef, Int_t code, const char *rangeName=0) const
Default implementation of function implementing advertised integrals.
RooRealProxy _t
RooRealProxy _avgMistag
virtual Double_t coefficient(Int_t basisIndex) const
B0 : _tag = +1.
virtual Int_t getCoefAnalyticalIntegral(Int_t coef, RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=0) const
Default implementation of function advertising integration capabilities.
RooRealProxy _delMistag
void initGenerator(Int_t code)
Interface for one-time initialization to setup the generator for the specified code.
virtual TObject * clone(const char *newname) const
RooRealProxy _dm
RooRealProxy _absLambda
void generateEvent(Int_t code)
Generates mix-state dependent.
RooRealProxy _argLambda
virtual ~RooBCPEffDecay()
Destructor.
RooCategoryProxy _tag
RooRealProxy _CPeigenval
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...
RooRealProxy _tau
RooRealVar represents a variable that can be changed from the outside.
Definition: RooRealVar.h:39
RooResolutionModel is the base class for PDFs that represent a resolution model that can be convolute...
Mother of all ROOT objects.
Definition: TObject.h:37
auto * a
Definition: textangle.C:12