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 // Constructors, factory methods etc.
29 RooTreeData() : _tree(0) {} ;
30 const TTree *GetTree() const { return _tree; }
31
32private:
33
34 TTree *_tree ; // TTree holding the data points
35 RooArgSet _truth; // Truth variables
36 TString _blindString ; // Blinding string (optionally read from ASCII files)
37
38 ClassDef(RooTreeData,1) // Dummy class for legacy RooDataSet support
39};
40
41
42#endif
#define ClassDef(name, id)
Definition Rtypes.h:325
RooAbsData is the common abstract base class for binned and unbinned datasets.
Definition RooAbsData.h:82
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Definition RooArgSet.h:35
TString _blindString
Definition RooTreeData.h:36
RooArgSet _truth
Definition RooTreeData.h:35
TTree * _tree
Definition RooTreeData.h:34
const TTree * GetTree() const
Definition RooTreeData.h:30
Basic string class.
Definition TString.h:136
A TTree represents a columnar dataset.
Definition TTree.h:79