Logo ROOT   6.08/07
Reference Guide
RooUnblindPrecision.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Project: RooFit *
3  * Package: RooFitModels *
4  * File: $Id: RooUnblindPrecision.h,v 1.7 2007/05/11 10:15:52 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_UNBLIND_PRECISION
17 #define ROO_UNBLIND_PRECISION
18 
19 #include "RooAbsHiddenReal.h"
20 #include "RooRealProxy.h"
21 #include "RooCategoryProxy.h"
22 #include "RooBlindTools.h"
23 
24 class RooCategory ;
25 
27 public:
28  // Constructors, assignment etc
30  RooUnblindPrecision(const char *name, const char *title,
31  const char *blindString, Double_t centralValue, Double_t scale, RooAbsReal& blindValue, Bool_t sin2betaMode=kFALSE);
32  RooUnblindPrecision(const char *name, const char *title,
33  const char *blindString, Double_t centralValue, Double_t scale,
34  RooAbsReal& blindValue, RooAbsCategory& blindState, Bool_t sin2betaMode=kFALSE);
35  RooUnblindPrecision(const RooUnblindPrecision& other, const char* name=0);
36  virtual TObject* clone(const char* newname) const { return new RooUnblindPrecision(*this,newname); }
37  virtual ~RooUnblindPrecision();
38 
39 protected:
40 
41  // Function evaluation
42  virtual Double_t evaluate() const ;
43 
44  RooRealProxy _value ; // Holder of the blind value
45  RooBlindTools _blindEngine ; // Blinding engine
46 
47  ClassDef(RooUnblindPrecision,1) // Precision unblinding transformation
48 };
49 
50 #endif
virtual Double_t evaluate() const
Evaluate RooBlindTools unhide-precision method on blind value.
bool Bool_t
Definition: RtypesCore.h:59
const Bool_t kFALSE
Definition: Rtypes.h:92
RooUnblindPrecision()
Default constructor.
#define ClassDef(name, id)
Definition: Rtypes.h:254
RooBlindTools _blindEngine
virtual ~RooUnblindPrecision()
Destructor.
Implementation of BlindTools' precision blinding method A RooUnblindPrecision object is a real valued...
virtual TObject * clone(const char *newname) const
RooCategory represents a fundamental (non-derived) discrete value object.
Definition: RooCategory.h:25
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
RooAbsHiddenReal is a base class for objects that want to hide their return value from interactive us...
RooAbsCategory is the common abstract base class for objects that represent a discrete value with a f...
RooRealProxy is the concrete proxy for RooAbsReal objects A RooRealProxy is the general mechanism to ...
Definition: RooRealProxy.h:23
char name[80]
Definition: TGX11.cxx:109