Helper.h

Go to the documentation of this file.
00001 // @(#)root/roostats:$Id:  cranmer $
00002 // Author: Kyle Cranmer, Akira Shibata
00003 /*************************************************************************
00004  * Copyright (C) 1995-2008, Rene Brun and Fons Rademakers.               *
00005  * All rights reserved.                                                  *
00006  *                                                                       *
00007  * For the licensing terms see $ROOTSYS/LICENSE.                         *
00008  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
00009  *************************************************************************/
00010 
00011 #ifndef ROOSTATS_HELPER
00012 #define ROOSTATS_HELPER
00013 
00014 #include <string>
00015 #include <vector>
00016 #include <map>
00017 
00018 #include "TFile.h"
00019 
00020 #include "RooStats/HistFactory/EstimateSummary.h"
00021 using namespace std; 
00022 
00023 namespace RooStats{
00024 namespace HistFactory{
00025   vector<EstimateSummary>*  loadSavedInputs(TFile* outFile, string channel );
00026   void saveInputs(TFile* outFile, string channel, vector<EstimateSummary> summaries);
00027   TH1F * GetHisto( TFile * inFile, const string name );
00028   TH1 * GetHisto( const string file, const string path, const string obj );
00029   bool AddSummaries( vector<EstimateSummary> & summary, vector<vector<EstimateSummary> > &master);
00030   vector<pair<string, string> > get_comb(vector<string> names);
00031   void AddSubStrings( vector<string> & vs, string s);
00032 }
00033 }
00034 #endif

Generated on Tue Jul 5 14:52:32 2011 for ROOT_528-00b_version by  doxygen 1.5.1