stressHistogram.cxx File Reference

#include <sstream>
#include <cmath>
#include "TH2.h"
#include "TH3.h"
#include "THnSparse.h"
#include "TProfile.h"
#include "TProfile2D.h"
#include "TProfile3D.h"
#include "TF1.h"
#include "TF2.h"
#include "TF3.h"
#include "Fit/SparseData.h"
#include "HFitInterface.h"
#include "TApplication.h"
#include "TBenchmark.h"
#include "Riostream.h"
#include "TMath.h"
#include "TRandom2.h"
#include "TFile.h"
#include "TClass.h"
#include "TROOT.h"
#include <algorithm>
#include <cassert>

Go to the source code of this file.

Classes

struct  TTestSuite
class  ProjectionTester

Typedefs

typedef bool(*) pointer2Test ()

Enumerations

enum  compareOptions
enum  RefFileEnum

Functions

void printResult (const char *msg, bool status)
void FillVariableRange (Double_t v[numberOfBins+1])
void FillHistograms (TH1D *h1, TH1D *h2, Double_t c1=1.0, Double_t c2=1.0)
void FillProfiles (TProfile *p1, TProfile *p2, Double_t c1=1.0, Double_t c2=1.0)
int equals (const char *msg, TH1D *h1, TH1D *h2, int options=0, double ERRORLIMIT=defaultErrorLimit)
int equals (const char *msg, TH2D *h1, TH2D *h2, int options=0, double ERRORLIMIT=defaultErrorLimit)
int equals (const char *msg, TH3D *h1, TH3D *h2, int options=0, double ERRORLIMIT=defaultErrorLimit)
int equals (const char *msg, THnSparse *h1, THnSparse *h2, int options=0, double ERRORLIMIT=defaultErrorLimit)
int equals (const char *msg, THnSparse *h1, TH1 *h2, int options=0, double ERRORLIMIT=defaultErrorLimit)
int equals (Double_t n1, Double_t n2, double ERRORLIMIT=defaultErrorLimit)
int compareStatistics (TH1 *h1, TH1 *h2, bool debug, double ERRORLIMIT=defaultErrorLimit)
ostream & operator<< (ostream &out, TH1D *h)
bool testAdd1 ()
bool testAddProfile1 ()
bool testAdd2 ()
bool testAddProfile2 ()
bool testAdd3 ()
bool testAddVar1 ()
bool testAddVarProf1 ()
bool testAddVar2 ()
bool testAddVarProf2 ()
bool testAdd2D3 ()
bool testAdd3D3 ()
bool testAdd2D1 ()
bool testAdd2DProfile1 ()
bool testAdd2D2 ()
bool testAdd2DProfile2 ()
bool testAdd3D1 ()
bool testAdd3DProfile1 ()
bool testAdd3D2 ()
bool testAdd3DProfile2 ()
bool testAddSparse ()
bool testMul1 ()
bool testMulVar1 ()
bool testMul2 ()
bool testMulVar2 ()
bool testMul2D1 ()
bool testMul2D2 ()
bool testMul3D1 ()
bool testMul3D2 ()
bool testMulSparse ()
bool testMulF1D ()
bool testMulF1D2 ()
bool testMulF2D ()
bool testMulF2D2 ()
bool testMulF3D ()
bool testMulF3D2 ()
bool testMulFND ()
bool testMulFND2 ()
bool testDivide1 ()
bool testDivideVar1 ()
bool testDivideProf1 ()
bool testDivide2 ()
bool testDivideVar2 ()
bool testDivide2D1 ()
bool testDivide2D2 ()
bool testDivide3D1 ()
bool testDivide3D2 ()
bool testDivSparse1 ()
bool testDivSparse2 ()
bool testAssign1D ()
bool testAssignVar1D ()
bool testAssignProfile1D ()
bool testAssignProfileVar1D ()
bool testCopyConstructor1D ()
bool testCopyConstructorVar1D ()
bool testCopyConstructorProfile1D ()
bool testCopyConstructorProfileVar1D ()
bool testClone1D ()
bool testCloneVar1D ()
bool testCloneProfile1D ()
bool testCloneProfileVar1D ()
bool testAssign2D ()
bool testAssignProfile2D ()
bool testCopyConstructor2D ()
bool testCopyConstructorProfile2D ()
bool testClone2D ()
bool testCloneProfile2D ()
bool testAssign3D ()
bool testAssignProfile3D ()
bool testCopyConstructor3D ()
bool testCopyConstructorProfile3D ()
bool testClone3D ()
bool testCloneProfile3D ()
bool testCloneSparse ()
bool testWriteRead1D ()
bool testWriteReadVar1D ()
bool testWriteReadProfile1D ()
bool testWriteReadProfileVar1D ()
bool testWriteRead2D ()
bool testWriteReadProfile2D ()
bool testWriteRead3D ()
bool testWriteReadProfile3D ()
bool testWriteReadSparse ()
bool testMerge1D ()
bool testMergeVar1D ()
bool testMergeProf1D ()
bool testMergeProfVar1D ()
bool testMerge2D ()
bool testMergeProf2D ()
bool testMerge3D ()
bool testMergeProf3D ()
bool testMergeSparse ()
bool testMerge1DLabelSame ()
bool testMerge2DLabelSame ()
bool testMerge3DLabelSame ()
bool testMergeProf1DLabelSame ()
bool testMergeProf2DLabelSame ()
bool testMergeProf3DLabelSame ()
bool testMerge1DLabelDiff ()
bool testMerge2DLabelDiff ()
bool testMerge3DLabelDiff ()
bool testMergeProf1DLabelDiff ()
bool testMergeProf2DLabelDiff ()
bool testMergeProf3DLabelDiff ()
bool testMerge1DLabelAll ()
bool testMerge2DLabelAll ()
bool testMerge3DLabelAll ()
bool testMergeProf1DLabelAll ()
bool testMergeProf2DLabelAll ()
bool testMergeProf3DLabelAll ()
bool testMerge1DLabelAllDiff ()
bool testMerge2DLabelAllDiff ()
bool testMerge3DLabelAllDiff ()
bool testMergeProf1DLabelAllDiff ()
bool testMergeProf2DLabelAllDiff ()
bool testMergeProf3DLabelAllDiff ()
bool testMerge1DDiff ()
bool testMerge2DDiff ()
bool testMerge3DDiff ()
bool testMergeProf1DDiff ()
bool testMergeProf2DDiff ()
bool testMergeProf3DDiff ()
bool testLabel ()
bool testLabelsInflateProf1D ()
Double_t function1D (Double_t x)
bool testInterpolation1D ()
bool testInterpolationVar1D ()
Double_t function2D (Double_t x, Double_t y)
bool testInterpolation2D ()
Double_t function3D (Double_t x, Double_t y, Double_t z)
bool testInterpolation3D ()
bool testScale1DProf ()
bool testScale2DProf ()
bool testScale3DProf ()
bool testH1Integral ()
double gaus1d (const double *x, const double *p)
double gaus2d (const double *x, const double *p)
double gaus3d (const double *x, const double *p)
bool testH2Integral ()
bool testH3Integral ()
bool testConversion1D ()
bool testConversion2D ()
bool testConversion3D ()
int findBin (ROOT::Fit::BinData &bd, const double *x)
bool operator== (ROOT::Fit::BinData &bd1, ROOT::Fit::BinData &bd2)
int findBin (ROOT::Fit::SparseData &sd, const vector< double > &minRef, const vector< double > &maxRef, const double valRef, const double errorRef)
bool operator== (ROOT::Fit::SparseData &sd1, ROOT::Fit::SparseData &sd2)
bool testSparseData1DFull ()
bool testSparseData1DSparse ()
bool testSparseData2DFull ()
bool testSparseData2DSparse ()
bool testSparseData3DFull ()
bool testSparseData3DSparse ()
bool testBinDataData1D ()
bool testBinDataData2D ()
bool testBinDataData3D ()
bool testBinDataData1DInt ()
bool testBinDataData2DInt ()
bool testBinDataData3DInt ()
bool testRefRead1D ()
bool testRefReadProf1D ()
bool testRefRead2D ()
bool testRefReadProf2D ()
bool testRefRead3D ()
bool testRefReadProf3D ()
bool testRefReadSparse ()
bool testIntegerRebin ()
bool testIntegerRebinProfile ()
bool testIntegerRebinNoName ()
bool testIntegerRebinNoNameProfile ()
bool testArrayRebin ()
bool testArrayRebinProfile ()
bool test2DRebin ()
bool test2DRebinProfile ()
bool testSparseRebin1 ()
bool testTH2toTH1 ()
bool testTH3toTH1 ()
bool testTH3toTH2 ()
int stressHistogram ()
int main (int argc, char **argv)

Variables

const unsigned int __DRAW__ = 0
const Double_t minRange = 1
const Double_t maxRange = 5
const Double_t minRebin = 3
const Double_t maxRebin = 7
const int minBinValue = 1
const int maxBinValue = 10
const int nEvents = 1000
const int numberOfBins = 10
int defaultEqualOptions = 0
const double defaultErrorLimit = 1.E-10
const int refFileOption = 1
TFilerefFile = 0
const char * refFileName = "http://root.cern.ch/files/stressHistogram.5.18.00.root"
TRandom2 r
const int initialSeed = 0
static const double centre_deviation = 0.3


Typedef Documentation

typedef bool( * ) pointer2Test()

Definition at line 132 of file stressHistogram.cxx.


Enumeration Type Documentation

enum compareOptions

Definition at line 104 of file stressHistogram.cxx.

enum RefFileEnum

Definition at line 117 of file stressHistogram.cxx.


Function Documentation

int compareStatistics ( TH1 h1,
TH1 h2,
bool  debug,
double  ERRORLIMIT = defaultErrorLimit 
)

Definition at line 9294 of file stressHistogram.cxx.

References TH1::Chi2Test(), equals(), ROOT::Math::fabs(), gErrorIgnoreLevel, TH1::GetEffectiveEntries(), TH1::GetEntries(), TH1::GetMean(), TH1::GetRMS(), h1, h2, option, pr(), and TH1::Print().

Referenced by equals().

int equals ( Double_t  n1,
Double_t  n2,
double  ERRORLIMIT = defaultErrorLimit 
)

Definition at line 24 of file UnitTesting.cxx.

References ERRORLIMIT, and ROOT::Math::fabs().

Referenced by checkPermute(), FitEditorUnitTesting::CompareFuncPars(), ProjectionTester::compareHistograms(), compareStatistics(), equals(), findBin(), G__G__RooFitCore1_136_0_32(), main(), TMVA::SimulatedAnnealing::Minimize(), operator==(), test2DRebin(), test2DRebinProfile(), testAdd1(), testAdd2(), testAdd2D1(), testAdd2D2(), testAdd2D3(), testAdd2DProfile1(), testAdd2DProfile2(), testAdd3(), testAdd3D1(), testAdd3D2(), testAdd3D3(), testAdd3DProfile1(), testAdd3DProfile2(), testAddProfile1(), testAddProfile2(), testAddSparse(), testAddVar1(), testAddVar2(), testAddVarProf1(), testAddVarProf2(), testArrayRebin(), testArrayRebinProfile(), testAssign1D(), testAssign2D(), testAssign3D(), testAssignProfile1D(), testAssignProfile2D(), testAssignProfile3D(), testAssignProfileVar1D(), testAssignVar1D(), testClone1D(), testClone2D(), testClone3D(), testCloneProfile1D(), testCloneProfile2D(), testCloneProfile3D(), testCloneProfileVar1D(), testCloneSparse(), testCloneVar1D(), testConversion1D(), testConversion2D(), testConversion3D(), testCopyConstructor1D(), testCopyConstructor2D(), testCopyConstructor3D(), testCopyConstructorProfile1D(), testCopyConstructorProfile2D(), testCopyConstructorProfile3D(), testCopyConstructorProfileVar1D(), testCopyConstructorVar1D(), testDivide1(), testDivide2(), testDivide2D1(), testDivide2D2(), testDivide3D1(), testDivide3D2(), testDivideVar1(), testDivideVar2(), testDivSparse1(), testDivSparse2(), testIntegerRebin(), testIntegerRebinNoName(), testIntegerRebinNoNameProfile(), testIntegerRebinProfile(), testLabel(), testLabelsInflateProf1D(), testMerge1D(), testMerge1DDiff(), testMerge1DLabelAll(), testMerge1DLabelAllDiff(), testMerge1DLabelDiff(), testMerge1DLabelSame(), testMerge2D(), testMerge2DDiff(), testMerge2DLabelAll(), testMerge2DLabelAllDiff(), testMerge2DLabelDiff(), testMerge2DLabelSame(), testMerge3D(), testMerge3DDiff(), testMerge3DLabelAll(), testMerge3DLabelAllDiff(), testMerge3DLabelDiff(), testMerge3DLabelSame(), testMergeProf1D(), testMergeProf1DDiff(), testMergeProf1DLabelAll(), testMergeProf1DLabelAllDiff(), testMergeProf1DLabelDiff(), testMergeProf1DLabelSame(), testMergeProf2D(), testMergeProf2DDiff(), testMergeProf2DLabelAll(), testMergeProf2DLabelAllDiff(), testMergeProf2DLabelDiff(), testMergeProf2DLabelSame(), testMergeProf3D(), testMergeProf3DDiff(), testMergeProf3DLabelAll(), testMergeProf3DLabelAllDiff(), testMergeProf3DLabelDiff(), testMergeProf3DLabelSame(), testMergeProfVar1D(), testMergeSparse(), testMergeVar1D(), testMul1(), testMul2(), testMul2D1(), testMul2D2(), testMul3D1(), testMul3D2(), testMulF1D(), testMulF1D2(), testMulF2D(), testMulF2D2(), testMulF3D(), testMulF3D2(), testMulFND(), testMulFND2(), testMulSparse(), testMulVar1(), testMulVar2(), testPermute(), testRefRead1D(), testRefRead2D(), testRefRead3D(), testRefReadProf1D(), testRefReadProf2D(), testRefReadProf3D(), testRefReadSparse(), testScale1DProf(), testScale2DProf(), testScale3DProf(), testSort(), testSparseRebin1(), testTH2toTH1(), testTH3toTH1(), testTH3toTH2(), testWriteRead1D(), testWriteRead2D(), testWriteRead3D(), testWriteReadProfile1D(), testWriteReadProfile2D(), testWriteReadProfile3D(), testWriteReadProfileVar1D(), testWriteReadSparse(), and testWriteReadVar1D().

int equals ( const char *  msg,
THnSparse h1,
TH1 h2,
int  options = 0,
double  ERRORLIMIT = defaultErrorLimit 
)

Definition at line 9072 of file stressHistogram.cxx.

References array, cmpOptDebug, cmpOptNoError, cmpOptPrint, debug, defaultEqualOptions, equals(), Fatal(), h2, i, Long64_t, s, and v1.

int equals ( const char *  msg,
THnSparse h1,
THnSparse h2,
int  options = 0,
double  ERRORLIMIT = defaultErrorLimit 
)

Definition at line 9020 of file stressHistogram.cxx.

References cmpOptDebug, cmpOptNoError, cmpOptPrint, debug, defaultEqualOptions, equals(), ROOT::Math::fabs(), TH1::GetBinCenter(), TH2D::GetBinContent(), TH1::GetBinError(), h, h1, h2, i, j, x, and y.

int equals ( const char *  msg,
TH3D h1,
TH3D h2,
int  options = 0,
double  ERRORLIMIT = defaultErrorLimit 
)

Definition at line 9132 of file stressHistogram.cxx.

References cmpOptDebug, cmpOptNoError, cmpOptPrint, cmpOptStats, compareStatistics(), debug, defaultEqualOptions, equals(), ROOT::Math::fabs(), TAxis::GetBinCenter(), TH2D::GetBinContent(), TH1::GetBinError(), TH1::GetNbinsX(), TH1::GetNbinsY(), TH1::GetXaxis(), TH1::GetYaxis(), TH1::GetZaxis(), h, h1, h2, i, j, x, and y.

int equals ( const char *  msg,
TH2D h1,
TH2D h2,
int  options = 0,
double  ERRORLIMIT = defaultErrorLimit 
)

Definition at line 9187 of file stressHistogram.cxx.

References cmpOptDebug, cmpOptNoError, cmpOptPrint, cmpOptStats, compareStatistics(), debug, defaultEqualOptions, equals(), ROOT::Math::fabs(), TAxis::GetBinCenter(), TH2D::GetBinContent(), TH1::GetBinError(), TH1::GetNbinsX(), TH1::GetNbinsY(), TH1::GetXaxis(), TH1::GetYaxis(), h1, h2, i, j, x, and y.

int equals ( const char *  msg,
TH1D h1,
TH1D h2,
int  options = 0,
double  ERRORLIMIT = defaultErrorLimit 
)

Definition at line 9238 of file stressHistogram.cxx.

References cmpOptDebug, cmpOptNoError, cmpOptPrint, cmpOptStats, compareStatistics(), debug, defaultEqualOptions, equals(), TAxis::GetBinCenter(), TH2D::GetBinContent(), TH1::GetBinError(), TAxis::GetNbins(), TH1::GetNbinsX(), TH1::GetXaxis(), h1, h2, i, and x.

void FillHistograms ( TH1D h1,
TH1D h2,
Double_t  c1 = 1.0,
Double_t  c2 = 1.0 
)

Definition at line 8999 of file stressHistogram.cxx.

References TH2::Fill(), h1, h2, maxRange, minRange, nEvents, and value.

Referenced by testAdd1(), testAdd2(), testAddVar1(), testAddVar2(), testMerge1D(), and testMergeVar1D().

void FillProfiles ( TProfile p1,
TProfile p2,
Double_t  c1 = 1.0,
Double_t  c2 = 1.0 
)

Definition at line 9008 of file stressHistogram.cxx.

References maxRange, minRange, nEvents, p1(), p2(), x, and y.

Referenced by testAddVarProf1(), testAddVarProf2(), testMergeProf1D(), and testMergeProfVar1D().

void FillVariableRange ( Double_t  v[numberOfBins+1]  ) 

Definition at line 8980 of file stressHistogram.cxx.

References i, k, maxRange, minRange, and numberOfBins.

int findBin ( ROOT::Fit::SparseData sd,
const vector< double > &  minRef,
const vector< double > &  maxRef,
const double  valRef,
const double  errorRef 
)

Definition at line 6102 of file stressHistogram.cxx.

References E, equals(), error, ROOT::Fit::SparseData::GetPoint(), i, j, max, min, ROOT::Fit::SparseData::NDim(), ROOT::Fit::SparseData::NPoints(), and val.

int findBin ( ROOT::Fit::BinData bd,
const double x 
)

Definition at line 6032 of file stressHistogram.cxx.

References E, ROOT::Math::fabs(), ROOT::Fit::BinData::GetPoint(), i, j, ROOT::Fit::BinData::NDim(), ROOT::Fit::BinData::NPoints(), and x1.

Double_t function1D ( Double_t  x  ) 

Definition at line 5407 of file stressHistogram.cxx.

References a.

Referenced by testInterpolation1D(), and testInterpolationVar1D().

Double_t function2D ( Double_t  x,
Double_t  y 
)

Definition at line 5490 of file stressHistogram.cxx.

References a, and b.

Referenced by testInterpolation2D().

Double_t function3D ( Double_t  x,
Double_t  y,
Double_t  z 
)

Definition at line 5540 of file stressHistogram.cxx.

References a, and b.

Referenced by testInterpolation3D().

double gaus1d ( const double x,
const double p 
)

Definition at line 5715 of file stressHistogram.cxx.

References TMath::Gaus().

Referenced by testBinDataData1D(), testBinDataData1DInt(), testConversion1D(), testSparseData1DFull(), and testSparseData1DSparse().

double gaus2d ( const double x,
const double p 
)

Definition at line 5718 of file stressHistogram.cxx.

References TMath::Gaus().

double gaus3d ( const double x,
const double p 
)

Definition at line 5721 of file stressHistogram.cxx.

References TMath::Gaus().

int main ( int  argc,
char **  argv 
)

Definition at line 9364 of file stressHistogram.cxx.

References __DRAW__, defaultEqualOptions, TApplication::Run(), TH1::SetDefaultSumw2(), and stressHistogram().

ostream & operator<< ( ostream &  out,
TH1D h 
)

Definition at line 8959 of file stressHistogram.cxx.

References h, and i.

bool operator== ( ROOT::Fit::SparseData sd1,
ROOT::Fit::SparseData sd2 
)

Definition at line 6149 of file stressHistogram.cxx.

References equals(), error, findBin(), ROOT::Fit::SparseData::GetPoint(), i, max, min, ROOT::Fit::SparseData::NDim(), ROOT::Fit::SparseData::NPoints(), and val.

bool operator== ( ROOT::Fit::BinData bd1,
ROOT::Fit::BinData bd2 
)

Definition at line 6064 of file stressHistogram.cxx.

References E, equals(), ROOT::Math::fabs(), Fatal(), findBin(), ROOT::Fit::BinData::GetPoint(), i, j, ROOT::Fit::BinData::NDim(), ROOT::Fit::BinData::NPoints(), x1, and x2.

void printResult ( const char *  msg,
bool  status 
)

Definition at line 8969 of file stressHistogram.cxx.

int stressHistogram (  ) 

Definition at line 8610 of file stressHistogram.cxx.

References TProfile3D::Approximate(), TProfile2D::Approximate(), TProfile::Approximate(), ProjectionTester::buildHistograms(), ProjectionTester::buildHistogramsWithWeights(), cmpOptPrint, ProjectionTester::compareHistograms(), defaultEqualOptions, TBenchmark::GetCpuTime(), TROOT::GetListOfTypes(), TROOT::GetSvnBranch(), TROOT::GetSvnRevision(), TROOT::GetVersion(), gROOT, i, initialSeed, j, kTRUE, TTestSuite::nTests, TFile::Open(), TBenchmark::Print(), printResult(), refFile, refFileName, refFileOption, refFileWrite, TH1::SetDefaultSumw2(), TBenchmark::Start(), TBenchmark::Stop(), TTestSuite::suiteName, test2DRebin(), test2DRebinProfile(), testAdd1(), testAdd2(), testAdd2D1(), testAdd2D2(), testAdd2D3(), testAdd2DProfile1(), testAdd2DProfile2(), testAdd3(), testAdd3D1(), testAdd3D2(), testAdd3D3(), testAdd3DProfile1(), testAdd3DProfile2(), testAddProfile1(), testAddProfile2(), testAddSparse(), testAddVar1(), testAddVar2(), testAddVarProf1(), testAddVarProf2(), testArrayRebin(), testArrayRebinProfile(), testAssign1D(), testAssign2D(), testAssign3D(), testAssignProfile1D(), testAssignProfile2D(), testAssignProfile3D(), testAssignProfileVar1D(), testAssignVar1D(), testBinDataData1D(), testBinDataData1DInt(), testBinDataData2D(), testBinDataData2DInt(), testBinDataData3D(), testBinDataData3DInt(), testClone1D(), testClone2D(), testClone3D(), testCloneProfile1D(), testCloneProfile2D(), testCloneProfile3D(), testCloneProfileVar1D(), testCloneSparse(), testCloneVar1D(), testConversion1D(), testConversion2D(), testConversion3D(), testCopyConstructor1D(), testCopyConstructor2D(), testCopyConstructor3D(), testCopyConstructorProfile1D(), testCopyConstructorProfile2D(), testCopyConstructorProfile3D(), testCopyConstructorProfileVar1D(), testCopyConstructorVar1D(), testDivide1(), testDivide2(), testDivide2D1(), testDivide2D2(), testDivide3D1(), testDivide3D2(), testDivideVar1(), testDivideVar2(), testDivSparse1(), testDivSparse2(), testH1Integral(), testH2Integral(), testH3Integral(), testIntegerRebin(), testIntegerRebinNoName(), testIntegerRebinNoNameProfile(), testIntegerRebinProfile(), testInterpolation1D(), testInterpolation2D(), testInterpolation3D(), testInterpolationVar1D(), testLabel(), testLabelsInflateProf1D(), testMerge1D(), testMerge1DDiff(), testMerge1DLabelAll(), testMerge1DLabelSame(), testMerge2D(), testMerge2DDiff(), testMerge2DLabelAll(), testMerge2DLabelAllDiff(), testMerge2DLabelDiff(), testMerge2DLabelSame(), testMerge3D(), testMerge3DLabelAll(), testMerge3DLabelAllDiff(), testMerge3DLabelDiff(), testMerge3DLabelSame(), testMergeProf1D(), testMergeProf1DDiff(), testMergeProf1DLabelAll(), testMergeProf1DLabelAllDiff(), testMergeProf1DLabelDiff(), testMergeProf1DLabelSame(), testMergeProf2D(), testMergeProf2DLabelAll(), testMergeProf2DLabelAllDiff(), testMergeProf2DLabelDiff(), testMergeProf2DLabelSame(), testMergeProf3D(), testMergeProf3DLabelAll(), testMergeProf3DLabelAllDiff(), testMergeProf3DLabelDiff(), testMergeProf3DLabelSame(), testMergeProfVar1D(), testMergeSparse(), testMergeVar1D(), testMul1(), testMul2(), testMul2D1(), testMul2D2(), testMul3D1(), testMul3D2(), testMulF1D(), testMulF1D2(), testMulF2D(), testMulF2D2(), testMulF3D(), testMulF3D2(), testMulFND(), testMulFND2(), testMulSparse(), testMulVar1(), testMulVar2(), testRefRead1D(), testRefRead2D(), testRefRead3D(), testRefReadProf1D(), testRefReadProf2D(), testRefReadProf3D(), testRefReadSparse(), tests(), TTestSuite::tests, testScale1DProf(), testScale2DProf(), testScale3DProf(), testSparseData1DFull(), testSparseData1DSparse(), testSparseData2DFull(), testSparseData2DSparse(), testSparseData3DFull(), testSparseData3DSparse(), testSparseRebin1(), testTH2toTH1(), testTH3toTH1(), testTH3toTH2(), testWriteRead1D(), testWriteRead2D(), testWriteRead3D(), testWriteReadProfile1D(), testWriteReadProfile2D(), testWriteReadProfile3D(), testWriteReadProfileVar1D(), testWriteReadSparse(), testWriteReadVar1D(), and Warning().

Referenced by main().

bool test2DRebin (  ) 

Definition at line 7136 of file stressHistogram.cxx.

References cmpOptStats, equals(), TH2::Fill(), TH1::GetXaxis(), TAxis::GetXmax(), TAxis::GetXmin(), TH1::GetYaxis(), i, maxRange, maxRebin, minRange, minRebin, nEvents, TMath::Nint(), and seed.

Referenced by stressHistogram().

bool test2DRebinProfile (  ) 

Definition at line 7168 of file stressHistogram.cxx.

References cmpOptStats, equals(), TProfile2D::Fill(), TH1::GetXaxis(), TAxis::GetXmax(), TAxis::GetXmin(), TH1::GetYaxis(), i, maxRange, maxRebin, minRange, minRebin, nEvents, TMath::Nint(), and seed.

Referenced by stressHistogram().

bool testAdd1 (  ) 

Definition at line 155 of file stressHistogram.cxx.

References TH1::Add(), c1, cmpOptStats, E, equals(), FillHistograms(), h1, h2, maxRange, minRange, numberOfBins, and TH1::Sumw2().

Referenced by stressHistogram().

bool testAdd2 (  ) 

Definition at line 216 of file stressHistogram.cxx.

References TH1::Add(), cmpOptStats, E, equals(), FillHistograms(), maxRange, minRange, numberOfBins, and TH1::Sumw2().

Referenced by stressHistogram().

bool testAdd2D1 (  ) 

Definition at line 486 of file stressHistogram.cxx.

References TH1::Add(), c1, cmpOptStats, E, equals(), TH2::Fill(), h1, h2, maxRange, minRange, nEvents, numberOfBins, TH1::Sumw2(), x, and y.

Referenced by stressHistogram().

bool testAdd2D2 (  ) 

Definition at line 578 of file stressHistogram.cxx.

References TH1::Add(), cmpOptStats, E, equals(), TH2::Fill(), h1, h2, maxRange, minRange, nEvents, numberOfBins, TH1::Sumw2(), x, and y.

Referenced by stressHistogram().

bool testAdd2D3 (  ) 

Definition at line 407 of file stressHistogram.cxx.

References TH1::Add(), c1, cmpOptStats, E, equals(), TH2::Fill(), TAxis::FindBin(), TAxis::GetBinWidth(), TH1::GetXaxis(), TH1::GetYaxis(), h1, h2, maxRange, minRange, nEvents, numberOfBins, TH1::Sumw2(), x, and y.

Referenced by stressHistogram().

bool testAdd2DProfile1 (  ) 

Definition at line 532 of file stressHistogram.cxx.

References c1, cmpOptStats, E, equals(), maxRange, minRange, nEvents, numberOfBins, p1(), p2(), p3(), p4(), x, and y.

Referenced by stressHistogram().

bool testAdd2DProfile2 (  ) 

Definition at line 619 of file stressHistogram.cxx.

References cmpOptStats, E, equals(), maxRange, minRange, nEvents, numberOfBins, p1(), p2(), p3(), x, and y.

Referenced by stressHistogram().

bool testAdd3 (  ) 

Definition at line 271 of file stressHistogram.cxx.

References TH1::Add(), c1, cmpOptStats, E, equals(), TH2::Fill(), TH1::FindBin(), TH1::GetBinWidth(), h1, h2, maxRange, minRange, nEvents, numberOfBins, TH1::Sumw2(), and value.

Referenced by stressHistogram().

bool testAdd3D1 (  ) 

Definition at line 660 of file stressHistogram.cxx.

References TH1::Add(), c1, cmpOptStats, E, equals(), TH3::Fill(), TH2::Fill(), h1, h2, maxRange, minRange, nEvents, numberOfBins, TH1::Sumw2(), x, and y.

Referenced by stressHistogram().

bool testAdd3D2 (  ) 

Definition at line 764 of file stressHistogram.cxx.

References TH1::Add(), cmpOptStats, E, equals(), TH3::Fill(), TH2::Fill(), h1, h2, maxRange, minRange, nEvents, numberOfBins, TH1::Sumw2(), x, and y.

Referenced by stressHistogram().

bool testAdd3D3 (  ) 

Definition at line 443 of file stressHistogram.cxx.

References TH1::Add(), c1, cmpOptStats, E, equals(), TH2::Fill(), TAxis::FindBin(), TAxis::GetBinWidth(), TH1::GetXaxis(), TH1::GetYaxis(), TH1::GetZaxis(), h1, h2, maxRange, minRange, nEvents, numberOfBins, TH1::Sumw2(), x, and y.

Referenced by stressHistogram().

bool testAdd3DProfile1 (  ) 

Definition at line 712 of file stressHistogram.cxx.

References c1, cmpOptStats, E, equals(), maxRange, minRange, nEvents, numberOfBins, p1(), p2(), p3(), p4(), t, x, and y.

Referenced by stressHistogram().

bool testAdd3DProfile2 (  ) 

Definition at line 810 of file stressHistogram.cxx.

References cmpOptStats, E, equals(), maxRange, minRange, nEvents, numberOfBins, p1(), p2(), p3(), t, x, and y.

Referenced by stressHistogram().

bool testAddProfile1 (  ) 

Definition at line 181 of file stressHistogram.cxx.

References c1, cmpOptStats, E, equals(), maxRange, minRange, nEvents, numberOfBins, p1(), p2(), p3(), p4(), x, and y.

Referenced by stressHistogram().

bool testAddProfile2 (  ) 

Definition at line 239 of file stressHistogram.cxx.

References TProfile::Add(), cmpOptStats, E, equals(), TProfile::Fill(), maxRange, minRange, nEvents, numberOfBins, x, and y.

Referenced by stressHistogram().

bool testAddSparse (  ) 

Definition at line 856 of file stressHistogram.cxx.

References bsize, c, cmpOptStats, E, equals(), THnSparse::Fill(), maxRange, minRange, nEvents, TMath::Nint(), points, s1, s2, THnSparse::Sumw2(), xmax, and xmin.

Referenced by stressHistogram().

bool testAddVar1 (  ) 

Definition at line 297 of file stressHistogram.cxx.

References TH1::Add(), c1, cmpOptStats, E, equals(), FillHistograms(), FillVariableRange(), h1, h2, numberOfBins, and TH1::Sumw2().

Referenced by stressHistogram().

bool testAddVar2 (  ) 

Definition at line 355 of file stressHistogram.cxx.

References TH1::Add(), cmpOptStats, E, equals(), FillHistograms(), FillVariableRange(), numberOfBins, and TH1::Sumw2().

Referenced by stressHistogram().

bool testAddVarProf1 (  ) 

Definition at line 326 of file stressHistogram.cxx.

References c1, cmpOptStats, E, equals(), FillProfiles(), FillVariableRange(), numberOfBins, p1(), p2(), p3(), and p4().

Referenced by stressHistogram().

bool testAddVarProf2 (  ) 

Definition at line 381 of file stressHistogram.cxx.

References TProfile::Add(), cmpOptStats, E, equals(), FillProfiles(), FillVariableRange(), numberOfBins, and TProfile::Sumw2().

Referenced by stressHistogram().

bool testArrayRebin (  ) 

Definition at line 7038 of file stressHistogram.cxx.

References cmpOptStats, equals(), TH2::Fill(), TH1::GetBinLowEdge(), TH1::GetNbinsX(), h1, h2, i, maxRange, maxRebin, minRange, minRebin, nEvents, TMath::Nint(), TH1::Rebin(), rebin(), seed, and sort().

Referenced by stressHistogram().

bool testArrayRebinProfile (  ) 

Definition at line 7085 of file stressHistogram.cxx.

References cmpOptStats, equals(), i, maxRange, maxRebin, minRange, minRebin, nEvents, TMath::Nint(), p1(), p2(), p3(), rebin(), seed, sort(), x, and y.

Referenced by stressHistogram().

bool testAssign1D (  ) 

Definition at line 2304 of file stressHistogram.cxx.

References cmpOptStats, equals(), TH2::Fill(), h1, h2, maxRange, minRange, nEvents, numberOfBins, TH1::Sumw2(), and value.

Referenced by stressHistogram().

bool testAssign2D (  ) 

Definition at line 2560 of file stressHistogram.cxx.

References cmpOptStats, equals(), TH2::Fill(), h1, h2, maxRange, minRange, nEvents, numberOfBins, TH1::Sumw2(), x, and y.

Referenced by stressHistogram().

bool testAssign3D (  ) 

Definition at line 2702 of file stressHistogram.cxx.

References cmpOptStats, equals(), TH2::Fill(), h1, h2, maxRange, minRange, nEvents, numberOfBins, TH1::Sumw2(), x, and y.

Referenced by stressHistogram().

bool testAssignProfile1D (  ) 

Definition at line 2349 of file stressHistogram.cxx.

References cmpOptStats, equals(), maxRange, minRange, nEvents, numberOfBins, p1(), p2(), x, and y.

Referenced by stressHistogram().

bool testAssignProfile2D (  ) 

Definition at line 2586 of file stressHistogram.cxx.

References cmpOptStats, equals(), maxRange, minRange, nEvents, numberOfBins, p1(), p2(), x, and y.

Referenced by stressHistogram().

bool testAssignProfile3D (  ) 

Definition at line 2731 of file stressHistogram.cxx.

References equals(), maxRange, minRange, nEvents, numberOfBins, p1(), p2(), t, x, and y.

Referenced by stressHistogram().

bool testAssignProfileVar1D (  ) 

Definition at line 2369 of file stressHistogram.cxx.

References cmpOptStats, equals(), FillVariableRange(), maxRange, minRange, nEvents, numberOfBins, p1(), p2(), x, and y.

Referenced by stressHistogram().

bool testAssignVar1D (  ) 

Definition at line 2325 of file stressHistogram.cxx.

References cmpOptStats, equals(), TH2::Fill(), FillVariableRange(), h1, h2, maxRange, minRange, nEvents, numberOfBins, TH1::Sumw2(), and value.

Referenced by stressHistogram().

bool testBinDataData1D (  ) 

Definition at line 6411 of file stressHistogram.cxx.

References cmpOptPrint, THnSparse::CreateSparse(), defaultEqualOptions, TH2::Fill(), ROOT::Fit::FillData(), func(), gaus1d(), ROOT::Fit::SparseData::GetBinData(), h1, max, maxRange, min, minRange, nEvents, numberOfBins, s1, and value.

Referenced by stressHistogram().

bool testBinDataData1DInt (  ) 

Definition at line 6536 of file stressHistogram.cxx.

References cmpOptPrint, THnSparse::CreateSparse(), defaultEqualOptions, TH2::Fill(), ROOT::Fit::FillData(), ROOT::Fit::DataOptions::fIntegral, func(), ROOT::Fit::DataOptions::fUseEmpty, gaus1d(), ROOT::Fit::SparseData::GetBinDataIntegral(), h1, max, maxRange, min, minRange, nEvents, numberOfBins, s1, and value.

Referenced by stressHistogram().

bool testBinDataData2D (  ) 

Definition at line 6450 of file stressHistogram.cxx.

References cmpOptPrint, THnSparse::CreateSparse(), defaultEqualOptions, TH2::Fill(), ROOT::Fit::FillData(), func(), gaus2d(), ROOT::Fit::SparseData::GetBinData(), h2, max, maxRange, min, minRange, ROOT::Fit::SparseData::NDim(), nEvents, ROOT::Fit::SparseData::NPoints(), numberOfBins, s2, x, and y.

Referenced by stressHistogram().

bool testBinDataData2DInt (  ) 

Definition at line 6579 of file stressHistogram.cxx.

References cmpOptPrint, THnSparse::CreateSparse(), defaultEqualOptions, TH2::Fill(), ROOT::Fit::FillData(), ROOT::Fit::DataOptions::fIntegral, func(), ROOT::Fit::DataOptions::fUseEmpty, gaus2d(), ROOT::Fit::SparseData::GetBinDataIntegral(), h2, max, maxRange, min, minRange, ROOT::Fit::SparseData::NDim(), nEvents, ROOT::Fit::SparseData::NPoints(), numberOfBins, s2, x, and y.

Referenced by stressHistogram().

bool testBinDataData3D (  ) 

Definition at line 6492 of file stressHistogram.cxx.

References cmpOptPrint, THnSparse::CreateSparse(), defaultEqualOptions, TH3::Fill(), ROOT::Fit::FillData(), func(), gaus3d(), ROOT::Fit::SparseData::GetBinData(), max, maxRange, min, minRange, ROOT::Fit::SparseData::NDim(), nEvents, ROOT::Fit::SparseData::NPoints(), numberOfBins, x, and y.

Referenced by stressHistogram().

bool testBinDataData3DInt (  ) 

Definition at line 6625 of file stressHistogram.cxx.

References cmpOptPrint, THnSparse::CreateSparse(), defaultEqualOptions, TH3::Fill(), ROOT::Fit::FillData(), ROOT::Fit::DataOptions::fIntegral, func(), ROOT::Fit::DataOptions::fUseEmpty, gaus3d(), ROOT::Fit::SparseData::GetBinDataIntegral(), max, maxRange, min, minRange, ROOT::Fit::SparseData::NDim(), nEvents, ROOT::Fit::SparseData::NPoints(), numberOfBins, x, and y.

Referenced by stressHistogram().

bool testClone1D (  ) 

Definition at line 2476 of file stressHistogram.cxx.

References TNamed::Clone(), cmpOptStats, equals(), TH2::Fill(), h1, h2, maxRange, minRange, nEvents, numberOfBins, TH1::Sumw2(), and value.

Referenced by stressHistogram().

bool testClone2D (  ) 

Definition at line 2657 of file stressHistogram.cxx.

References TNamed::Clone(), cmpOptStats, equals(), TH2::Fill(), h1, h2, maxRange, minRange, nEvents, numberOfBins, TH1::Sumw2(), x, and y.

Referenced by stressHistogram().

bool testClone3D (  ) 

Definition at line 2808 of file stressHistogram.cxx.

References TNamed::Clone(), cmpOptStats, equals(), TH2::Fill(), h1, h2, maxRange, minRange, nEvents, numberOfBins, TH1::Sumw2(), x, and y.

Referenced by stressHistogram().

bool testCloneProfile1D (  ) 

Definition at line 2519 of file stressHistogram.cxx.

References cmpOptStats, equals(), maxRange, minRange, nEvents, numberOfBins, p1(), p2(), x, and y.

Referenced by stressHistogram().

bool testCloneProfile2D (  ) 

Definition at line 2680 of file stressHistogram.cxx.

References cmpOptStats, equals(), maxRange, minRange, nEvents, numberOfBins, p1(), p2(), x, and y.

Referenced by stressHistogram().

bool testCloneProfile3D (  ) 

Definition at line 2833 of file stressHistogram.cxx.

References equals(), maxRange, minRange, nEvents, numberOfBins, p1(), p2(), t, x, and y.

Referenced by stressHistogram().

bool testCloneProfileVar1D (  ) 

Definition at line 2538 of file stressHistogram.cxx.

References cmpOptStats, equals(), FillVariableRange(), maxRange, minRange, nEvents, numberOfBins, p1(), p2(), x, and y.

Referenced by stressHistogram().

bool testCloneSparse (  ) 

Definition at line 2857 of file stressHistogram.cxx.

References equals(), i, maxRange, minRange, nEvents, TMath::Nint(), points, s1, s2, xmax, and xmin.

Referenced by stressHistogram().

bool testCloneVar1D (  ) 

Definition at line 2496 of file stressHistogram.cxx.

References TNamed::Clone(), cmpOptStats, equals(), TH2::Fill(), FillVariableRange(), h1, h2, maxRange, minRange, nEvents, numberOfBins, TH1::Sumw2(), and value.

Referenced by stressHistogram().

bool testConversion1D (  ) 

Definition at line 5863 of file stressHistogram.cxx.

References THnSparse::CreateSparse(), equals(), TH1::FillRandom(), gaus1d(), and nbins.

Referenced by stressHistogram().

bool testConversion2D (  ) 

Definition at line 5908 of file stressHistogram.cxx.

References THnSparse::CreateSparse(), equals(), TH2::FillRandom(), gaus2d(), and nbins.

Referenced by stressHistogram().

bool testConversion3D (  ) 

Definition at line 5967 of file stressHistogram.cxx.

References THnSparse::CreateSparse(), equals(), TH3::FillRandom(), gaus3d(), and nbins.

Referenced by stressHistogram().

bool testCopyConstructor1D (  ) 

Definition at line 2392 of file stressHistogram.cxx.

References cmpOptStats, equals(), TH2::Fill(), h1, h2, maxRange, minRange, nEvents, numberOfBins, TH1::Sumw2(), and value.

Referenced by stressHistogram().

bool testCopyConstructor2D (  ) 

Definition at line 2612 of file stressHistogram.cxx.

References cmpOptStats, equals(), TH2::Fill(), h1, h2, maxRange, minRange, nEvents, numberOfBins, TH1::Sumw2(), x, and y.

Referenced by stressHistogram().

bool testCopyConstructor3D (  ) 

Definition at line 2759 of file stressHistogram.cxx.

References cmpOptStats, equals(), TH2::Fill(), h1, h2, maxRange, minRange, nEvents, numberOfBins, TH1::Sumw2(), x, and y.

Referenced by stressHistogram().

bool testCopyConstructorProfile1D (  ) 

Definition at line 2435 of file stressHistogram.cxx.

References cmpOptStats, equals(), maxRange, minRange, nEvents, numberOfBins, p1(), p2(), x, and y.

Referenced by stressHistogram().

bool testCopyConstructorProfile2D (  ) 

Definition at line 2635 of file stressHistogram.cxx.

References cmpOptStats, equals(), maxRange, minRange, nEvents, numberOfBins, p1(), p2(), x, and y.

Referenced by stressHistogram().

bool testCopyConstructorProfile3D (  ) 

Definition at line 2784 of file stressHistogram.cxx.

References equals(), maxRange, minRange, nEvents, numberOfBins, p1(), p2(), t, x, and y.

Referenced by stressHistogram().

bool testCopyConstructorProfileVar1D (  ) 

Definition at line 2454 of file stressHistogram.cxx.

References cmpOptStats, equals(), FillVariableRange(), maxRange, minRange, nEvents, numberOfBins, p1(), p2(), x, and y.

Referenced by stressHistogram().

bool testCopyConstructorVar1D (  ) 

Definition at line 2412 of file stressHistogram.cxx.

References cmpOptStats, equals(), TH2::Fill(), FillVariableRange(), h1, h2, maxRange, minRange, nEvents, numberOfBins, TH1::Sumw2(), and value.

Referenced by stressHistogram().

bool testDivide1 (  ) 

Definition at line 1708 of file stressHistogram.cxx.

References cmpOptStats, TH1::Divide(), equals(), error, TH2::Fill(), TH1D::GetBinContent(), TH2D::GetBinContent(), TH1::GetBinError(), TH1::GetNbinsX(), TArray::GetSize(), h1, h2, i, maxRange, minRange, TH1::Multiply(), nEvents, numberOfBins, TH1::ResetStats(), seed, TH2D::SetBinContent(), TH1::SetBinError(), sqrt(), TH1::Sumw2(), and value.

Referenced by stressHistogram().

bool testDivide2 (  ) 

Definition at line 1843 of file stressHistogram.cxx.

References TNamed::Clone(), cmpOptStats, TH1::Divide(), equals(), error, TH2::Fill(), TH1D::GetBinContent(), TH2D::GetBinContent(), TH1::GetBinError(), TH1::GetNbinsX(), TArray::GetSize(), h1, h2, i, maxRange, minRange, TH1::Multiply(), nEvents, numberOfBins, TH1::ResetStats(), seed, TH2D::SetBinContent(), TH1::SetBinError(), sqrt(), TH1::Sumw2(), and value.

Referenced by stressHistogram().

bool testDivide2D1 (  ) 

Definition at line 1934 of file stressHistogram.cxx.

References cmpOptStats, TH1::Divide(), equals(), error, TH2::Fill(), TH2D::GetBinContent(), TH1::GetBinError(), TH1::GetNbinsX(), TH1::GetNbinsY(), TArray::GetSize(), h1, h2, i, j, maxRange, minRange, TH1::Multiply(), nEvents, numberOfBins, TH1::ResetStats(), seed, TH2D::SetBinContent(), TH1::SetBinError(), sqrt(), TH1::Sumw2(), x, and y.

Referenced by stressHistogram().

bool testDivide2D2 (  ) 

Definition at line 1993 of file stressHistogram.cxx.

References TNamed::Clone(), cmpOptStats, TH1::Divide(), equals(), error, TH2::Fill(), TH2D::GetBinContent(), TH1::GetBinError(), TH1::GetNbinsX(), TH1::GetNbinsY(), TArray::GetSize(), h1, h2, i, j, maxRange, minRange, TH1::Multiply(), nEvents, numberOfBins, TH1::ResetStats(), seed, TH2D::SetBinContent(), TH1::SetBinError(), sqrt(), TH1::Sumw2(), x, and y.

Referenced by stressHistogram().

bool testDivide3D1 (  ) 

Definition at line 2047 of file stressHistogram.cxx.

References cmpOptStats, TH1::Divide(), equals(), error, TH2::Fill(), TH3D::GetBinContent(), TH2D::GetBinContent(), TH1::GetBinError(), TH1::GetNbinsX(), TH1::GetNbinsY(), TH1::GetNbinsZ(), TArray::GetSize(), h, h1, h2, i, j, maxRange, minRange, TH1::Multiply(), nEvents, numberOfBins, TH1::ResetStats(), seed, TH2D::SetBinContent(), TH1::SetBinError(), sqrt(), TH1::Sumw2(), x, and y.

Referenced by stressHistogram().

bool testDivide3D2 (  ) 

Definition at line 2116 of file stressHistogram.cxx.

References TNamed::Clone(), cmpOptStats, TH1::Divide(), equals(), error, TH2::Fill(), TH3D::GetBinContent(), TH2D::GetBinContent(), TH1::GetBinError(), TH1::GetNbinsX(), TH1::GetNbinsY(), TH1::GetNbinsZ(), TArray::GetSize(), h, h1, h2, i, j, maxRange, minRange, TH1::Multiply(), nEvents, numberOfBins, TH1::ResetStats(), seed, TH2D::SetBinContent(), TH1::SetBinError(), sqrt(), TH1::Sumw2(), x, and y.

Referenced by stressHistogram().

bool testDivideProf1 (  ) 

Definition at line 1806 of file stressHistogram.cxx.

References maxRange, minRange, nEvents, numberOfBins, p1(), p2(), p3(), seed, x, and y.

bool testDivideVar1 (  ) 

Definition at line 1755 of file stressHistogram.cxx.

References cmpOptStats, TH1::Divide(), equals(), error, TH2::Fill(), FillVariableRange(), TH1D::GetBinContent(), TH2D::GetBinContent(), TH1::GetBinError(), TH1::GetNbinsX(), TArray::GetSize(), h1, h2, i, maxRange, minRange, TH1::Multiply(), nEvents, numberOfBins, TH1::ResetStats(), seed, TH2D::SetBinContent(), TH1::SetBinError(), sqrt(), TH1::Sumw2(), and value.

Referenced by stressHistogram().

bool testDivideVar2 (  ) 

Definition at line 1887 of file stressHistogram.cxx.

References TNamed::Clone(), cmpOptStats, TH1::Divide(), equals(), error, TH2::Fill(), FillVariableRange(), TH1D::GetBinContent(), TH2D::GetBinContent(), TH1::GetBinError(), TH1::GetNbinsX(), TArray::GetSize(), h1, h2, i, maxRange, minRange, TH1::Multiply(), nEvents, numberOfBins, TH1::ResetStats(), seed, TH2D::SetBinContent(), TH1::SetBinError(), sqrt(), TH1::Sumw2(), and value.

Referenced by stressHistogram().

bool testDivSparse1 (  ) 

Definition at line 2177 of file stressHistogram.cxx.

References cmpOptNone, THnSparse::Divide(), E, equals(), error, THnSparse::Fill(), THnSparse::GetBinContent(), THnSparse::GetBinError(), THnSparse::GetNbins(), i, Long64_t, maxRange, minRange, THnSparse::Multiply(), nEvents, TMath::Nint(), points, s1, s2, seed, THnSparse::SetBinError(), sqrt(), THnSparse::Sumw2(), xmax, and xmin.

Referenced by stressHistogram().

bool testDivSparse2 (  ) 

Definition at line 2239 of file stressHistogram.cxx.

References cmpOptNone, THnSparse::Divide(), E, equals(), error, THnSparse::Fill(), THnSparse::GetBinContent(), THnSparse::GetBinError(), THnSparse::GetNbins(), i, Long64_t, maxRange, minRange, THnSparse::Multiply(), nEvents, TMath::Nint(), points, s1, s2, seed, THnSparse::SetBinError(), sqrt(), THnSparse::Sumw2(), xmax, and xmin.

Referenced by stressHistogram().

bool testH1Integral (  ) 

Definition at line 5667 of file stressHistogram.cxx.

References cmpOptDebug, cmpOptPrint, defaultEqualOptions, ROOT::Math::fabs(), TH2::FillRandom(), TH1::Fit(), TAxis::GetBinLowEdge(), TAxis::GetBinUpEdge(), TH1::GetEntries(), TH1::GetXaxis(), h1, TF1::Integral(), TH2::IntegralAndError(), TF1::IntegralError(), n, x1, and x2.

Referenced by stressHistogram().

bool testH2Integral (  ) 

Definition at line 5725 of file stressHistogram.cxx.

References a, b, cmpOptDebug, cmpOptPrint, defaultEqualOptions, ROOT::Math::fabs(), TH2::FillRandom(), TH1::Fit(), gaus2d(), TAxis::GetBinLowEdge(), TAxis::GetBinUpEdge(), TH1::GetEntries(), TH1::GetXaxis(), TH1::GetYaxis(), h2, TF2::Integral(), TH2::IntegralAndError(), TF1::IntegralError(), n, TFormula::SetParameters(), x1, and x2.

Referenced by stressHistogram().

bool testH3Integral (  ) 

Definition at line 5781 of file stressHistogram.cxx.

References a, b, cmpOptDebug, cmpOptPrint, defaultEqualOptions, ROOT::Math::fabs(), TH3::FillRandom(), TH1::Fit(), gaus3d(), TAxis::GetBinLowEdge(), TAxis::GetBinUpEdge(), TH1::GetEntries(), TH1::GetXaxis(), TH1::GetYaxis(), TH1::GetZaxis(), TF3::Integral(), TH3::IntegralAndError(), TF1::IntegralError(), n, TFormula::SetParameters(), w, x1, and x2.

Referenced by stressHistogram().

bool testIntegerRebin (  ) 

Definition at line 6941 of file stressHistogram.cxx.

References cmpOptStats, equals(), TH2::Fill(), TH1::GetNbinsX(), h1, h2, i, maxRange, maxRebin, minRange, minRebin, nEvents, TMath::Nint(), TH1::Rebin(), rebin(), and seed.

Referenced by stressHistogram().

bool testIntegerRebinNoName (  ) 

Definition at line 6989 of file stressHistogram.cxx.

References TNamed::Clone(), cmpOptStats, equals(), TH2::Fill(), TH1::Fill(), TH1::GetNbinsX(), h1, h2, i, maxRange, maxRebin, minRange, minRebin, nEvents, TMath::Nint(), TH1::Rebin(), rebin(), and seed.

Referenced by stressHistogram().

bool testIntegerRebinNoNameProfile (  ) 

Definition at line 7015 of file stressHistogram.cxx.

References cmpOptStats, equals(), i, maxRange, maxRebin, minRange, minRebin, nEvents, TMath::Nint(), p1(), p2(), p3(), rebin(), x, and y.

Referenced by stressHistogram().

bool testIntegerRebinProfile (  ) 

Definition at line 6966 of file stressHistogram.cxx.

References cmpOptStats, equals(), i, maxRange, maxRebin, minRange, minRebin, nEvents, TMath::Nint(), p1(), p2(), p3(), rebin(), x, and y.

Referenced by stressHistogram().

bool testInterpolation1D (  ) 

Definition at line 5414 of file stressHistogram.cxx.

References cmpOptPrint, defaultEqualOptions, E, ROOT::Math::fabs(), TH2::Fill(), function1D(), TAxis::GetBinCenter(), TAxis::GetNbins(), TH1::GetXaxis(), h1, TH2::Interpolate(), maxRange, minRange, numberOfBins, TH2D::Reset(), and x.

Referenced by stressHistogram().

bool testInterpolation2D (  ) 

Definition at line 5498 of file stressHistogram.cxx.

References cmpOptPrint, defaultEqualOptions, E, ROOT::Math::fabs(), TH2::Fill(), function2D(), TAxis::GetBinCenter(), TAxis::GetNbins(), TH1::GetXaxis(), TH1::GetYaxis(), h1, TH2::Interpolate(), maxRange, minRange, numberOfBins, TH2D::Reset(), x, and y.

Referenced by stressHistogram().

bool testInterpolation3D (  ) 

Definition at line 5550 of file stressHistogram.cxx.

References cmpOptPrint, defaultEqualOptions, E, ROOT::Math::fabs(), TH2::Fill(), function3D(), TAxis::GetBinCenter(), TAxis::GetNbins(), TH1::GetXaxis(), TH1::GetYaxis(), TH1::GetZaxis(), h1, TH2::Interpolate(), maxRange, minRange, numberOfBins, TH2D::Reset(), x, and y.

Referenced by stressHistogram().

bool testInterpolationVar1D (  ) 

Definition at line 5451 of file stressHistogram.cxx.

References cmpOptPrint, defaultEqualOptions, E, ROOT::Math::fabs(), TH2::Fill(), FillVariableRange(), function1D(), TAxis::GetBinCenter(), TAxis::GetNbins(), TH1::GetXaxis(), h1, TH2::Interpolate(), numberOfBins, TH2D::Reset(), and x.

Referenced by stressHistogram().

bool testLabel (  ) 

Definition at line 5344 of file stressHistogram.cxx.

References cmpOptStats, E, equals(), TH2::Fill(), TAxis::FindBin(), TAxis::GetBinCenter(), TH1::GetNbinsX(), TH1::GetXaxis(), h1, h2, maxRange, minRange, nEvents, numberOfBins, TAxis::SetBinLabel(), and value.

Referenced by stressHistogram().

bool testLabelsInflateProf1D (  ) 

Definition at line 5372 of file stressHistogram.cxx.

References equals(), i, maxRange, minRange, numberOfBins, p1(), p2(), sin(), x, and y.

Referenced by stressHistogram().

bool testMerge1D (  ) 

Definition at line 3142 of file stressHistogram.cxx.

References cmpOptStats, E, equals(), FillHistograms(), h1, h2, list, maxRange, TH2::Merge(), minRange, numberOfBins, and TH1::Sumw2().

Referenced by stressHistogram().

bool testMerge1DDiff (  ) 

Definition at line 5026 of file stressHistogram.cxx.

References cmpOptStats, E, equals(), TH2::Fill(), TH1::Fill(), h1, h2, list, TH2::Merge(), nEvents, TH1::Sumw2(), and value.

Referenced by stressHistogram().

bool testMerge1DLabelAll (  ) 

Definition at line 4244 of file stressHistogram.cxx.

References cmpOptStats, E, equals(), TH2::Fill(), TH1::Fill(), TH1::GetXaxis(), h1, h2, i, list, maxRange, TH2::Merge(), minRange, name, nEvents, numberOfBins, TAxis::SetBinLabel(), and x.

Referenced by stressHistogram().

bool testMerge1DLabelAllDiff (  ) 

Definition at line 4605 of file stressHistogram.cxx.

References cmpOptStats, E, equals(), TH2::Fill(), TH1::Fill(), TH1::GetXaxis(), h1, h2, i, list, maxRange, TH2::Merge(), minRange, name, nEvents, numberOfBins, TAxis::SetBinLabel(), and x.

bool testMerge1DLabelDiff (  ) 

Definition at line 3888 of file stressHistogram.cxx.

References cmpOptStats, E, equals(), TH2::Fill(), TH1::Fill(), TH1::GetXaxis(), h1, h2, list, maxRange, TH2::Merge(), minRange, nEvents, numberOfBins, TAxis::SetBinLabel(), and x.

bool testMerge1DLabelSame (  ) 

Definition at line 3542 of file stressHistogram.cxx.

References cmpOptStats, E, equals(), TH2::Fill(), TH1::Fill(), TH1::GetXaxis(), h1, h2, list, maxRange, TH2::Merge(), minRange, nEvents, numberOfBins, TAxis::SetBinLabel(), and x.

Referenced by stressHistogram().

bool testMerge2D (  ) 

Definition at line 3256 of file stressHistogram.cxx.

References cmpOptStats, E, equals(), TH2::Fill(), h1, h2, list, maxRange, TH2::Merge(), minRange, nEvents, numberOfBins, TH1::Sumw2(), x, and y.

Referenced by stressHistogram().

bool testMerge2DDiff (  ) 

Definition at line 5068 of file stressHistogram.cxx.

References cmpOptStats, E, equals(), TH2::Fill(), h1, h2, list, TH2::Merge(), nEvents, TH1::Sumw2(), x, and y.

Referenced by stressHistogram().

bool testMerge2DLabelAll (  ) 

Definition at line 4293 of file stressHistogram.cxx.

References cmpOptStats, E, equals(), TH2::Fill(), TH1::GetXaxis(), h1, h2, i, list, maxRange, TH2::Merge(), minRange, name, nEvents, numberOfBins, TAxis::SetBinLabel(), x, and y.

Referenced by stressHistogram().

bool testMerge2DLabelAllDiff (  ) 

Definition at line 4659 of file stressHistogram.cxx.

References cmpOptStats, E, equals(), TH2::Fill(), TH1::GetXaxis(), TH1::GetYaxis(), h1, h2, i, list, maxRange, TH2::Merge(), minRange, name, nEvents, numberOfBins, TAxis::SetBinLabel(), x, and y.

Referenced by stressHistogram().

bool testMerge2DLabelDiff (  ) 

Definition at line 3935 of file stressHistogram.cxx.

References cmpOptStats, E, equals(), TH2::Fill(), TH1::GetXaxis(), h1, h2, list, maxRange, TH2::Merge(), minRange, nEvents, numberOfBins, TAxis::SetBinLabel(), x, and y.

Referenced by stressHistogram().

bool testMerge2DLabelSame (  ) 

Definition at line 3587 of file stressHistogram.cxx.

References cmpOptStats, E, equals(), TH2::Fill(), TH1::GetXaxis(), h1, h2, list, maxRange, TH2::Merge(), minRange, nEvents, numberOfBins, TAxis::SetBinLabel(), x, and y.

Referenced by stressHistogram().

bool testMerge3D (  ) 

Definition at line 3363 of file stressHistogram.cxx.

References cmpOptStats, E, equals(), TH3::Fill(), TH2::Fill(), h1, h2, list, maxRange, TH2::Merge(), minRange, nEvents, numberOfBins, TH1::Sumw2(), x, and y.

Referenced by stressHistogram().

bool testMerge3DDiff (  ) 

Definition at line 5121 of file stressHistogram.cxx.

References cmpOptStats, E, equals(), TH3::Fill(), TH2::Fill(), h1, h2, list, TH2::Merge(), nEvents, TH1::Sumw2(), x, and y.

bool testMerge3DLabelAll (  ) 

Definition at line 4353 of file stressHistogram.cxx.

References cmpOptStats, E, equals(), TH3::Fill(), TH2::Fill(), TH1::GetXaxis(), h1, h2, i, list, maxRange, TH2::Merge(), minRange, name, nEvents, numberOfBins, TAxis::SetBinLabel(), x, and y.

Referenced by stressHistogram().

bool testMerge3DLabelAllDiff (  ) 

Definition at line 4729 of file stressHistogram.cxx.

References cmpOptStats, E, equals(), TH3::Fill(), TH2::Fill(), TH1::GetXaxis(), TH1::GetYaxis(), TH1::GetZaxis(), h1, h2, i, list, maxRange, TH2::Merge(), minRange, name, nEvents, numberOfBins, TAxis::SetBinLabel(), x, and y.

Referenced by stressHistogram().

bool testMerge3DLabelDiff (  ) 

Definition at line 3995 of file stressHistogram.cxx.

References cmpOptStats, E, equals(), TH3::Fill(), TH2::Fill(), TH1::GetXaxis(), h1, h2, list, maxRange, TH2::Merge(), minRange, nEvents, numberOfBins, TAxis::SetBinLabel(), x, and y.

Referenced by stressHistogram().

bool testMerge3DLabelSame (  ) 

Definition at line 3643 of file stressHistogram.cxx.

References cmpOptStats, E, equals(), TH3::Fill(), TH2::Fill(), TH1::GetXaxis(), h1, h2, list, maxRange, TH2::Merge(), minRange, nEvents, numberOfBins, TAxis::SetBinLabel(), x, and y.

Referenced by stressHistogram().

bool testMergeProf1D (  ) 

Definition at line 3201 of file stressHistogram.cxx.

References cmpOptStats, E, equals(), FillProfiles(), list, maxRange, minRange, numberOfBins, p1(), p2(), p3(), and p4().

Referenced by stressHistogram().

bool testMergeProf1DDiff (  ) 

Definition at line 5182 of file stressHistogram.cxx.

References cmpOptNone, E, equals(), list, maxRange, minRange, nEvents, p1(), p2(), p3(), p4(), x, and y.

Referenced by stressHistogram().

bool testMergeProf1DLabelAll (  ) 

Definition at line 4420 of file stressHistogram.cxx.

References cmpOptStats, E, equals(), i, list, maxRange, minRange, name, nEvents, numberOfBins, p1(), p2(), p3(), p4(), x, and y.

Referenced by stressHistogram().

bool testMergeProf1DLabelAllDiff (  ) 

Definition at line 4811 of file stressHistogram.cxx.

References cmpOptStats, E, equals(), i, list, maxRange, minRange, name, nEvents, numberOfBins, p1(), p2(), p3(), p4(), x, and y.

Referenced by stressHistogram().

bool testMergeProf1DLabelDiff (  ) 

Definition at line 4062 of file stressHistogram.cxx.

References cmpOptStats, E, equals(), list, maxRange, minRange, nEvents, numberOfBins, p1(), p2(), p3(), p4(), x, and y.

Referenced by stressHistogram().

bool testMergeProf1DLabelSame (  ) 

Definition at line 3706 of file stressHistogram.cxx.

References cmpOptStats, E, equals(), list, maxRange, minRange, nEvents, numberOfBins, p1(), p2(), p3(), p4(), x, and y.

Referenced by stressHistogram().

bool testMergeProf2D (  ) 

Definition at line 3309 of file stressHistogram.cxx.

References cmpOptStats, E, equals(), list, maxRange, minRange, nEvents, numberOfBins, p1(), p2(), p3(), p4(), x, and y.

Referenced by stressHistogram().

bool testMergeProf2DDiff (  ) 

Definition at line 5227 of file stressHistogram.cxx.

References cmpOptStats, E, equals(), list, maxRange, minRange, nEvents, p1(), p2(), p3(), p4(), x, and y.

bool testMergeProf2DLabelAll (  ) 

Definition at line 4472 of file stressHistogram.cxx.

References cmpOptStats, E, equals(), i, list, maxRange, minRange, name, nEvents, numberOfBins, p1(), p2(), p3(), p4(), x, and y.

Referenced by stressHistogram().

bool testMergeProf2DLabelAllDiff (  ) 

Definition at line 4869 of file stressHistogram.cxx.

References cmpOptStats, E, equals(), i, list, maxRange, minRange, name, nEvents, numberOfBins, p1(), p2(), p3(), p4(), x, and y.

Referenced by stressHistogram().

bool testMergeProf2DLabelDiff (  ) 

Definition at line 4113 of file stressHistogram.cxx.

References cmpOptStats, E, equals(), list, maxRange, minRange, nEvents, numberOfBins, p1(), p2(), p3(), p4(), x, and y.

Referenced by stressHistogram().

bool testMergeProf2DLabelSame (  ) 

Definition at line 3757 of file stressHistogram.cxx.

References cmpOptStats, E, equals(), list, maxRange, minRange, nEvents, numberOfBins, p1(), p2(), p3(), p4(), x, and y.

Referenced by stressHistogram().

bool testMergeProf3D (  ) 

Definition at line 3423 of file stressHistogram.cxx.

References cmpOptStats, E, equals(), list, maxRange, minRange, nEvents, numberOfBins, p1(), p2(), p3(), p4(), t, x, and y.

Referenced by stressHistogram().

bool testMergeProf3DDiff (  ) 

Definition at line 5282 of file stressHistogram.cxx.

References cmpOptStats, E, equals(), list, maxRange, minRange, nEvents, p1(), p2(), p3(), p4(), t, x, and y.

bool testMergeProf3DLabelAll (  ) 

Definition at line 4535 of file stressHistogram.cxx.

References cmpOptStats, E, equals(), i, list, maxRange, minRange, name, nEvents, numberOfBins, p1(), p2(), p3(), p4(), t, x, and y.

Referenced by stressHistogram().

bool testMergeProf3DLabelAllDiff (  ) 

Definition at line 4942 of file stressHistogram.cxx.

References cmpOptStats, E, equals(), i, list, maxRange, minRange, name, nEvents, numberOfBins, p1(), p2(), p3(), p4(), t, x, and y.

Referenced by stressHistogram().

bool testMergeProf3DLabelDiff (  ) 

Definition at line 4175 of file stressHistogram.cxx.

References cmpOptStats, E, equals(), list, maxRange, minRange, nEvents, numberOfBins, p1(), p2(), p3(), p4(), t, x, and y.

Referenced by stressHistogram().

bool testMergeProf3DLabelSame (  ) 

Definition at line 3819 of file stressHistogram.cxx.

References cmpOptStats, E, equals(), list, maxRange, minRange, nEvents, numberOfBins, p1(), p2(), p3(), p4(), t, x, and y.

Referenced by stressHistogram().

bool testMergeProfVar1D (  ) 

Definition at line 3227 of file stressHistogram.cxx.

References cmpOptStats, E, equals(), FillProfiles(), FillVariableRange(), list, numberOfBins, p1(), p2(), p3(), and p4().

Referenced by stressHistogram().

bool testMergeSparse (  ) 

Definition at line 3484 of file stressHistogram.cxx.

References cmpOptNone, E, equals(), THnSparse::Fill(), list, maxRange, minRange, nEvents, TMath::Nint(), points, s1, s2, THnSparse::Sumw2(), xmax, and xmin.

Referenced by stressHistogram().

bool testMergeVar1D (  ) 

Definition at line 3170 of file stressHistogram.cxx.

References cmpOptStats, E, equals(), FillHistograms(), FillVariableRange(), h1, h2, list, TH2::Merge(), numberOfBins, and TH1::Sumw2().

Referenced by stressHistogram().

bool testMul1 (  ) 

Definition at line 899 of file stressHistogram.cxx.

References c1, cmpOptStats, E, equals(), TH2::Fill(), TH1::Fill(), TAxis::FindBin(), TH1D::GetBinContent(), TH2D::GetBinContent(), TH1::GetNbinsX(), TH1::GetXaxis(), h1, h2, maxRange, minRange, TH1::Multiply(), nEvents, numberOfBins, seed, TH1D::SetBinContent(), TH1::Sumw2(), and value.

Referenced by stressHistogram().

bool testMul2 (  ) 

Definition at line 1000 of file stressHistogram.cxx.

References cmpOptStats, E, equals(), TH2::Fill(), TH1::Fill(), TAxis::FindBin(), TH1D::GetBinContent(), TH2D::GetBinContent(), TH1::GetNbinsX(), TH1::GetXaxis(), h1, h2, maxRange, minRange, TH1::Multiply(), nEvents, numberOfBins, seed, TH1D::SetBinContent(), TH1::Sumw2(), and value.

Referenced by stressHistogram().

bool testMul2D1 (  ) 

Definition at line 1087 of file stressHistogram.cxx.

References c1, cmpOptStats, E, equals(), TH2::Fill(), TAxis::FindBin(), TH2D::GetBinContent(), TH1::GetNbinsX(), TH1::GetNbinsY(), TH1::GetXaxis(), TH1::GetYaxis(), h1, h2, i, j, maxRange, minRange, TH1::Multiply(), nEvents, numberOfBins, seed, TH2D::SetBinContent(), TH1::Sumw2(), x, and y.

Referenced by stressHistogram().

bool testMul2D2 (  ) 

Definition at line 1151 of file stressHistogram.cxx.

References cmpOptStats, E, equals(), TH2::Fill(), TAxis::FindBin(), TH2D::GetBinContent(), TH1::GetNbinsX(), TH1::GetNbinsY(), TH1::GetXaxis(), TH1::GetYaxis(), h1, h2, i, j, maxRange, minRange, TH1::Multiply(), nEvents, numberOfBins, seed, TH2D::SetBinContent(), TH1::Sumw2(), x, and y.

Referenced by stressHistogram().

bool testMul3D1 (  ) 

Definition at line 1208 of file stressHistogram.cxx.

References c1, cmpOptStats, E, equals(), TH3::Fill(), TH2::Fill(), TAxis::FindBin(), TH3D::GetBinContent(), TH2D::GetBinContent(), TH1::GetNbinsX(), TH1::GetNbinsY(), TH1::GetNbinsZ(), TH1::GetXaxis(), TH1::GetYaxis(), TH1::GetZaxis(), h, h1, h2, i, j, maxRange, minRange, TH1::Multiply(), nEvents, numberOfBins, seed, TH3D::SetBinContent(), TH1::Sumw2(), x, and y.

Referenced by stressHistogram().

bool testMul3D2 (  ) 

Definition at line 1283 of file stressHistogram.cxx.

References cmpOptStats, E, equals(), TH3::Fill(), TH2::Fill(), TAxis::FindBin(), TH3D::GetBinContent(), TH2D::GetBinContent(), TH1::GetNbinsX(), TH1::GetNbinsY(), TH1::GetNbinsZ(), TH1::GetXaxis(), TH1::GetYaxis(), TH1::GetZaxis(), h, h1, h2, i, j, maxRange, minRange, TH1::Multiply(), nEvents, numberOfBins, seed, TH3D::SetBinContent(), TH1::Sumw2(), x, and y.

Referenced by stressHistogram().

bool testMulF1D (  ) 

Definition at line 1419 of file stressHistogram.cxx.

References c1, equals(), TH2::Fill(), TH1::FindBin(), TH1::GetBinCenter(), h1, h2, maxRange, minRange, TH1::Multiply(), nEvents, numberOfBins, seed, TH1::Sumw2(), and value.

Referenced by stressHistogram().

bool testMulF1D2 (  ) 

Definition at line 1448 of file stressHistogram.cxx.

References c1, equals(), TH2::Fill(), TAxis::FindBin(), TAxis::GetBinCenter(), TH1::GetXaxis(), TH1::GetYaxis(), h1, h2, maxRange, minRange, TH1::Multiply(), nEvents, numberOfBins, seed, TH1::Sumw2(), and value.

Referenced by stressHistogram().

bool testMulF2D (  ) 

Definition at line 1480 of file stressHistogram.cxx.

References c1, equals(), TH2::Fill(), TAxis::FindBin(), TAxis::GetBinCenter(), TH1::GetXaxis(), h1, h2, maxRange, minRange, TH1::Multiply(), nEvents, numberOfBins, seed, TH1::Sumw2(), x, and y.

Referenced by stressHistogram().

bool testMulF2D2 (  ) 

Definition at line 1514 of file stressHistogram.cxx.

References c1, equals(), TH2::Fill(), TAxis::FindBin(), TAxis::GetBinCenter(), TH1::GetXaxis(), TH1::GetYaxis(), h1, h2, maxRange, minRange, TH1::Multiply(), nEvents, numberOfBins, seed, TH1::Sumw2(), x, and y.

Referenced by stressHistogram().

bool testMulF3D (  ) 

Definition at line 1552 of file stressHistogram.cxx.

References c1, equals(), TH2::Fill(), TAxis::FindBin(), TAxis::GetBinCenter(), TH1::GetXaxis(), h1, h2, maxRange, minRange, TH1::Multiply(), nEvents, numberOfBins, seed, TH1::Sumw2(), x, and y.

Referenced by stressHistogram().

bool testMulF3D2 (  ) 

Definition at line 1589 of file stressHistogram.cxx.

References c1, equals(), TH2::Fill(), TAxis::FindBin(), TAxis::GetBinCenter(), TH1::GetXaxis(), TH1::GetYaxis(), h1, h2, maxRange, minRange, TH1::Multiply(), nEvents, numberOfBins, seed, TH1::Sumw2(), x, and y.

Referenced by stressHistogram().

bool testMulFND (  ) 

Definition at line 1630 of file stressHistogram.cxx.

References c1, equals(), i, maxRange, minRange, nEvents, TMath::Nint(), points, s1, s2, seed, xmax, and xmin.

Referenced by stressHistogram().

bool testMulFND2 (  ) 

Definition at line 1667 of file stressHistogram.cxx.

References equals(), i, maxRange, minRange, nEvents, TMath::Nint(), points, s1, s2, seed, xmax, and xmin.

Referenced by stressHistogram().

bool testMulSparse (  ) 

Definition at line 1350 of file stressHistogram.cxx.

References cmpOptNone, E, equals(), THnSparse::Fill(), THnSparse::GetBinContent(), THnSparse::GetNbins(), i, Long64_t, maxRange, minRange, nEvents, TMath::Nint(), points, s1, s2, seed, THnSparse::SetBinContent(), THnSparse::Sumw2(), xmax, and xmin.

Referenced by stressHistogram().

bool testMulVar1 (  ) 

Definition at line 948 of file stressHistogram.cxx.

References c1, cmpOptStats, E, equals(), TH2::Fill(), TH1::Fill(), FillVariableRange(), TAxis::FindBin(), TH1D::GetBinContent(), TH2D::GetBinContent(), TH1::GetNbinsX(), TH1::GetXaxis(), h1, h2, maxRange, minRange, TH1::Multiply(), nEvents, numberOfBins, seed, TH1D::SetBinContent(), TH1::Sumw2(), and value.

Referenced by stressHistogram().

bool testMulVar2 (  ) 

Definition at line 1042 of file stressHistogram.cxx.

References cmpOptStats, E, equals(), TH2::Fill(), TH1::Fill(), FillVariableRange(), TAxis::FindBin(), TH1D::GetBinContent(), TH2D::GetBinContent(), TH1::GetNbinsX(), TH1::GetXaxis(), h1, h2, maxRange, minRange, TH1::Multiply(), nEvents, numberOfBins, seed, TH1D::SetBinContent(), TH1::Sumw2(), and value.

Referenced by stressHistogram().

bool testRefRead1D (  ) 

Definition at line 6673 of file stressHistogram.cxx.

References cmpOptStats, equals(), TH2::Fill(), TDirectoryFile::Get(), h1, h2, maxRange, minRange, nEvents, numberOfBins, refFile, refFileOption, refFileWrite, TH1::Sumw2(), value, and TObject::Write().

Referenced by stressHistogram().

bool testRefRead2D (  ) 

Definition at line 6741 of file stressHistogram.cxx.

References cmpOptStats, equals(), TH2::Fill(), TDirectoryFile::Get(), h1, h2, maxRange, minRange, nEvents, numberOfBins, refFile, refFileOption, refFileWrite, TH1::Sumw2(), TObject::Write(), x, and y.

Referenced by stressHistogram().

bool testRefRead3D (  ) 

Definition at line 6815 of file stressHistogram.cxx.

References cmpOptStats, equals(), TH2::Fill(), TDirectoryFile::Get(), h1, h2, maxRange, minRange, nEvents, numberOfBins, refFile, refFileOption, refFileWrite, TH1::Sumw2(), TObject::Write(), x, and y.

Referenced by stressHistogram().

bool testRefReadProf1D (  ) 

Definition at line 6705 of file stressHistogram.cxx.

References cmpOptStats, equals(), TDirectoryFile::Get(), maxRange, minRange, nEvents, numberOfBins, p1(), p2(), refFile, refFileOption, refFileWrite, TH1::SetDefaultSumw2(), x, and y.

Referenced by stressHistogram().

bool testRefReadProf2D (  ) 

Definition at line 6778 of file stressHistogram.cxx.

References cmpOptStats, equals(), TDirectoryFile::Get(), maxRange, minRange, nEvents, numberOfBins, p1(), p2(), refFile, refFileOption, refFileWrite, x, and y.

Referenced by stressHistogram().

bool testRefReadProf3D (  ) 

Definition at line 6856 of file stressHistogram.cxx.

References cmpOptStats, equals(), TDirectoryFile::Get(), maxRange, minRange, nEvents, numberOfBins, p1(), p2(), refFile, refFileOption, refFileWrite, t, x, and y.

Referenced by stressHistogram().

bool testRefReadSparse (  ) 

Definition at line 6897 of file stressHistogram.cxx.

References cmpOptStats, equals(), TDirectoryFile::Get(), maxRange, minRange, nEvents, TMath::Nint(), points, refFile, refFileOption, refFileWrite, s1, s2, xmax, and xmin.

Referenced by stressHistogram().

bool testScale1DProf (  ) 

Definition at line 5591 of file stressHistogram.cxx.

References cmpOptStats, equals(), maxRange, minRange, nEvents, numberOfBins, p1(), p2(), x, and y.

Referenced by stressHistogram().

bool testScale2DProf (  ) 

Definition at line 5612 of file stressHistogram.cxx.

References cmpOptStats, equals(), maxRange, minRange, nEvents, numberOfBins, p1(), p2(), x, and y.

Referenced by stressHistogram().

bool testScale3DProf (  ) 

Definition at line 5638 of file stressHistogram.cxx.

References cmpOptStats, equals(), maxRange, minRange, nEvents, numberOfBins, p1(), p2(), t, x, and y.

Referenced by stressHistogram().

bool testSparseData1DFull (  ) 

Definition at line 6183 of file stressHistogram.cxx.

References cmpOptPrint, THnSparse::CreateSparse(), defaultEqualOptions, TH2::Fill(), ROOT::Fit::FillData(), func(), gaus1d(), h1, max, maxRange, min, minRange, nEvents, numberOfBins, s1, and value.

Referenced by stressHistogram().

bool testSparseData1DSparse (  ) 

Definition at line 6219 of file stressHistogram.cxx.

References cmpOptPrint, THnSparse::CreateSparse(), defaultEqualOptions, TH2::Fill(), ROOT::Fit::FillData(), func(), gaus1d(), h1, max, maxRange, min, minRange, numberOfBins, s1, and value.

Referenced by stressHistogram().

bool testSparseData2DFull (  ) 

Definition at line 6255 of file stressHistogram.cxx.

References cmpOptPrint, THnSparse::CreateSparse(), defaultEqualOptions, TH2::Fill(), ROOT::Fit::FillData(), func(), gaus2d(), h2, max, maxRange, min, minRange, nEvents, numberOfBins, s2, x, and y.

Referenced by stressHistogram().

bool testSparseData2DSparse (  ) 

Definition at line 6293 of file stressHistogram.cxx.

References cmpOptPrint, THnSparse::CreateSparse(), defaultEqualOptions, TH2::Fill(), ROOT::Fit::FillData(), func(), gaus2d(), h2, max, maxRange, min, minRange, numberOfBins, s2, x, and y.

Referenced by stressHistogram().

bool testSparseData3DFull (  ) 

Definition at line 6331 of file stressHistogram.cxx.

References cmpOptPrint, THnSparse::CreateSparse(), defaultEqualOptions, TH3::Fill(), ROOT::Fit::FillData(), func(), gaus3d(), max, maxRange, min, minRange, nEvents, numberOfBins, x, and y.

Referenced by stressHistogram().

bool testSparseData3DSparse (  ) 

Definition at line 6371 of file stressHistogram.cxx.

References cmpOptPrint, THnSparse::CreateSparse(), defaultEqualOptions, TH3::Fill(), ROOT::Fit::FillData(), func(), gaus3d(), max, maxRange, min, minRange, numberOfBins, x, and y.

Referenced by stressHistogram().

bool testSparseRebin1 (  ) 

Definition at line 7198 of file stressHistogram.cxx.

References equals(), i, maxRange, maxRebin, minRange, minRebin, nEvents, TMath::Nint(), points, rebin(), s1, s2, xmax, and xmin.

Referenced by stressHistogram().

bool testTH2toTH1 (  ) 

Definition at line 7234 of file stressHistogram.cxx.

References centre_deviation, cmpOptStats, equals(), TProfile::Fill(), TH2::Fill(), TH1::Fill(), TAxis::GetBinCenter(), TAxis::GetBinLowEdge(), TAxis::GetBinUpEdge(), TAxis::GetBinWidth(), TAxis::GetNbins(), TH1::GetXaxis(), TH1::GetYaxis(), kTRUE, TH2::ProfileX(), TH2::ProfileY(), TH2::ProjectionX(), TH2::ProjectionY(), TAxis::SetRange(), TH1::StatOverflows(), w, x, and y.

Referenced by stressHistogram().

bool testTH3toTH1 (  ) 

Definition at line 7379 of file stressHistogram.cxx.

References centre_deviation, cmpOptStats, equals(), TH3::Fill(), TH1::Fill(), TAxis::GetBinCenter(), TAxis::GetBinLowEdge(), TAxis::GetBinUpEdge(), TAxis::GetBinWidth(), TAxis::GetNbins(), TH1::GetXaxis(), TH1::GetYaxis(), TH1::GetZaxis(), kTRUE, TH3::Project3D(), TH3::ProjectionX(), TH3::ProjectionY(), TH3::ProjectionZ(), TAxis::SetRange(), TH1::StatOverflows(), TH1::Sumw2(), w, x, and y.

Referenced by stressHistogram().

bool testTH3toTH2 (  ) 

Definition at line 7550 of file stressHistogram.cxx.

References centre_deviation, cmpOptStats, equals(), TProfile2D::Fill(), TH3::Fill(), TH2::Fill(), TAxis::GetBinCenter(), TAxis::GetBinLowEdge(), TAxis::GetBinUpEdge(), TAxis::GetBinWidth(), TAxis::GetNbins(), TH1::GetXaxis(), TH1::GetYaxis(), TH1::GetZaxis(), kTRUE, TH3::Project3D(), TH3::Project3DProfile(), TAxis::SetRange(), TH1::StatOverflows(), w, x, and y.

Referenced by stressHistogram().

bool testWriteRead1D (  ) 

Definition at line 2885 of file stressHistogram.cxx.

References cmpOptStats, equals(), f2, TH2::Fill(), h1, h2, maxRange, minRange, nEvents, numberOfBins, TH1::Sumw2(), value, and TObject::Write().

Referenced by stressHistogram().

bool testWriteRead2D (  ) 

Definition at line 2989 of file stressHistogram.cxx.

References cmpOptStats, equals(), f2, TH2::Fill(), h1, h2, maxRange, minRange, nEvents, numberOfBins, TH1::Sumw2(), TObject::Write(), x, and y.

Referenced by stressHistogram().

bool testWriteRead3D (  ) 

Definition at line 3044 of file stressHistogram.cxx.

References cmpOptStats, equals(), f2, TH2::Fill(), h1, h2, maxRange, minRange, nEvents, numberOfBins, TH1::Sumw2(), TObject::Write(), x, and y.

Referenced by stressHistogram().

bool testWriteReadProfile1D (  ) 

Definition at line 2938 of file stressHistogram.cxx.

References cmpOptStats, equals(), f2, maxRange, minRange, nEvents, numberOfBins, p1(), p2(), x, and y.

Referenced by stressHistogram().

bool testWriteReadProfile2D (  ) 

Definition at line 3017 of file stressHistogram.cxx.

References cmpOptStats, equals(), f2, maxRange, minRange, nEvents, numberOfBins, p1(), p2(), x, and y.

Referenced by stressHistogram().

bool testWriteReadProfile3D (  ) 

Definition at line 3074 of file stressHistogram.cxx.

References equals(), f2, maxRange, minRange, nEvents, numberOfBins, p1(), p2(), t, x, and y.

Referenced by stressHistogram().

bool testWriteReadProfileVar1D (  ) 

Definition at line 2962 of file stressHistogram.cxx.

References cmpOptStats, equals(), f2, FillVariableRange(), maxRange, minRange, nEvents, numberOfBins, p1(), p2(), x, and y.

Referenced by stressHistogram().

bool testWriteReadSparse (  ) 

Definition at line 3107 of file stressHistogram.cxx.

References cmpOptNone, equals(), f2, i, maxRange, minRange, nEvents, TMath::Nint(), points, s1, s2, xmax, and xmin.

Referenced by stressHistogram().

bool testWriteReadVar1D (  ) 

Definition at line 2910 of file stressHistogram.cxx.

References cmpOptStats, equals(), f2, TH2::Fill(), FillVariableRange(), h1, h2, maxRange, minRange, nEvents, numberOfBins, TH1::Sumw2(), value, and TObject::Write().

Referenced by stressHistogram().


Variable Documentation

const unsigned int __DRAW__ = 0

Definition at line 90 of file stressHistogram.cxx.

const double centre_deviation = 0.3 [static]

Definition at line 7871 of file stressHistogram.cxx.

Referenced by testTH2toTH1(), testTH3toTH1(), and testTH3toTH2().

int defaultEqualOptions = 0

Definition at line 112 of file stressHistogram.cxx.

Referenced by ProjectionTester::buildHistograms(), ProjectionTester::compareHistograms(), equals(), main(), stressHistogram(), testBinDataData1D(), testBinDataData1DInt(), testBinDataData2D(), testBinDataData2DInt(), testBinDataData3D(), testBinDataData3DInt(), testH1Integral(), testH2Integral(), testH3Integral(), testInterpolation1D(), testInterpolation2D(), testInterpolation3D(), testInterpolationVar1D(), testSparseData1DFull(), testSparseData1DSparse(), testSparseData2DFull(), testSparseData2DSparse(), testSparseData3DFull(), and testSparseData3DSparse().

const double defaultErrorLimit = 1.E-10

Definition at line 115 of file stressHistogram.cxx.

const int initialSeed = 0

Definition at line 128 of file stressHistogram.cxx.

Referenced by stressHistogram().

const int maxBinValue = 10

Definition at line 99 of file stressHistogram.cxx.

const Double_t maxRange = 5

Definition at line 93 of file stressHistogram.cxx.

const Double_t maxRebin = 7

Definition at line 96 of file stressHistogram.cxx.

Referenced by test2DRebin(), test2DRebinProfile(), testArrayRebin(), testArrayRebinProfile(), testIntegerRebin(), testIntegerRebinNoName(), testIntegerRebinNoNameProfile(), testIntegerRebinProfile(), and testSparseRebin1().

const int minBinValue = 1

Definition at line 98 of file stressHistogram.cxx.

const Double_t minRange = 1

Definition at line 92 of file stressHistogram.cxx.

const Double_t minRebin = 3

Definition at line 95 of file stressHistogram.cxx.

Referenced by test2DRebin(), test2DRebinProfile(), testArrayRebin(), testArrayRebinProfile(), testIntegerRebin(), testIntegerRebinNoName(), testIntegerRebinNoNameProfile(), testIntegerRebinProfile(), and testSparseRebin1().

const int nEvents = 1000

Definition at line 101 of file stressHistogram.cxx.

const int numberOfBins = 10

Definition at line 102 of file stressHistogram.cxx.

Referenced by FillVariableRange(), testAdd1(), testAdd2(), testAdd2D1(), testAdd2D2(), testAdd2D3(), testAdd2DProfile1(), testAdd2DProfile2(), testAdd3(), testAdd3D1(), testAdd3D2(), testAdd3D3(), testAdd3DProfile1(), testAdd3DProfile2(), testAddProfile1(), testAddProfile2(), testAddVar1(), testAddVar2(), testAddVarProf1(), testAddVarProf2(), testAssign1D(), testAssign2D(), testAssign3D(), testAssignProfile1D(), testAssignProfile2D(), testAssignProfile3D(), testAssignProfileVar1D(), testAssignVar1D(), testBinDataData1D(), testBinDataData1DInt(), testBinDataData2D(), testBinDataData2DInt(), testBinDataData3D(), testBinDataData3DInt(), testClone1D(), testClone2D(), testClone3D(), testCloneProfile1D(), testCloneProfile2D(), testCloneProfile3D(), testCloneProfileVar1D(), testCloneVar1D(), testCopyConstructor1D(), testCopyConstructor2D(), testCopyConstructor3D(), testCopyConstructorProfile1D(), testCopyConstructorProfile2D(), testCopyConstructorProfile3D(), testCopyConstructorProfileVar1D(), testCopyConstructorVar1D(), testDivide1(), testDivide2(), testDivide2D1(), testDivide2D2(), testDivide3D1(), testDivide3D2(), testDivideProf1(), testDivideVar1(), testDivideVar2(), testInterpolation1D(), testInterpolation2D(), testInterpolation3D(), testInterpolationVar1D(), testLabel(), testLabelsInflateProf1D(), testMerge1D(), testMerge1DLabelAll(), testMerge1DLabelAllDiff(), testMerge1DLabelDiff(), testMerge1DLabelSame(), testMerge2D(), testMerge2DLabelAll(), testMerge2DLabelAllDiff(), testMerge2DLabelDiff(), testMerge2DLabelSame(), testMerge3D(), testMerge3DLabelAll(), testMerge3DLabelAllDiff(), testMerge3DLabelDiff(), testMerge3DLabelSame(), testMergeProf1D(), testMergeProf1DLabelAll(), testMergeProf1DLabelAllDiff(), testMergeProf1DLabelDiff(), testMergeProf1DLabelSame(), testMergeProf2D(), testMergeProf2DLabelAll(), testMergeProf2DLabelAllDiff(), testMergeProf2DLabelDiff(), testMergeProf2DLabelSame(), testMergeProf3D(), testMergeProf3DLabelAll(), testMergeProf3DLabelAllDiff(), testMergeProf3DLabelDiff(), testMergeProf3DLabelSame(), testMergeProfVar1D(), testMergeVar1D(), testMul1(), testMul2(), testMul2D1(), testMul2D2(), testMul3D1(), testMul3D2(), testMulF1D(), testMulF1D2(), testMulF2D(), testMulF2D2(), testMulF3D(), testMulF3D2(), testMulVar1(), testMulVar2(), testRefRead1D(), testRefRead2D(), testRefRead3D(), testRefReadProf1D(), testRefReadProf2D(), testRefReadProf3D(), testScale1DProf(), testScale2DProf(), testScale3DProf(), testSparseData1DFull(), testSparseData1DSparse(), testSparseData2DFull(), testSparseData2DSparse(), testSparseData3DFull(), testSparseData3DSparse(), testWriteRead1D(), testWriteRead2D(), testWriteRead3D(), testWriteReadProfile1D(), testWriteReadProfile2D(), testWriteReadProfile3D(), testWriteReadProfileVar1D(), and testWriteReadVar1D().

TRandom2 r

Definition at line 126 of file stressHistogram.cxx.

TFile* refFile = 0

Definition at line 123 of file stressHistogram.cxx.

Referenced by stressHistogram(), testRefRead1D(), testRefRead2D(), testRefRead3D(), testRefReadProf1D(), testRefReadProf2D(), testRefReadProf3D(), and testRefReadSparse().

const char* refFileName = "http://root.cern.ch/files/stressHistogram.5.18.00.root"

Definition at line 124 of file stressHistogram.cxx.

Referenced by main(), and stressHistogram().

const int refFileOption = 1

Definition at line 122 of file stressHistogram.cxx.

Referenced by stressHistogram(), testRefRead1D(), testRefRead2D(), testRefRead3D(), testRefReadProf1D(), testRefReadProf2D(), testRefReadProf3D(), and testRefReadSparse().


Generated on Tue Jul 5 16:08:55 2011 for ROOT_528-00b_version by  doxygen 1.5.1