Main Page
Namespaces
Classes
Package Documentation
PhysicsTools
RooStatsCms
src
StatisticalPlot.cc
Go to the documentation of this file.
1
// Author: Danilo.Piparo@cern.ch 01/06/2008
2
3
4
#if (defined (STANDALONE) or defined (__CINT__) )
5
#include "
StatisticalPlot.h
"
6
#else
7
#include "
PhysicsTools/RooStatsCms/interface/StatisticalPlot.h
"
8
#endif
9
#include "TROOT.h"
10
11
//For Cint
12
#if (defined (STANDALONE) or defined (__CINT__) )
13
ClassImp
(
StatisticalPlot
)
14
#endif
15
/*----------------------------------------------------------------------------*/
16
17
StatisticalPlot::StatisticalPlot
(
const
char
*
name
,
18
const
char
*
title
,
19
bool
verbosity
):
20
TNamed(name,title){
21
setVerbosity(verbosity);
22
//m_canvas=new TCanvas(name,title);
23
gROOT->SetStyle(
"Plain"
);
24
}
25
26
/*----------------------------------------------------------------------------*/
27
28
void
StatisticalPlot::setVerbosity
(
bool
verbosity
){
29
m_verbose
=
verbosity
;
30
}
31
32
/*----------------------------------------------------------------------------*/
33
34
bool
StatisticalPlot::is_verbose
(){
35
return
m_verbose
;
36
}
37
38
/*----------------------------------------------------------------------------*/
39
40
StatisticalPlot::~StatisticalPlot
(){
41
//delete m_canvas;
42
}
43
44
/*----------------------------------------------------------------------------*/
45
46
// Automatically converted from the standalone version Wed Apr 15 11:36:34 2009
StatisticalPlot::m_verbose
bool m_verbose
Verbosity flag.
Definition:
StatisticalPlot.h:58
HIPAlignmentAlgorithm_cfi.verbosity
verbosity
Definition:
HIPAlignmentAlgorithm_cfi.py:7
ClassImp
ClassImp(StatisticalPlot) StatisticalPlot
Definition:
StatisticalPlot.cc:13
StatisticalPlot::~StatisticalPlot
~StatisticalPlot() override
Destructor.
Definition:
StatisticalPlot.cc:40
StatisticalPlot
StatisticalPlot: the base class for the statistical plots.
Definition:
StatisticalPlot.h:21
fftjetcommon_cfi.title
title
Definition:
fftjetcommon_cfi.py:32
StatisticalPlot.h
StatisticalPlot::StatisticalPlot
StatisticalPlot(const char *name, const char *title, bool verbosity=true)
Constructor.
dataset.name
name
Definition:
dataset.py:45
StatisticalPlot::is_verbose
bool is_verbose()
get the verbosity
Definition:
StatisticalPlot.cc:34
StatisticalPlot::setVerbosity
void setVerbosity(bool verbosity)
Set the verbosity.
Definition:
StatisticalPlot.cc:28
Generated for CMSSW Reference Manual by
1.8.11