ROOT
6.10/09
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
#include "
THLimitsFinder.h
"
24
25
class
TH1
;
26
class
TString
;
27
28
class
TProofLimitsFinder
:
public
THLimitsFinder
{
29
30
public
:
31
TProofLimitsFinder
() { }
32
virtual
~TProofLimitsFinder
() { }
33
virtual
Int_t
FindGoodLimits
(
TH1
*
h
,
Axis_t
xmin
,
Axis_t
xmax
);
34
virtual
Int_t
FindGoodLimits
(
TH1
*h,
Axis_t
xmin,
Axis_t
xmax,
Axis_t
ymin
,
Axis_t
ymax
);
35
virtual
Int_t
FindGoodLimits
(
TH1
*h,
Axis_t
xmin,
Axis_t
xmax,
Axis_t
ymin,
Axis_t
ymax,
Axis_t
zmin,
Axis_t
zmax);
36
37
static
void
AutoBinFunc
(
TString
& key,
38
Double_t
& xmin,
Double_t
& xmax,
39
Double_t
& ymin,
Double_t
& ymax,
40
Double_t
& zmin,
Double_t
& zmax);
41
42
ClassDef
(
TProofLimitsFinder
,0)
//Find and communicate best axis limits
43
};
44
45
#endif
xmin
float xmin
Definition:
THbookFile.cxx:93
TProofLimitsFinder::~TProofLimitsFinder
virtual ~TProofLimitsFinder()
Definition:
TProofLimitsFinder.h:32
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:28
h
TH1 * h
Definition:
legend2.C:5
TString
Basic string class.
Definition:
TString.h:129
Int_t
int Int_t
Definition:
RtypesCore.h:41
ClassDef
#define ClassDef(name, id)
Definition:
Rtypes.h:297
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:31
xmax
float xmax
Definition:
THbookFile.cxx:93
Double_t
double Double_t
Definition:
RtypesCore.h:55
TH1
The TH1 histogram class.
Definition:
TH1.h:56
TProofLimitsFinder
Class to find axis limits and synchronize them between workers.
Definition:
TProofLimitsFinder.h:28
TProofLimitsFinder::FindGoodLimits
virtual Int_t FindGoodLimits(TH1 *h, Axis_t xmin, Axis_t xmax)
Find good limits.
Definition:
TProofLimitsFinder.cxx:76