ROOT
v6-24
Reference Guide
Loading...
Searching...
No Matches
RooDstD0BG.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* Project: RooFit *
3
* Package: RooFitModels *
4
* File: $Id: RooDstD0BG.h,v 1.12 2007/07/12 20:30:49 wouter Exp $
5
* Authors: *
6
* UE, Ulrik Egede, RAL, U.Egede@rl.ac.uk *
7
* MT, Max Turri, UC Santa Cruz turri@slac.stanford.edu *
8
* CC, Chih-hsiang Cheng, Stanford chcheng@slac.stanford.edu *
9
* DK, David Kirkby, UC Irvine, dkirkby@uci.edu *
10
* *
11
* Copyright (c) 2000-2005, Regents of the University of California *
12
* RAL and Stanford University. All rights reserved.*
13
* *
14
* Redistribution and use in source and binary forms, *
15
* with or without modification, are permitted according to the terms *
16
* listed in LICENSE (http://roofit.sourceforge.net/license.txt) *
17
*****************************************************************************/
18
#ifndef ROO_DstD0_BG
19
#define ROO_DstD0_BG
20
21
#include "
RooAbsPdf.h
"
22
#include "
RooRealProxy.h
"
23
24
class
RooRealVar
;
25
26
class
RooDstD0BG
:
public
RooAbsPdf
{
27
public
:
28
RooDstD0BG
() {} ;
29
RooDstD0BG
(
const
char
*
name
,
const
char
*title,
30
RooAbsReal
& _dm,
RooAbsReal
& _dm0,
RooAbsReal
& _c,
31
RooAbsReal
& _a,
RooAbsReal
& _b);
32
33
RooDstD0BG
(
const
RooDstD0BG
& other,
const
char
*
name
=0) ;
34
virtual
TObject
*
clone
(
const
char
*newname)
const
{
35
return
new
RooDstD0BG
(*
this
,newname); }
36
inline
virtual
~RooDstD0BG
() { };
37
38
Int_t
getAnalyticalIntegral
(
RooArgSet
& allVars,
RooArgSet
& analVars,
const
char
* rangeName=0)
const
;
39
Double_t
analyticalIntegral
(
Int_t
code,
const
char
* rangeName=0)
const
;
40
41
protected
:
42
43
RooRealProxy
dm
;
44
RooRealProxy
dm0
;
45
RooRealProxy
C
,
A
,
B
;
46
47
Double_t
evaluate
()
const
;
48
RooSpan<double>
evaluateSpan
(
RooBatchCompute::RunContext
& evalData,
const
RooArgSet
* normSet)
const
;
49
50
private
:
51
52
ClassDef
(
RooDstD0BG
,1)
// D*-D0 mass difference background PDF
53
};
54
55
#endif
RooAbsPdf.h
RooRealProxy.h
Double_t
double Double_t
Definition
RtypesCore.h:59
ClassDef
#define ClassDef(name, id)
Definition
Rtypes.h:325
name
char name[80]
Definition
TGX11.cxx:110
RooAbsPdf
Definition
RooAbsPdf.h:43
RooAbsReal
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Definition
RooAbsReal.h:61
RooArgSet
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Definition
RooArgSet.h:29
RooDstD0BG
Special p.d.f shape that can be used to model the background of D*-D0 mass difference distributions.
Definition
RooDstD0BG.h:26
RooDstD0BG::B
RooRealProxy B
Definition
RooDstD0BG.h:45
RooDstD0BG::dm
RooRealProxy dm
Definition
RooDstD0BG.h:43
RooDstD0BG::A
RooRealProxy A
Definition
RooDstD0BG.h:45
RooDstD0BG::analyticalIntegral
Double_t analyticalIntegral(Int_t code, const char *rangeName=0) const
Implements the actual analytical integral(s) advertised by getAnalyticalIntegral.
Definition
RooDstD0BG.cxx:99
RooDstD0BG::dm0
RooRealProxy dm0
Definition
RooDstD0BG.h:44
RooDstD0BG::~RooDstD0BG
virtual ~RooDstD0BG()
Definition
RooDstD0BG.h:36
RooDstD0BG::RooDstD0BG
RooDstD0BG()
Definition
RooDstD0BG.h:28
RooDstD0BG::C
RooRealProxy C
Definition
RooDstD0BG.h:45
RooDstD0BG::clone
virtual TObject * clone(const char *newname) const
Definition
RooDstD0BG.h:34
RooDstD0BG::getAnalyticalIntegral
Int_t getAnalyticalIntegral(RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=0) const
if (matchArgs(allVars,analVars,dm)) return 1 ;
Definition
RooDstD0BG.cxx:92
RooDstD0BG::evaluate
Double_t evaluate() const
Evaluate this PDF / function / constant. Needs to be overridden by all derived classes.
Definition
RooDstD0BG.cxx:72
RooDstD0BG::evaluateSpan
RooSpan< double > evaluateSpan(RooBatchCompute::RunContext &evalData, const RooArgSet *normSet) const
Compute multiple values of D*-D0 mass difference distribution.
Definition
RooDstD0BG.cxx:84
RooRealVar
RooRealVar represents a variable that can be changed from the outside.
Definition
RooRealVar.h:39
RooSpan
A simple container to hold a batch of data values.
Definition
RooSpan.h:34
RooTemplateProxy< RooAbsReal >
TObject
Mother of all ROOT objects.
Definition
TObject.h:37
int
RooBatchCompute::RunContext
This struct enables passing computation data around between elements of a computation graph.
Definition
RunContext.h:31
roofit
roofit
inc
RooDstD0BG.h
ROOT v6-24 - Reference Guide Generated on Tue Aug 22 2023 03:06:45 (GVA Time) using Doxygen 1.9.8