Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooUnblindOffset.h
Go to the documentation of this file.
1/*****************************************************************************
2 * Project: RooFit *
3 * Package: RooFitModels *
4 * File: $Id: RooUnblindOffset.h,v 1.6 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_OFFSET
17#define ROO_UNBLIND_OFFSET
18
19#include "RooAbsHiddenReal.h"
20#include "RooRealProxy.h"
21#include "RooBlindTools.h"
22
24public:
25 // Constructors, assignment etc
27 RooUnblindOffset(const char *name, const char *title,
28 const char *blindString, double scale, RooAbsReal& blindValue);
29 RooUnblindOffset(const char *name, const char *title,
30 const char *blindString, double scale, RooAbsReal& blindValue,
31 RooAbsCategory& blindState);
32 RooUnblindOffset(const RooUnblindOffset& other, const char* name=nullptr);
33 TObject* clone(const char* newname) const override { return new RooUnblindOffset(*this,newname); }
34 ~RooUnblindOffset() override;
35
36protected:
37
38 // Function evaluation
39 double evaluate() const override ;
40
43
44 ClassDefOverride(RooUnblindOffset,1) // Offset unblinding transformation
45};
46
47#endif
#define ClassDefOverride(name, id)
Definition Rtypes.h:341
char name[80]
Definition TGX11.cxx:110
A space to attach TBranches.
RooAbsHiddenReal is a base class for objects that want to hide their return value from interactive us...
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Definition RooAbsReal.h:62
Implementation of BlindTools' offset blinding method A RooUnblindOffset object is a real valued funct...
RooBlindTools _blindEngine
~RooUnblindOffset() override
Destructor.
RooRealProxy _value
RooUnblindOffset()
Default constructor.
double evaluate() const override
Evaluate RooBlindTools unhide-offset method on blind value.
TObject * clone(const char *newname) const override
Mother of all ROOT objects.
Definition TObject.h:41