Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooCategorySharedProperties.h
Go to the documentation of this file.
1/*****************************************************************************
2 * Project: RooFit *
3 * Package: RooFitCore *
4 * File: $Id: RooCategorySharedProperties.h,v 1.2 2007/05/11 09:11:30 verkerke 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
17/**
18\file RooCategorySharedProperties.h
19\class RooCategorySharedProperties
20\ingroup Roofitcore
21
22RooCategorySharedProperties is the container for all properties
23that are shared between instance of RooCategory objects that
24are clones of each other. At present the only property that is
25shared in this way is the list of alternate named range definitions
26**/
27
28#ifndef ROO_CATEGORY_SHARED_PROPERTY
29#define ROO_CATEGORY_SHARED_PROPERTY
30
31#include "RooSharedProperties.h"
32#include "RooLinkedList.h"
33
35public:
36
37 /// Constructor.
39 /// Constructor with unique-id string.
40 RooCategorySharedProperties(const char* uuidstr) : RooSharedProperties(uuidstr) {}
41 /// Destructor.
44 }
45
46protected:
47
48 friend class RooCategory ;
49
50 RooLinkedList _altRanges ; ///< Optional alternative ranges
51
52 ClassDefOverride(RooCategorySharedProperties,1) // Shared properties of a RooCategory clone set
53};
54
55
56#endif
#define ClassDefOverride(name, id)
Definition Rtypes.h:341
RooCategorySharedProperties is the container for all properties that are shared between instance of R...
RooLinkedList _altRanges
Optional alternative ranges.
~RooCategorySharedProperties() override
Destructor.
RooCategorySharedProperties(const char *uuidstr)
Constructor with unique-id string.
RooCategory is an object to represent discrete states.
Definition RooCategory.h:28
RooLinkedList is an collection class for internal use, storing a collection of RooAbsArg pointers in ...
void Delete(Option_t *o=nullptr) override
Remove all elements in collection and delete all elements NB: Collection does not own elements,...
Class RooSharedProperties is the base class for shared properties that can be stored in RooSharedProp...