Logo ROOT   6.10/09
Reference Guide
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 
29 
30 public:
32  virtual ~TProofLimitsFinder() { }
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
float xmin
Definition: THbookFile.cxx:93
float ymin
Definition: THbookFile.cxx:93
double Axis_t
Definition: RtypesCore.h:72
Class to find nice axis limits.
TH1 * h
Definition: legend2.C:5
Basic string class.
Definition: TString.h:129
int Int_t
Definition: RtypesCore.h:41
#define ClassDef(name, id)
Definition: Rtypes.h:297
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.
float ymax
Definition: THbookFile.cxx:93
float xmax
Definition: THbookFile.cxx:93
double Double_t
Definition: RtypesCore.h:55
The TH1 histogram class.
Definition: TH1.h:56
Class to find axis limits and synchronize them between workers.
virtual Int_t FindGoodLimits(TH1 *h, Axis_t xmin, Axis_t xmax)
Find good limits.