Logo ROOT   6.10/09
Reference Guide
RooPullVar.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Project: RooFit *
3  * Package: RooFitCore *
4  * File: $Id: RooPullVar.h,v 1.3 2007/05/11 09:11:30 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_PULL_VAR
17 #define ROO_PULL_VAR
18 
19 #include "RooAbsReal.h"
20 #include "RooRealProxy.h"
21 
22 class RooRealVar;
23 class RooAbsReal ;
24 
25 class RooPullVar : public RooAbsReal {
26 public:
27 
28  RooPullVar() ;
29  RooPullVar(const char *name, const char *title, RooRealVar& measurement, RooAbsReal& truth) ;
30  virtual ~RooPullVar() ;
31 
32  RooPullVar(const RooPullVar& other, const char* name = 0);
33  virtual TObject* clone(const char* newname) const { return new RooPullVar(*this, newname); }
34 
35 
36 protected:
37 
40 
41  Double_t evaluate() const;
42 
43  ClassDef(RooPullVar,1) // Calculation of pull of measurement w.r.t a truth value
44 };
45 
46 #endif
Class RooPullVar represents the pull of measurement w.r.t to true value using the measurement value a...
Definition: RooPullVar.h:25
virtual ~RooPullVar()
Destructor.
Definition: RooPullVar.cxx:84
#define ClassDef(name, id)
Definition: Rtypes.h:297
RooRealVar represents a fundamental (non-derived) real valued object.
Definition: RooRealVar.h:36
RooPullVar()
Default constructor.
Definition: RooPullVar.cxx:48
RooRealProxy _meas
Definition: RooPullVar.h:38
double Double_t
Definition: RtypesCore.h:55
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Definition: RooAbsReal.h:53
Mother of all ROOT objects.
Definition: TObject.h:37
Double_t evaluate() const
Calculate pull.
Definition: RooPullVar.cxx:95
virtual TObject * clone(const char *newname) const
Definition: RooPullVar.h:33
RooRealProxy is the concrete proxy for RooAbsReal objects A RooRealProxy is the general mechanism to ...
Definition: RooRealProxy.h:23
RooRealProxy _true
Definition: RooPullVar.h:39