Revision 716fb731a3c8c9b583235feddac21006994d9626 authored by Kyle Cranmer on 03 August 2011, 22:09:36 UTC, committed by Kyle Cranmer on 03 August 2011, 22:09:36 UTC
git-svn-id: http://root.cern.ch/svn/root/branches/v5-30-00-patches@40446 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent 0db9ccb
RooAbsProxy.h
/*****************************************************************************
* Project: RooFit *
* Package: RooFitCore *
* File: $Id: RooAbsProxy.h,v 1.15 2007/07/12 20:30:28 wouter Exp $
* Authors: *
* WV, Wouter Verkerke, UC Santa Barbara, verkerke@slac.stanford.edu *
* DK, David Kirkby, UC Irvine, dkirkby@uci.edu *
* *
* Copyright (c) 2000-2005, Regents of the University of California *
* and Stanford University. All rights reserved. *
* *
* Redistribution and use in source and binary forms, *
* with or without modification, are permitted according to the terms *
* listed in LICENSE (http://roofit.sourceforge.net/license.txt) *
*****************************************************************************/
#ifndef ROO_ABS_PROXY
#define ROO_ABS_PROXY
#include "TObject.h"
#include "RooAbsArg.h"
#include "Riosfwd.h"
#ifdef _WIN32
// Turn off 'warning C4355: 'this' : used in base member initializer list'
//
// This message will pop up for any class that initializes member proxy objects
// Including the pragma here will automatically disable that warning message
// for all such cases
#pragma warning ( disable:4355 )
#endif
class RooAbsProxy {
public:
// Constructors, assignment etc.
RooAbsProxy() ;
RooAbsProxy(const char* name, const RooAbsProxy& other) ;
virtual ~RooAbsProxy() {
// Destructor
} ;
virtual const char* name() const {
// Return name of proxy
return "dummy" ;
} ;
inline const RooArgSet* nset() const {
// Return normalization set to be used for evaluation of contents
return _nset ;
}
virtual void print(ostream& os, Bool_t addContents=kFALSE) const ;
protected:
RooArgSet* _nset ; //! Normalization set to be used for evaluation of RooAbsPdf contents
friend class RooAbsArg ;
friend class RooObjectFactory ;
virtual Bool_t changePointer(const RooAbsCollection& newServerSet, Bool_t nameChange=kFALSE, Bool_t factoryInitMode=kFALSE) = 0 ;
friend class RooAbsPdf ;
virtual void changeNormSet(const RooArgSet* newNormSet) ;
ClassDef(RooAbsProxy,1) // Abstract proxy interface
} ;
#endif
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...