Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooTreeData.h
Go to the documentation of this file.
1/*****************************************************************************
2 * Project: RooFit *
3 * Package: RooFitCore *
4 * File: $Id: RooTreeData.h,v 1.41 2007/07/16 21:04:28 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_TREE_DATA
17#define ROO_TREE_DATA
18
19#include "RooAbsData.h"
20#include "TString.h"
21#include "RooArgSet.h"
22class TTree ;
23
24
25class RooTreeData : public RooAbsData {
26public:
27
28 const TTree *GetTree() const { return _tree; }
29
30private:
31
32 TTree *_tree = nullptr; ///< TTree holding the data points
33 RooArgSet _truth; ///< Truth variables
34 TString _blindString ; ///< Blinding string (optionally read from ASCII files)
35
36 ClassDefOverride(RooTreeData,1) // Dummy class for legacy RooDataSet support
37};
38
39
40#endif
#define ClassDefOverride(name, id)
Definition Rtypes.h:346
Abstract base class for binned and unbinned datasets.
Definition RooAbsData.h:57
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Definition RooArgSet.h:24
TString _blindString
Blinding string (optionally read from ASCII files)
Definition RooTreeData.h:34
RooArgSet _truth
Truth variables.
Definition RooTreeData.h:33
TTree * _tree
TTree holding the data points.
Definition RooTreeData.h:32
const TTree * GetTree() const
Definition RooTreeData.h:28
Basic string class.
Definition TString.h:139
A TTree represents a columnar dataset.
Definition TTree.h:79