Logo ROOT   6.14/05
Reference Guide
RooBCPGenDecay.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Project: RooFit *
3  * Package: RooFitModels *
4  * File: $Id: RooBCPGenDecay.h,v 1.13 2007/05/11 09:13:07 verkerke Exp $
5  * Authors: *
6  * JS, Jim Smith , University of Colorado, jgsmith@pizero.colorado.edu *
7  * *
8  * Copyright (c) 2000-2005, Regents of the University of California, *
9  * University of Colorado *
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_BCPGEN_DECAY
17 #define ROO_BCPGEN_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 RooBCPGenDecay() { }
30  RooBCPGenDecay(const char *name, const char *title,
31  RooRealVar& t, RooAbsCategory& tag,
33  RooAbsReal& avgMistag,
35  RooAbsReal& delMistag,
36  RooAbsReal& mu,
38 
39  RooBCPGenDecay(const RooBCPGenDecay& other, const char* name=0);
40  virtual TObject* clone(const char* newname) const { return new RooBCPGenDecay(*this,newname) ; }
41  virtual ~RooBCPGenDecay();
42 
43  virtual Double_t coefficient(Int_t basisIndex) const ;
44 
45  virtual Int_t getCoefAnalyticalIntegral(Int_t coef, RooArgSet& allVars, RooArgSet& analVars, const char* rangeName=0) const ;
46  virtual Double_t coefAnalyticalIntegral(Int_t coef, Int_t code, const char* rangeName=0) const ;
47 
48  Int_t getGenerator(const RooArgSet& directVars, RooArgSet &generateVars, Bool_t staticInitOK=kTRUE) const;
49  void initGenerator(Int_t code) ;
50  void generateEvent(Int_t code) ;
51 
52 protected:
53 
64 
69 
70  ClassDef(RooBCPGenDecay,1) // B decay time distribution with CP violation
71 };
72 
73 #endif
RooRealProxy _mu
Implement standard CP physics model with S and C (no mention of lambda) Suitably stolen and modified ...
RooRealProxy _avgC
RooRealProxy _dm
virtual ~RooBCPGenDecay()
Destructor.
int Int_t
Definition: RtypesCore.h:41
bool Bool_t
Definition: RtypesCore.h:59
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...
virtual Double_t coefficient(Int_t basisIndex) const
B0 : _tag = +1 B0bar : _tag = -1.
Double_t _genB0Frac
#define ClassDef(name, id)
Definition: Rtypes.h:320
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t tau
Definition: TRolke.cxx:630
RooRealProxy _tau
RooCategoryProxy _tag
DecayType _type
RooRealProxy _delMistag
RooRealVar represents a fundamental (non-derived) real valued object.
Definition: RooRealVar.h:36
virtual TObject * clone(const char *newname) const
auto * a
Definition: textangle.C:12
void initGenerator(Int_t code)
Interface for one-time initialization to setup the generator for the specified code.
double Double_t
Definition: RtypesCore.h:55
RooRealProxy _avgMistag
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Definition: RooAbsReal.h:53
RooCategoryProxy is the proxy implementation for RooAbsCategory objects A RooCategoryProxy is the gen...
void generateEvent(Int_t code)
Generate mix-state dependent.
int type
Definition: TGX11.cxx:120
Mother of all ROOT objects.
Definition: TObject.h:37
RooAbsCategory is the common abstract base class for objects that represent a discrete value with a f...
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b
Definition: TRolke.cxx:630
virtual Double_t coefAnalyticalIntegral(Int_t coef, Int_t code, const char *rangeName=0) const
Default implementation of function implementing advertised integrals.
RooRealProxy is the concrete proxy for RooAbsReal objects A RooRealProxy is the general mechanism to ...
Definition: RooRealProxy.h:23
RooRealProxy _t
const Bool_t kTRUE
Definition: RtypesCore.h:87
virtual Int_t getCoefAnalyticalIntegral(Int_t coef, RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=0) const
Default implementation of function advertising integration capabilities.
char name[80]
Definition: TGX11.cxx:109
RooRealProxy _avgS