00001 /***************************************************************************** 00002 * Project: RooFit * 00003 * Package: RooFitCore * 00004 * File: $Id: RooTreeData.h,v 1.41 2007/07/16 21:04:28 wouter Exp $ 00005 * Authors: * 00006 * WV, Wouter Verkerke, UC Santa Barbara, verkerke@slac.stanford.edu * 00007 * DK, David Kirkby, UC Irvine, dkirkby@uci.edu * 00008 * * 00009 * Copyright (c) 2000-2005, Regents of the University of California * 00010 * and Stanford University. All rights reserved. * 00011 * * 00012 * Redistribution and use in source and binary forms, * 00013 * with or without modification, are permitted according to the terms * 00014 * listed in LICENSE (http://roofit.sourceforge.net/license.txt) * 00015 *****************************************************************************/ 00016 #ifndef ROO_TREE_DATA 00017 #define ROO_TREE_DATA 00018 00019 #include "RooAbsData.h" 00020 #include "TString.h" 00021 #include "RooArgSet.h" 00022 class TTree ; 00023 00024 00025 class RooTreeData : public RooAbsData { 00026 public: 00027 00028 // Constructors, factory methods etc. 00029 RooTreeData() {} ; 00030 00031 private: 00032 00033 TTree *_tree ; // TTree holding the data points 00034 RooArgSet _truth; // Truth variables 00035 TString _blindString ; // Blinding string (optionally read from ASCII files) 00036 00037 ClassDef(RooTreeData,1) // Dummy class for legacy RooDataSet support 00038 }; 00039 00040 00041 #endif