Logo ROOT  
Reference Guide
RooUnblindCPAsymVar.h
Go to the documentation of this file.
1/*****************************************************************************
2 * Project: RooFit *
3 * Package: RooFitModels *
4 * File: $Id: RooUnblindCPAsymVar.h,v 1.15 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_CPASYM_VAR
17#define ROO_UNBLIND_CPASYM_VAR
18
19#include "RooAbsHiddenReal.h"
20#include "RooAbsCategory.h"
21#include "RooRealProxy.h"
22#include "RooCategoryProxy.h"
23#include "RooBlindTools.h"
24
25class RooCategory;
26
28public:
29 // Constructors, assignment etc
31 RooUnblindCPAsymVar(const char *name, const char *title,
32 const char *blindString, RooAbsReal& cpasym);
33 RooUnblindCPAsymVar(const char *name, const char *title,
34 const char *blindString, RooAbsReal& cpasym, RooAbsCategory& blindState);
35 RooUnblindCPAsymVar(const RooUnblindCPAsymVar& other, const char* name=0);
36 virtual TObject* clone(const char* newname) const { return new RooUnblindCPAsymVar(*this,newname); }
37 virtual ~RooUnblindCPAsymVar();
38
39protected:
40
41 // Function evaluation
42 virtual Double_t evaluate() const ;
43
46
47 ClassDef(RooUnblindCPAsymVar,1) // CP-Asymmetry unblinding transformation
48};
49
50#endif
double Double_t
Definition: RtypesCore.h:57
#define ClassDef(name, id)
Definition: Rtypes.h:322
char name[80]
Definition: TGX11.cxx:109
RooAbsCategory is the base class for objects that represent a discrete value with a finite number of ...
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:60
RooCategory is an object to represent discrete states.
Definition: RooCategory.h:23
Implementation of BlindTools' CP asymmetry blinding method A RooUnblindCPAsymVar object is a real val...
RooBlindTools _blindEngine
virtual TObject * clone(const char *newname) const
virtual Double_t evaluate() const
Evaluate this PDF / function / constant. Needs to be overridden by all derived classes.
RooUnblindCPAsymVar()
Default constructor.
virtual ~RooUnblindCPAsymVar()
Copy constructor.
Mother of all ROOT objects.
Definition: TObject.h:37