Warning, file /include/root/RooAbsProxy.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef ROO_ABS_PROXY
0017 #define ROO_ABS_PROXY
0018
0019 #ifdef _WIN32
0020
0021
0022
0023
0024
0025 #pragma warning ( disable:4355 )
0026 #endif
0027
0028 #include <TClass.h>
0029
0030 #include <string>
0031 #include <unordered_map>
0032
0033 class RooAbsArg;
0034 class RooAbsCollection;
0035 class RooArgSet;
0036
0037 class RooAbsProxy {
0038 public:
0039
0040
0041 RooAbsProxy() ;
0042 RooAbsProxy(const char* name, const RooAbsProxy& other) ;
0043 virtual ~RooAbsProxy() {
0044
0045 } ;
0046
0047 virtual const char* name() const {
0048
0049 return "dummy" ;
0050 } ;
0051
0052 inline const RooArgSet* nset() const {
0053
0054 return _nset ;
0055 }
0056 virtual void print(std::ostream& os, bool addContents=false) const ;
0057
0058 protected:
0059
0060 RooArgSet* _nset = nullptr ;
0061
0062 friend class RooAbsArg ;
0063 virtual bool changePointer(const RooAbsCollection& newServerSet, bool nameChange=false, bool factoryInitMode=false) = 0 ;
0064 virtual bool changePointer(std::unordered_map<RooAbsArg*, RooAbsArg*> const& replacements) = 0 ;
0065
0066 friend class RooAbsPdf ;
0067 virtual void changeNormSet(const RooArgSet* newNormSet) ;
0068
0069 ClassDef(RooAbsProxy,1)
0070 } ;
0071
0072 #endif
0073