Inheritance diagram for UnitTesting::MethodUnitTestWithComplexData:
Public Member Functions | |
MethodUnitTestWithComplexData (const TString &treestring, const TString &preparestring, const TMVA::Types::EMVA &theMethod, const TString &methodTitle, const TString &theOption, double lowLimit=0., double upLimit=1., const std::string &name="", const std::string &filename="", std::ostream *osptr=&std::cout) | |
virtual | ~MethodUnitTestWithComplexData () |
virtual void | run () |
Protected Attributes | |
TTree * | theTree |
Private Member Functions | |
bool | ROCIntegralWithinInterval () |
bool | create_data (const char *filename, int nmax=20000) |
MethodUnitTestWithComplexData (const MethodUnitTestWithComplexData &) | |
MethodUnitTestWithComplexData & | operator= (const MethodUnitTestWithComplexData &) |
Private Attributes | |
TMVA::Factory * | _factory |
TMVA::MethodBase * | _theMethod |
TMVA::Types::EMVA | _methodType |
TString | _treeString |
TString | _prepareString |
TString | _methodTitle |
TString | _methodOption |
double | _upROCLimit |
double | _lowROCLimit |
double | _ROCValue |
Definition at line 2468 of file stressTMVA.cxx.
MethodUnitTestWithComplexData::MethodUnitTestWithComplexData | ( | const TString & | treestring, | |
const TString & | preparestring, | |||
const TMVA::Types::EMVA & | theMethod, | |||
const TString & | methodTitle, | |||
const TString & | theOption, | |||
double | lowLimit = 0. , |
|||
double | upLimit = 1. , |
|||
const std::string & | name = "" , |
|||
const std::string & | filename = "" , |
|||
std::ostream * | osptr = &std::cout | |||
) |
Definition at line 2512 of file stressTMVA.cxx.
MethodUnitTestWithComplexData::~MethodUnitTestWithComplexData | ( | ) | [virtual] |
Definition at line 2520 of file stressTMVA.cxx.
UnitTesting::MethodUnitTestWithComplexData::MethodUnitTestWithComplexData | ( | const MethodUnitTestWithComplexData & | ) | [private] |
void MethodUnitTestWithComplexData::run | ( | ) | [virtual] |
Implements UnitTesting::UnitTest.
Definition at line 2529 of file stressTMVA.cxx.
References _lowROCLimit, _methodOption, _methodTitle, _methodType, _prepareString, _ROCValue, _theMethod, _treeString, _upROCLimit, TMVA::Factory::AddBackgroundTree(), TMVA::Factory::AddSignalTree(), TMVA::Factory::AddSpectator(), TMVA::Factory::AddVariable(), TMVA::Factory::BookMethod(), TFile::Close(), TString::Contains(), create_data(), TMVA::Factory::EvaluateAllMethods(), TMVA::MethodBase::GetEfficiency(), TMVA::Factory::GetMethod(), TMVA::MethodBase::GetROCIntegral(), TMVA::Types::kCuts, NULL, TFile::Open(), TMVA::Factory::PrepareTrainingAndTestTree(), ROCIntegralWithinInterval(), TMVA::Factory::SetBackgroundWeightExpression(), TMVA::Factory::SetSignalWeightExpression(), test_, TMVA::Factory::TestAllMethods(), and TMVA::Factory::TrainAllMethods().
bool MethodUnitTestWithComplexData::ROCIntegralWithinInterval | ( | ) | [private] |
Definition at line 2524 of file stressTMVA.cxx.
References _lowROCLimit, _ROCValue, and _upROCLimit.
Referenced by run().
bool MethodUnitTestWithComplexData::create_data | ( | const char * | filename, | |
int | nmax = 20000 | |||
) | [private] |
Definition at line 2613 of file stressTMVA.cxx.
References TMath::Abs(), TTree::Branch(), TFile::Close(), TTree::Fill(), Form(), TFile::Open(), R, TRandom3::Rndm(), and TFile::Write().
Referenced by run().
MethodUnitTestWithComplexData& UnitTesting::MethodUnitTestWithComplexData::operator= | ( | const MethodUnitTestWithComplexData & | ) | [private] |
TTree* UnitTesting::MethodUnitTestWithComplexData::theTree [protected] |
Definition at line 2480 of file stressTMVA.cxx.
Definition at line 2483 of file stressTMVA.cxx.
Definition at line 2491 of file stressTMVA.cxx.
Referenced by ROCIntegralWithinInterval(), and run().
Definition at line 2492 of file stressTMVA.cxx.
Referenced by ROCIntegralWithinInterval(), and run().
Definition at line 2493 of file stressTMVA.cxx.
Referenced by ROCIntegralWithinInterval(), and run().