ROOT
master
Reference Guide
Loading...
Searching...
No Matches
RooCategorySharedProperties.h
Go to the documentation of this file.
1
/// \cond ROOFIT_INTERNAL
2
3
/*****************************************************************************
4
* Project: RooFit *
5
* Package: RooFitCore *
6
* File: $Id: RooCategorySharedProperties.h,v 1.2 2007/05/11 09:11:30 verkerke Exp $
7
* Authors: *
8
* WV, Wouter Verkerke, UC Santa Barbara, verkerke@slac.stanford.edu *
9
* DK, David Kirkby, UC Irvine, dkirkby@uci.edu *
10
* *
11
* Copyright (c) 2000-2005, Regents of the University of California *
12
* and Stanford University. All rights reserved. *
13
* *
14
* Redistribution and use in source and binary forms, *
15
* with or without modification, are permitted according to the terms *
16
* listed in LICENSE (http://roofit.sourceforge.net/license.txt) *
17
*****************************************************************************/
18
19
/**
20
\file RooCategorySharedProperties.h
21
\class RooCategorySharedProperties
22
\ingroup Roofitcore
23
24
Container for all properties
25
that are shared between instance of RooCategory objects that
26
are clones of each other. At present the only property that is
27
shared in this way is the list of alternate named range definitions
28
**/
29
30
#ifndef ROO_CATEGORY_SHARED_PROPERTY
31
#define ROO_CATEGORY_SHARED_PROPERTY
32
33
#include "
RooSharedProperties.h
"
34
#include "
RooLinkedList.h
"
35
36
class
RooCategorySharedProperties
:
public
RooSharedProperties
{
37
public
:
38
39
/// Constructor.
40
RooCategorySharedProperties
() {}
41
/// Constructor with unique-id string.
42
RooCategorySharedProperties
(
const
char
*
uuidstr
) :
RooSharedProperties
(
uuidstr
) {}
43
/// Destructor.
44
~RooCategorySharedProperties
()
override
{
45
_altRanges
.Delete() ;
46
}
47
48
protected
:
49
50
friend
class
RooCategory
;
51
52
RooLinkedList
_altRanges
;
///< Optional alternative ranges
53
54
ClassDefOverride
(
RooCategorySharedProperties
,1)
// Shared properties of a RooCategory clone set
55
};
56
57
58
#endif
59
60
/// \endcond
RooLinkedList.h
RooSharedProperties.h
ClassDefOverride
#define ClassDefOverride(name, id)
Definition
Rtypes.h:346
TRangeDynCast
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Definition
TCollection.h:358
ROOT::Detail::TRangeCast
Definition
TCollection.h:311
RooCategory
Object to represent discrete states.
Definition
RooCategory.h:28
RooLinkedList
Collection class for internal use, storing a collection of RooAbsArg pointers in a doubly linked list...
Definition
RooLinkedList.h:44
RooSharedProperties
Class RooSharedProperties is the base class for shared properties that can be stored in RooSharedProp...
Definition
RooSharedProperties.h:22
roofit
roofitcore
inc
RooFitLegacy
RooCategorySharedProperties.h
ROOT master - Reference Guide Generated on Mon Feb 17 2025 15:03:35 (GVA Time) using Doxygen 1.10.0