00001 /***************************************************************************** 00002 * Project: RooFit * 00003 * Package: RooFitCore * 00004 * @(#)root/roofitcore:$Id: RooAbsProxy.cxx 24247 2008-06-12 14:54:32Z wouter $ 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 00017 #include "RooFit.h" 00018 00019 #include "Riostream.h" 00020 #include "RooAbsProxy.h" 00021 #include "RooAbsProxy.h" 00022 #include "RooArgSet.h" 00023 #include "RooAbsArg.h" 00024 00025 ////////////////////////////////////////////////////////////////////////////// 00026 // 00027 // BEGIN_HTML 00028 // RooAbsProxy is the abstact interface for proxy classes. 00029 // Proxy classes hold pointers to other Roofit objects 00030 // and process serverRedirect changes so that the proxied 00031 // pointers are updated accordingly on a clone or copy of 00032 // of the owning class 00033 // END_HTML 00034 // 00035 00036 00037 ClassImp(RooAbsProxy) 00038 ; 00039 00040 00041 //_____________________________________________________________________________ 00042 RooAbsProxy::RooAbsProxy() : _nset(0) 00043 { 00044 // Constructor 00045 } 00046 00047 00048 00049 //_____________________________________________________________________________ 00050 RooAbsProxy::RooAbsProxy(const char* /*name*/, const RooAbsProxy& other) : 00051 _nset(other._nset) 00052 { 00053 // Copy constructor 00054 } 00055 00056 00057 //_____________________________________________________________________________ 00058 void RooAbsProxy::changeNormSet(const RooArgSet* newNormSet) 00059 { 00060 // Destructor 00061 _nset = (RooArgSet*) newNormSet ; 00062 } 00063 00064 00065 00066 //_____________________________________________________________________________ 00067 void RooAbsProxy::print(ostream& os, Bool_t /*addContents*/) const 00068 { 00069 // Print proxy name 00070 os << name() << endl ; 00071 }