GoFTStress Struct Reference

List of all members.

Public Types

enum  EDebugLevelTypes

Public Member Functions

Int_t RunTests ()
void PrintBenchmark ()

Static Public Attributes

static enum GoFTStress::EDebugLevelTypes fgDebugLevel

Private Member Functions

Int_t UnitTest1 ()
Int_t UnitTest2 ()
Int_t UnitTest3 ()
Int_t UnitTest4 ()
Int_t UnitTest5 ()
Int_t UnitTest6 ()
Int_t UnitTest7 ()
Int_t PrintResultAD2Samples (UInt_t nsmps, Double_t A2, Double_t expectedA2_akN, Double_t sigmaN, Double_t zScore, Double_t pvalue, Double_t limit=0.0001)
Int_t PrintResultAD1Sample (Double_t A2, Double_t expectedA2, Double_t pvalue, Double_t limit=0.0001)
Int_t PrintResultKS (UInt_t nsmps, Double_t Dn, Double_t expectedDn, Double_t pvalue, Double_t limit=0.0001)

Detailed Description

Definition at line 21 of file stressGoFTest.cxx.


Member Enumeration Documentation

enum GoFTStress::EDebugLevelTypes

Definition at line 23 of file stressGoFTest.cxx.


Member Function Documentation

Int_t GoFTStress::RunTests (  )  [inline]

Definition at line 29 of file stressGoFTest.cxx.

References result(), UnitTest1(), UnitTest2(), UnitTest3(), UnitTest4(), UnitTest5(), UnitTest6(), and UnitTest7().

Referenced by RunTests().

void GoFTStress::PrintBenchmark (  )  [inline]

Definition at line 41 of file stressGoFTest.cxx.

References TSystem::ClosePipe(), fgDebugLevel, fp, gBenchmark, TBenchmark::GetCpuTime(), TSystem::Getenv(), TNamed::GetName(), TROOT::GetVersion(), TROOT::GetVersionDate(), TROOT::GetVersionTime(), gROOT, gSystem, kNoDebug, line, TSystem::OpenPipe(), and TBenchmark::Print().

Referenced by RunTests().

Int_t GoFTStress::UnitTest1 (  )  [inline, private]

Definition at line 82 of file stressGoFTest.cxx.

References ROOT::Math::GoFTest::AndersonDarling2SamplesTest(), ROOT::Math::GoFTest::kAD2s, ROOT::Math::GoFTest::kKS2s, ROOT::Math::GoFTest::KolmogorovSmirnov2SamplesTest(), PrintResultAD2Samples(), PrintResultKS(), and result().

Referenced by RunTests().

Int_t GoFTStress::UnitTest2 (  )  [inline, private]

Definition at line 122 of file stressGoFTest.cxx.

References ROOT::Math::GoFTest::AndersonDarling2SamplesTest(), ROOT::Math::GoFTest::kAD2s, ROOT::Math::GoFTest::kKS2s, ROOT::Math::GoFTest::KolmogorovSmirnov2SamplesTest(), PrintResultAD2Samples(), PrintResultKS(), and result().

Referenced by RunTests().

Int_t GoFTStress::UnitTest3 (  )  [inline, private]

Definition at line 160 of file stressGoFTest.cxx.

References ROOT::Math::GoFTest::AndersonDarlingTest(), data, fgDebugLevel, i, ROOT::Math::GoFTest::kAD, ROOT::Math::GoFTest::kKS, ROOT::Math::GoFTest::kLogNormal, ROOT::Math::GoFTest::KolmogorovSmirnovTest(), kStandardDebug, nEvents, PrintResultAD1Sample(), PrintResultKS(), and result().

Referenced by RunTests().

Int_t GoFTStress::UnitTest4 (  )  [inline, private]

Definition at line 201 of file stressGoFTest.cxx.

References ROOT::Math::GoFTest::AndersonDarlingTest(), data, fgDebugLevel, i, ROOT::Math::GoFTest::kExponential, ROOT::Math::GoFTest::kKS, ROOT::Math::GoFTest::KolmogorovSmirnovTest(), kStandardDebug, nEvents, PrintResultAD1Sample(), PrintResultKS(), and result().

Referenced by RunTests().

Int_t GoFTStress::UnitTest5 (  )  [inline, private]

Definition at line 242 of file stressGoFTest.cxx.

References ROOT::Math::GoFTest::AndersonDarlingTest(), data, fgDebugLevel, i, ROOT::Math::GoFTest::kGaussian, ROOT::Math::GoFTest::KolmogorovSmirnovTest(), kStandardDebug, nEvents, PrintResultAD1Sample(), PrintResultKS(), result(), and ROOT::Math::GoFTest::SetDistribution().

Referenced by RunTests().

Int_t GoFTStress::UnitTest6 (  )  [inline, private]

Definition at line 282 of file stressGoFTest.cxx.

References ROOT::Math::GoFTest::AndersonDarlingTest(), data, fgDebugLevel, i, ROOT::Math::GoFTest::kCDF, ROOT::Math::GoFTest::KolmogorovSmirnovTest(), kStandardDebug, TMath::LandauI(), nEvents, PrintResultAD1Sample(), PrintResultKS(), and result().

Referenced by RunTests().

Int_t GoFTStress::UnitTest7 (  )  [inline, private]

Definition at line 321 of file stressGoFTest.cxx.

References ROOT::Math::GoFTest::AndersonDarlingTest(), data, fgDebugLevel, i, ROOT::Math::GoFTest::KolmogorovSmirnovTest(), ROOT::Math::GoFTest::kPDF, kStandardDebug, TMath::Landau(), TMath::MaxElement(), TMath::MinElement(), nEvents, PrintResultAD1Sample(), PrintResultKS(), result(), ROOT::Math::GoFTest::SetUserDistribution(), xmax, and xmin.

Referenced by RunTests().

Int_t GoFTStress::PrintResultAD2Samples ( UInt_t  nsmps,
Double_t  A2,
Double_t  expectedA2_akN,
Double_t  sigmaN,
Double_t  zScore,
Double_t  pvalue,
Double_t  limit = 0.0001 
) [inline, private]

Definition at line 369 of file stressGoFTest.cxx.

References TMath::Abs(), EXIT_FAILURE, fgDebugLevel, kBasicDebug, and kStandardDebug.

Referenced by UnitTest1(), and UnitTest2().

Int_t GoFTStress::PrintResultAD1Sample ( Double_t  A2,
Double_t  expectedA2,
Double_t  pvalue,
Double_t  limit = 0.0001 
) [inline, private]

Definition at line 397 of file stressGoFTest.cxx.

References TMath::Abs(), EXIT_FAILURE, fgDebugLevel, kBasicDebug, and kStandardDebug.

Referenced by UnitTest3(), UnitTest4(), UnitTest5(), UnitTest6(), and UnitTest7().

Int_t GoFTStress::PrintResultKS ( UInt_t  nsmps,
Double_t  Dn,
Double_t  expectedDn,
Double_t  pvalue,
Double_t  limit = 0.0001 
) [inline, private]

Definition at line 419 of file stressGoFTest.cxx.

References TMath::Abs(), EXIT_FAILURE, fgDebugLevel, kBasicDebug, and kStandardDebug.

Referenced by UnitTest1(), UnitTest2(), UnitTest3(), UnitTest4(), UnitTest5(), UnitTest6(), and UnitTest7().


Member Data Documentation

GoFTStress::EDebugLevelTypes GoFTStress::fgDebugLevel [static]

Definition at line 446 of file stressGoFTest.cxx.

Referenced by PrintBenchmark(), PrintResultAD1Sample(), PrintResultAD2Samples(), PrintResultKS(), RunTests(), UnitTest3(), UnitTest4(), UnitTest5(), UnitTest6(), and UnitTest7().


The documentation for this struct was generated from the following file:
Generated on Tue Jul 5 16:30:44 2011 for ROOT_528-00b_version by  doxygen 1.5.1