Logo ROOT   6.08/07
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 #ifndef ROOT_THLimitsFinder
24 #include "THLimitsFinder.h"
25 #endif
26 
27 class TH1;
28 class TString;
29 
31 
32 public:
34  virtual ~TProofLimitsFinder() { }
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
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:137
int Int_t
Definition: RtypesCore.h:41
#define ClassDef(name, id)
Definition: Rtypes.h:254
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:80
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.