RooUnblindCPAsymVar.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002  * Project: RooFit                                                           *
00003  * Package: RooFitModels                                                     *
00004  *    File: $Id: RooUnblindCPAsymVar.h,v 1.15 2007/05/11 10:15:52 verkerke Exp $
00005  * Authors:                                                                  *
00006  *   WV, Wouter Verkerke, UC Santa Barbara, verkerke@slac.stanford.edu       *
00007  *   DK, David Kirkby,    UC Irvine,         dkirkby@uci.edu                 *
00008  *                                                                           *
00009  * Copyright (c) 2000-2005, Regents of the University of California          *
00010  *                          and Stanford University. All rights reserved.    *
00011  *                                                                           *
00012  * Redistribution and use in source and binary forms,                        *
00013  * with or without modification, are permitted according to the terms        *
00014  * listed in LICENSE (http://roofit.sourceforge.net/license.txt)             *
00015  *****************************************************************************/
00016 #ifndef ROO_UNBLIND_CPASYM_VAR
00017 #define ROO_UNBLIND_CPASYM_VAR
00018 
00019 #include "RooAbsHiddenReal.h"
00020 #include "RooAbsCategory.h"
00021 #include "RooRealProxy.h"
00022 #include "RooCategoryProxy.h"
00023 #include "RooBlindTools.h"
00024 
00025 class RooCategory ;
00026 
00027 class RooUnblindCPAsymVar : public RooAbsHiddenReal {
00028 public:
00029   // Constructors, assignment etc
00030   RooUnblindCPAsymVar() ;
00031   RooUnblindCPAsymVar(const char *name, const char *title, 
00032                         const char *blindString, RooAbsReal& cpasym);
00033   RooUnblindCPAsymVar(const char *name, const char *title, 
00034                       const char *blindString, RooAbsReal& cpasym, RooAbsCategory& blindState);
00035   RooUnblindCPAsymVar(const RooUnblindCPAsymVar& other, const char* name=0);
00036   virtual TObject* clone(const char* newname) const { return new RooUnblindCPAsymVar(*this,newname); }  
00037   virtual ~RooUnblindCPAsymVar();
00038 
00039 protected:
00040 
00041   // Function evaluation
00042   virtual Double_t evaluate() const ;
00043 
00044   RooRealProxy _asym ;
00045   RooBlindTools _blindEngine ;
00046 
00047   ClassDef(RooUnblindCPAsymVar,1) // CP-Asymmetry unblinding transformation
00048 };
00049 
00050 #endif

Generated on Tue Jul 5 14:26:28 2011 for ROOT_528-00b_version by  doxygen 1.5.1