ROOT
git-r3/HEAD
Reference Guide
Loading...
Searching...
No Matches
MnPlot.h
Go to the documentation of this file.
1
// @(#)root/minuit2:$Id$
2
// Authors: M. Winkler, F. James, L. Moneta, A. Zsenei 2003-2005
3
4
/**********************************************************************
5
* *
6
* Copyright (c) 2005 LCG ROOT Math team, CERN/PH-SFT *
7
* *
8
**********************************************************************/
9
10
#ifndef ROOT_Minuit2_MnPlot
11
#define ROOT_Minuit2_MnPlot
12
13
#include "
Minuit2/MnConfig.h
"
14
15
#include <
ROOT/RSpan.hxx
>
16
17
#include <algorithm>
18
#include <vector>
19
#include <utility>
20
21
namespace
ROOT
{
22
23
namespace
Minuit2
{
24
25
/** MnPlot produces a text-screen graphical output of (x,y) points, e.g.
26
from Scan or Contours.
27
*/
28
29
class
MnPlot
{
30
31
public
:
32
MnPlot
() =
default
;
33
34
MnPlot
(
unsigned
int
width,
unsigned
int
length)
35
:
fPageWidth
(std::min(width, 120u)),
fPageLength
(std::min(length, 56u))
36
{
37
}
38
39
void
operator()
(std::span<
const
std::pair<double, double>> )
const
;
40
void
operator()
(
double
,
double
, std::span<
const
std::pair<double, double>> )
const
;
41
42
unsigned
int
Width
()
const
{
return
fPageWidth
; }
43
unsigned
int
Length
()
const
{
return
fPageLength
; }
44
45
private
:
46
unsigned
int
fPageWidth
= 80;
47
unsigned
int
fPageLength
= 30;
48
};
49
50
}
// namespace Minuit2
51
52
}
// namespace ROOT
53
54
#endif
// ROOT_Minuit2_MnPlot
MnConfig.h
RSpan.hxx
ROOT::Minuit2::MnPlot::fPageLength
unsigned int fPageLength
Definition
MnPlot.h:47
ROOT::Minuit2::MnPlot::operator()
void operator()(std::span< const std::pair< double, double > >) const
Definition
MnPlot.cxx:19
ROOT::Minuit2::MnPlot::MnPlot
MnPlot()=default
ROOT::Minuit2::MnPlot::fPageWidth
unsigned int fPageWidth
Definition
MnPlot.h:46
ROOT::Minuit2::MnPlot::MnPlot
MnPlot(unsigned int width, unsigned int length)
Definition
MnPlot.h:34
ROOT::Minuit2::MnPlot::Width
unsigned int Width() const
Definition
MnPlot.h:42
ROOT::Minuit2::MnPlot::Length
unsigned int Length() const
Definition
MnPlot.h:43
ROOT::Minuit2
Definition
AnalyticalGradientCalculator.h:18
ROOT
Definition
EExecutionPolicy.hxx:4
math
minuit2
inc
Minuit2
MnPlot.h
ROOTgit-r3/HEAD - Reference Guide Generated on
(GVA Time) using Doxygen 1.16.1