UnitTesting::MethodUnitTestWithComplexData Class Reference

Inheritance diagram for UnitTesting::MethodUnitTestWithComplexData:

UnitTesting::UnitTest List of all members.

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

TTreetheTree

Private Member Functions

bool ROCIntegralWithinInterval ()
bool create_data (const char *filename, int nmax=20000)
 MethodUnitTestWithComplexData (const MethodUnitTestWithComplexData &)
MethodUnitTestWithComplexDataoperator= (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

Detailed Description

Definition at line 2468 of file stressTMVA.cxx.


Constructor & Destructor Documentation

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]


Member Function Documentation

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]


Member Data Documentation

TTree* UnitTesting::MethodUnitTestWithComplexData::theTree [protected]

Definition at line 2480 of file stressTMVA.cxx.

TMVA::Factory* UnitTesting::MethodUnitTestWithComplexData::_factory [private]

Definition at line 2483 of file stressTMVA.cxx.

TMVA::MethodBase* UnitTesting::MethodUnitTestWithComplexData::_theMethod [private]

Definition at line 2484 of file stressTMVA.cxx.

Referenced by run().

TMVA::Types::EMVA UnitTesting::MethodUnitTestWithComplexData::_methodType [private]

Definition at line 2485 of file stressTMVA.cxx.

Referenced by run().

TString UnitTesting::MethodUnitTestWithComplexData::_treeString [private]

Definition at line 2486 of file stressTMVA.cxx.

Referenced by run().

TString UnitTesting::MethodUnitTestWithComplexData::_prepareString [private]

Definition at line 2487 of file stressTMVA.cxx.

Referenced by run().

TString UnitTesting::MethodUnitTestWithComplexData::_methodTitle [private]

Definition at line 2488 of file stressTMVA.cxx.

Referenced by run().

TString UnitTesting::MethodUnitTestWithComplexData::_methodOption [private]

Definition at line 2489 of file stressTMVA.cxx.

Referenced by run().

double UnitTesting::MethodUnitTestWithComplexData::_upROCLimit [private]

Definition at line 2491 of file stressTMVA.cxx.

Referenced by ROCIntegralWithinInterval(), and run().

double UnitTesting::MethodUnitTestWithComplexData::_lowROCLimit [private]

Definition at line 2492 of file stressTMVA.cxx.

Referenced by ROCIntegralWithinInterval(), and run().

double UnitTesting::MethodUnitTestWithComplexData::_ROCValue [private]

Definition at line 2493 of file stressTMVA.cxx.

Referenced by ROCIntegralWithinInterval(), and run().


The documentation for this class was generated from the following file:
Generated on Tue Jul 5 17:01:50 2011 for ROOT_528-00b_version by  doxygen 1.5.1