Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/root/RooUnblindUniform.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*****************************************************************************
0002  * Project: RooFit                                                           *
0003  * Package: RooFitModels                                                     *
0004  *    File: $Id: RooUnblindUniform.h,v 1.5 2007/05/11 10:15:52 verkerke Exp $
0005  * Authors:                                                                  *
0006  *   WV, Wouter Verkerke, UC Santa Barbara, verkerke@slac.stanford.edu       *
0007  *   DK, David Kirkby,    UC Irvine,         dkirkby@uci.edu                 *
0008  *                                                                           *
0009  * Copyright (c) 2000-2005, Regents of the University of California          *
0010  *                          and Stanford University. All rights reserved.    *
0011  *                                                                           *
0012  * Redistribution and use in source and binary forms,                        *
0013  * with or without modification, are permitted according to the terms        *
0014  * listed in LICENSE (http://roofit.sourceforge.net/license.txt)             *
0015  *****************************************************************************/
0016 #ifndef ROO_UNBLIND_UNIFORM
0017 #define ROO_UNBLIND_UNIFORM
0018 
0019 #include "RooAbsHiddenReal.h"
0020 #include "RooRealProxy.h"
0021 #include "RooBlindTools.h"
0022 
0023 class RooUnblindUniform : public RooAbsHiddenReal {
0024 public:
0025   // Constructors, assignment etc
0026   RooUnblindUniform() = default;
0027   RooUnblindUniform(const char *name, const char *title,
0028             const char *blindString, double scale, RooAbsReal& blindValue);
0029   RooUnblindUniform(const RooUnblindUniform& other, const char* name=nullptr);
0030   TObject* clone(const char* newname) const override { return new RooUnblindUniform(*this,newname); }
0031 
0032 protected:
0033 
0034   // Function evaluation
0035   double evaluate() const override ;
0036 
0037   RooRealProxy _value ;
0038   RooBlindTools _blindEngine ;
0039 
0040   ClassDefOverride(RooUnblindUniform,1) // Uniform unblinding transformation
0041 };
0042 
0043 #endif