ROOT logo
/*****************************************************************************
 * Project: RooFit                                                           *
 * Package: RooFitCore                                                       *
 *    File: $Id: RooPullVar.h,v 1.3 2007/05/11 09:11:30 verkerke Exp $
 * Authors:                                                                  *
 *   WV, Wouter Verkerke, UC Santa Barbara, verkerke@slac.stanford.edu       *
 *   DK, David Kirkby,    UC Irvine,         dkirkby@uci.edu                 *
 *                                                                           *
 * Copyright (c) 2000-2005, Regents of the University of California          *
 *                          and Stanford University. All rights reserved.    *
 *                                                                           *
 * Redistribution and use in source and binary forms,                        *
 * with or without modification, are permitted according to the terms        *
 * listed in LICENSE (http://roofit.sourceforge.net/license.txt)             *
 *****************************************************************************/
#ifndef ROO_PULL_VAR
#define ROO_PULL_VAR

#include "RooAbsReal.h"
#include "RooRealProxy.h"

class RooRealVar;
class RooAbsReal ;

class RooPullVar : public RooAbsReal {
public:

  RooPullVar() ;
  RooPullVar(const char *name, const char *title, RooRealVar& measurement, RooAbsReal& truth) ;
  virtual ~RooPullVar() ;

  RooPullVar(const RooPullVar& other, const char* name = 0);
  virtual TObject* clone(const char* newname) const { return new RooPullVar(*this, newname); }


protected:

  RooRealProxy _meas ;
  RooRealProxy _true ;

  Double_t evaluate() const;

  ClassDef(RooPullVar,1) // Calculation of pull of measurement w.r.t a truth value
};

#endif
 RooPullVar.h:1
 RooPullVar.h:2
 RooPullVar.h:3
 RooPullVar.h:4
 RooPullVar.h:5
 RooPullVar.h:6
 RooPullVar.h:7
 RooPullVar.h:8
 RooPullVar.h:9
 RooPullVar.h:10
 RooPullVar.h:11
 RooPullVar.h:12
 RooPullVar.h:13
 RooPullVar.h:14
 RooPullVar.h:15
 RooPullVar.h:16
 RooPullVar.h:17
 RooPullVar.h:18
 RooPullVar.h:19
 RooPullVar.h:20
 RooPullVar.h:21
 RooPullVar.h:22
 RooPullVar.h:23
 RooPullVar.h:24
 RooPullVar.h:25
 RooPullVar.h:26
 RooPullVar.h:27
 RooPullVar.h:28
 RooPullVar.h:29
 RooPullVar.h:30
 RooPullVar.h:31
 RooPullVar.h:32
 RooPullVar.h:33
 RooPullVar.h:34
 RooPullVar.h:35
 RooPullVar.h:36
 RooPullVar.h:37
 RooPullVar.h:38
 RooPullVar.h:39
 RooPullVar.h:40
 RooPullVar.h:41
 RooPullVar.h:42
 RooPullVar.h:43
 RooPullVar.h:44
 RooPullVar.h:45
 RooPullVar.h:46