ROOT
6.30.04
Reference Guide
All
Namespaces
Files
Pages
RooSetPair.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* Project: RooFit *
3
* Package: RooFitCore *
4
* File: $Id: RooSetPair.h,v 1.4 2007/08/09 19:55:47 wouter 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_SET_PAIR
17
#define ROO_SET_PAIR
18
19
#include <iostream>
20
#include "
TObject.h
"
21
#include "
RooArgSet.h
"
22
23
class
RooLinkedListElem ;
24
class
TBuffer ;
25
26
class
RooSetPair :
public
TObject {
27
public
:
28
29
// Initial element ctor
30
RooSetPair(
const
RooArgSet* set1=0,
const
RooArgSet* set2=0) :
31
_set1(const_cast<RooArgSet*>(set1)), _set2(const_cast<RooArgSet*>(set2)) {
32
}
33
34
// Destructor
35
virtual
~RooSetPair();
36
37
RooArgSet* _set1 ;
38
RooArgSet* _set2 ;
39
40
virtual
ULong_t Hash()
const
{
41
return
TString::Hash((
void
*)&_set1,2*
sizeof
(
void
*)) ;
42
}
43
44
protected
:
45
46
47
// Forbidden
48
RooSetPair(
const
RooSetPair&) ;
49
50
ClassDef(RooSetPair,0)
// Utility class holding a pair of RooArgSet pointers
51
} ;
52
53
54
55
#endif
RooArgSet.h
TObject.h
roofit
roofitcore
inc
RooSetPair.h
Generated on Tue May 5 2020 14:03:22 for ROOT by
1.8.5