ROOT  6.06/09
Reference Guide
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"
22 class TTree ;
23 
24 
25 class RooTreeData : public RooAbsData {
26 public:
27 
28  // Constructors, factory methods etc.
29  RooTreeData() : _tree(0) {} ;
30  const TTree *GetTree() const { return _tree; }
31 
32 private:
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
Basic string class.
Definition: TString.h:137
#define ClassDef(name, id)
Definition: Rtypes.h:254
TString _blindString
Definition: RooTreeData.h:36
RooArgSet _truth
Definition: RooTreeData.h:35
TTree * _tree
Definition: RooTreeData.h:34
A TTree object has a header with a name and a title.
Definition: TTree.h:94
const TTree * GetTree() const
Definition: RooTreeData.h:30