/usr/include/root/THLimitsFinder.h is in libroot-hist-dev 5.34.30-0ubuntu8.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | // @(#)root/hist:$Id$
// Author: Rene Brun 30/08/99
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef ROOT_THLimitsFinder
#define ROOT_THLimitsFinder
//////////////////////////////////////////////////////////////////////////
// //
// THLimitsFinder //
// //
// class to find nice axis limits //
// //
//////////////////////////////////////////////////////////////////////////
#ifndef ROOT_TObject
#include "TObject.h"
#endif
class TH1;
class THLimitsFinder : public TObject {
protected:
static THLimitsFinder *fgLimitsFinder; //!Pointer to hist limits finder
public:
THLimitsFinder();
virtual ~THLimitsFinder();
virtual Int_t FindGoodLimits(TH1 *h, Double_t xmin, Double_t xmax);
virtual Int_t FindGoodLimits(TH1 *h, Double_t xmin, Double_t xmax, Double_t ymin, Double_t ymax);
virtual Int_t FindGoodLimits(TH1 *h, Double_t xmin, Double_t xmax, Double_t ymin, Double_t ymax, Double_t zmin, Double_t zmax);
static void Optimize(Double_t A1, Double_t A2, Int_t nold
,Double_t &BinLow, Double_t &BinHigh, Int_t &nbins, Double_t &BWID, Option_t *option="");
static void OptimizeLimits(Int_t nbins, Int_t &newbins, Double_t &xmin, Double_t &xmax, Bool_t isInteger);
static THLimitsFinder *GetLimitsFinder();
static void SetLimitsFinder(THLimitsFinder *finder);
ClassDef(THLimitsFinder,0) //Class to find best axis limits
};
#endif
|