Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
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