00001 // @(#)root/hist:$Id: StatisticalPlot.cc,v 1.4 2009/05/15 09:55:59 dpiparo Exp $ 00002 // Author: Danilo.Piparo@cern.ch 01/06/2008 00003 00004 00005 #if (defined (STANDALONE) or defined (__CINT__) ) 00006 #include "StatisticalPlot.h" 00007 #else 00008 #include "PhysicsTools/RooStatsCms/interface/StatisticalPlot.h" 00009 #endif 00010 #include "TROOT.h" 00011 00012 //For Cint 00013 #if (defined (STANDALONE) or defined (__CINT__) ) 00014 ClassImp(StatisticalPlot) 00015 #endif 00016 /*----------------------------------------------------------------------------*/ 00017 00018 StatisticalPlot::StatisticalPlot(const char* name, 00019 const char* title, 00020 bool verbosity): 00021 TNamed(name,title){ 00022 setVerbosity(verbosity); 00023 //m_canvas=new TCanvas(name,title); 00024 gROOT->SetStyle("Plain"); 00025 } 00026 00027 /*----------------------------------------------------------------------------*/ 00028 00029 void StatisticalPlot::setVerbosity(bool verbosity){ 00030 m_verbose=verbosity; 00031 } 00032 00033 /*----------------------------------------------------------------------------*/ 00034 00035 bool StatisticalPlot::is_verbose(){ 00036 return m_verbose; 00037 } 00038 00039 /*----------------------------------------------------------------------------*/ 00040 00041 StatisticalPlot::~StatisticalPlot(){ 00042 //delete m_canvas; 00043 } 00044 00045 /*----------------------------------------------------------------------------*/ 00046 00047 // Automatically converted from the standalone version Wed Apr 15 11:36:34 2009