ROOT
6.08/07
Reference Guide
proof
proofplayer
inc
TProofLimitsFinder.h
Go to the documentation of this file.
1
// @(#)root/proofplayer:$Id$
2
// Author: Maarten Ballintijn 19/04/2002
3
4
/*************************************************************************
5
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
6
* All rights reserved. *
7
* *
8
* For the licensing terms see $ROOTSYS/LICENSE. *
9
* For the list of contributors see $ROOTSYS/README/CREDITS. *
10
*************************************************************************/
11
12
#ifndef ROOT_TProofLimitsFinder
13
#define ROOT_TProofLimitsFinder
14
15
//////////////////////////////////////////////////////////////////////////
16
// //
17
// TProofLimitsFinder //
18
// //
19
// Class to find nice axis limits and synchronize them between workers //
20
// //
21
//////////////////////////////////////////////////////////////////////////
22
23
#ifndef ROOT_THLimitsFinder
24
#include "
THLimitsFinder.h
"
25
#endif
26
27
class
TH1
;
28
class
TString
;
29
30
class
TProofLimitsFinder
:
public
THLimitsFinder
{
31
32
public
:
33
TProofLimitsFinder
() { }
34
virtual
~TProofLimitsFinder
() { }
35
virtual
Int_t
FindGoodLimits
(
TH1
*
h
,
Axis_t
xmin
,
Axis_t
xmax
);
36
virtual
Int_t
FindGoodLimits
(
TH1
*h,
Axis_t
xmin,
Axis_t
xmax,
Axis_t
ymin
,
Axis_t
ymax
);
37
virtual
Int_t
FindGoodLimits
(
TH1
*h,
Axis_t
xmin,
Axis_t
xmax,
Axis_t
ymin,
Axis_t
ymax,
Axis_t
zmin,
Axis_t
zmax);
38
39
static
void
AutoBinFunc
(
TString
& key,
40
Double_t
& xmin,
Double_t
& xmax,
41
Double_t
& ymin,
Double_t
& ymax,
42
Double_t
& zmin,
Double_t
& zmax);
43
44
ClassDef
(
TProofLimitsFinder
,0)
//Find and communicate best axis limits
45
};
46
47
#endif
xmin
float xmin
Definition:
THbookFile.cxx:93
TProofLimitsFinder::~TProofLimitsFinder
virtual ~TProofLimitsFinder()
Definition:
TProofLimitsFinder.h:34
ymin
float ymin
Definition:
THbookFile.cxx:93
Axis_t
double Axis_t
Definition:
RtypesCore.h:72
THLimitsFinder
Class to find nice axis limits.
Definition:
THLimitsFinder.h:30
h
TH1 * h
Definition:
legend2.C:5
TString
Basic string class.
Definition:
TString.h:137
Int_t
int Int_t
Definition:
RtypesCore.h:41
ClassDef
#define ClassDef(name, id)
Definition:
Rtypes.h:254
THLimitsFinder.h
TProofLimitsFinder::AutoBinFunc
static void AutoBinFunc(TString &key, Double_t &xmin, Double_t &xmax, Double_t &ymin, Double_t &ymax, Double_t &zmin, Double_t &zmax)
Get bining information.
Definition:
TProofLimitsFinder.cxx:33
ymax
float ymax
Definition:
THbookFile.cxx:93
TProofLimitsFinder::TProofLimitsFinder
TProofLimitsFinder()
Definition:
TProofLimitsFinder.h:33
xmax
float xmax
Definition:
THbookFile.cxx:93
Double_t
double Double_t
Definition:
RtypesCore.h:55
TH1
The TH1 histogram class.
Definition:
TH1.h:80
TProofLimitsFinder
Class to find axis limits and synchronize them between workers.
Definition:
TProofLimitsFinder.h:30
TProofLimitsFinder::FindGoodLimits
virtual Int_t FindGoodLimits(TH1 *h, Axis_t xmin, Axis_t xmax)
Find good limits.
Definition:
TProofLimitsFinder.cxx:76