TMVA::MethodCuts Class Reference

#include <MethodCuts.h>

Inheritance diagram for TMVA::MethodCuts:

TMVA::MethodBase TMVA::IFitterTarget TMVA::MethodBase TMVA::IFitterTarget TMVA::Configurable TMVA::IMethod TMVA::Configurable TMVA::IMethod TMVA::Configurable TMVA::IMethod TMVA::Configurable TMVA::IMethod List of all members.

Public Member Functions

 MethodCuts (const TString &jobName, const TString &methodTitle, DataSetInfo &theData, const TString &theOption="MC:150:10000:", TDirectory *theTargetFile=0)
 MethodCuts (DataSetInfo &theData, const TString &theWeightFile, TDirectory *theTargetDir=NULL)
virtual ~MethodCuts (void)
virtual Bool_t HasAnalysisType (Types::EAnalysisType type, UInt_t numberClasses, UInt_t numberTargets)
void Train (void)
void AddWeightsXMLTo (void *parent) const
void ReadWeightsFromStream (std::istream &i)
void ReadWeightsFromXML (void *wghtnode)
Double_t GetMvaValue (Double_t *err=0, Double_t *errUpper=0)
void WriteMonitoringHistosToFile (void) const
void TestClassification ()
Double_t GetSeparation (TH1 *, TH1 *) const
Double_t GetSeparation (PDF *=0, PDF *=0) const
Double_t GetSignificance (void) const
Double_t GetmuTransform (TTree *)
Double_t GetEfficiency (const TString &, Types::ETreeType, Double_t &)
Double_t GetTrainingEfficiency (const TString &)
Double_t GetRarity (Double_t, Types::ESBType) const
Double_t ComputeEstimator (std::vector< Double_t > &)
Double_t EstimatorFunction (std::vector< Double_t > &)
Double_t EstimatorFunction (Int_t ievt1, Int_t ievt2)
void SetTestSignalEfficiency (Double_t effS)
void PrintCuts (Double_t effS) const
Double_t GetCuts (Double_t effS, std::vector< Double_t > &cutMin, std::vector< Double_t > &cutMax) const
Double_t GetCuts (Double_t effS, Double_t *cutMin, Double_t *cutMax) const
const RankingCreateRanking ()
void DeclareOptions ()
void ProcessOptions ()
void CheckSetup ()
 MethodCuts (const TString &jobName, const TString &methodTitle, DataSetInfo &theData, const TString &theOption="MC:150:10000:", TDirectory *theTargetFile=0)
 MethodCuts (DataSetInfo &theData, const TString &theWeightFile, TDirectory *theTargetDir=NULL)
virtual ~MethodCuts (void)
virtual Bool_t HasAnalysisType (Types::EAnalysisType type, UInt_t numberClasses, UInt_t numberTargets)
void Train (void)
void AddWeightsXMLTo (void *parent) const
void ReadWeightsFromStream (std::istream &i)
void ReadWeightsFromXML (void *wghtnode)
Double_t GetMvaValue (Double_t *err=0, Double_t *errUpper=0)
void WriteMonitoringHistosToFile (void) const
void TestClassification ()
Double_t GetSeparation (TH1 *, TH1 *) const
Double_t GetSeparation (PDF *=0, PDF *=0) const
Double_t GetSignificance (void) const
Double_t GetmuTransform (TTree *)
Double_t GetEfficiency (const TString &, Types::ETreeType, Double_t &)
Double_t GetTrainingEfficiency (const TString &)
Double_t GetRarity (Double_t, Types::ESBType) const
Double_t ComputeEstimator (std::vector< Double_t > &)
Double_t EstimatorFunction (std::vector< Double_t > &)
Double_t EstimatorFunction (Int_t ievt1, Int_t ievt2)
void SetTestSignalEfficiency (Double_t effS)
void PrintCuts (Double_t effS) const
Double_t GetCuts (Double_t effS, std::vector< Double_t > &cutMin, std::vector< Double_t > &cutMax) const
Double_t GetCuts (Double_t effS, Double_t *cutMin, Double_t *cutMax) const
const RankingCreateRanking ()
void DeclareOptions ()
void ProcessOptions ()
void CheckSetup ()

Static Public Member Functions

static MethodCutsDynamicCast (IMethod *method)
static MethodCutsDynamicCast (IMethod *method)

Static Public Attributes

static const Double_t fgMaxAbsCutVal

Protected Member Functions

void MakeClassSpecific (std::ostream &, const TString &) const
void GetHelpMessage () const
void MakeClassSpecific (std::ostream &, const TString &) const
void GetHelpMessage () const

Private Types

enum  EFitMethodType
enum  EEffMethod
enum  EFitParameters
enum  EFitMethodType
enum  EEffMethod
enum  EFitParameters

Private Member Functions

void MatchParsToCuts (const std::vector< Double_t > &, Double_t *, Double_t *)
void MatchParsToCuts (Double_t *, Double_t *, Double_t *)
void MatchCutsToPars (std::vector< Double_t > &, Double_t *, Double_t *)
void MatchCutsToPars (std::vector< Double_t > &, Double_t **, Double_t **, Int_t ibin)
void CreateVariablePDFs (void)
void GetEffsfromSelection (Double_t *cutMin, Double_t *cutMax, Double_t &effS, Double_t &effB)
void GetEffsfromPDFs (Double_t *cutMin, Double_t *cutMax, Double_t &effS, Double_t &effB)
void Init (void)
void MatchParsToCuts (const std::vector< Double_t > &, Double_t *, Double_t *)
void MatchParsToCuts (Double_t *, Double_t *, Double_t *)
void MatchCutsToPars (std::vector< Double_t > &, Double_t *, Double_t *)
void MatchCutsToPars (std::vector< Double_t > &, Double_t **, Double_t **, Int_t ibin)
void CreateVariablePDFs (void)
void GetEffsfromSelection (Double_t *cutMin, Double_t *cutMax, Double_t &effS, Double_t &effB)
void GetEffsfromPDFs (Double_t *cutMin, Double_t *cutMax, Double_t &effS, Double_t &effB)
void Init (void)

Private Attributes

TString fFitMethodS
EFitMethodType fFitMethod
TString fEffMethodS
EEffMethod fEffMethod
std::vector< EFitParameters > * fFitParams
Double_t fTestSignalEff
Double_t fEffSMin
Double_t fEffSMax
Double_tfCutRangeMin
Double_tfCutRangeMax
std::vector< Interval * > fCutRange
BinarySearchTreefBinaryTreeS
BinarySearchTreefBinaryTreeB
Double_t ** fCutMin
Double_t ** fCutMax
Double_tfTmpCutMin
Double_tfTmpCutMax
TStringfAllVarsI
Int_t fNpar
Double_t fEffRef
std::vector< Int_t > * fRangeSign
TRandomfRandom
std::vector< Double_t > * fMeanS
std::vector< Double_t > * fMeanB
std::vector< Double_t > * fRmsS
std::vector< Double_t > * fRmsB
TH1fEffBvsSLocal
std::vector< TH1 * > * fVarHistS
std::vector< TH1 * > * fVarHistB
std::vector< TH1 * > * fVarHistS_smooth
std::vector< TH1 * > * fVarHistB_smooth
std::vector< PDF * > * fVarPdfS
std::vector< PDF * > * fVarPdfB
Bool_t fNegEffWarning
std::vector< EFitParameters > * fFitParams
Double_tfCutRangeMin
Double_tfCutRangeMax
std::vector< Interval * > fCutRange
BinarySearchTreefBinaryTreeS
BinarySearchTreefBinaryTreeB
Double_t ** fCutMin
Double_t ** fCutMax
Double_tfTmpCutMin
Double_tfTmpCutMax
TStringfAllVarsI
std::vector< Int_t > * fRangeSign
TRandomfRandom
std::vector< Double_t > * fMeanS
std::vector< Double_t > * fMeanB
std::vector< Double_t > * fRmsS
std::vector< Double_t > * fRmsB
TH1fEffBvsSLocal
std::vector< TH1 * > * fVarHistS
std::vector< TH1 * > * fVarHistB
std::vector< TH1 * > * fVarHistS_smooth
std::vector< TH1 * > * fVarHistB_smooth
std::vector< PDF * > * fVarPdfS
std::vector< PDF * > * fVarPdfB

Detailed Description

Definition at line 75 of file MethodCuts.h.


Member Enumeration Documentation

enum TMVA::MethodCuts::EFitMethodType [private]

Definition at line 162 of file MethodCuts.h.

enum TMVA::MethodCuts::EEffMethod [private]

Definition at line 173 of file MethodCuts.h.

enum TMVA::MethodCuts::EFitParameters [private]

Definition at line 177 of file MethodCuts.h.

enum TMVA::MethodCuts::EFitMethodType [private]

Definition at line 162 of file MethodCuts.h.

enum TMVA::MethodCuts::EEffMethod [private]

Definition at line 173 of file MethodCuts.h.

enum TMVA::MethodCuts::EFitParameters [private]

Definition at line 177 of file MethodCuts.h.


Constructor & Destructor Documentation

TMVA::MethodCuts::MethodCuts ( const TString jobName,
const TString methodTitle,
DataSetInfo theData,
const TString theOption = "MC:150:10000:",
TDirectory theTargetFile = 0 
)

TMVA::MethodCuts::MethodCuts ( DataSetInfo theData,
const TString theWeightFile,
TDirectory theTargetDir = NULL 
)

Definition at line 165 of file MethodCuts.cxx.

TMVA::MethodCuts::~MethodCuts ( void   )  [virtual]

Definition at line 261 of file MethodCuts.cxx.

References fAllVarsI, fBinaryTreeB, fBinaryTreeS, fCutMax, fCutMin, fCutRange, fCutRangeMax, fCutRangeMin, fEffBvsSLocal, fFitParams, fMeanB, fMeanS, fRangeSign, fRmsB, fRmsS, fTmpCutMax, fTmpCutMin, TMVA::MethodBase::GetNvar(), i, and NULL.

TMVA::MethodCuts::MethodCuts ( const TString jobName,
const TString methodTitle,
DataSetInfo theData,
const TString theOption = "MC:150:10000:",
TDirectory theTargetFile = 0 
)

TMVA::MethodCuts::MethodCuts ( DataSetInfo theData,
const TString theWeightFile,
TDirectory theTargetDir = NULL 
)

virtual TMVA::MethodCuts::~MethodCuts ( void   )  [virtual]


Member Function Documentation

static MethodCuts* TMVA::MethodCuts::DynamicCast ( IMethod method  )  [inline, static]

Definition at line 90 of file MethodCuts.h.

References method.

Referenced by G__G__TMVA1_457_0_3(), and G__setup_memfuncTMVAcLcLMethodCuts().

Bool_t TMVA::MethodCuts::HasAnalysisType ( Types::EAnalysisType  type,
UInt_t  numberClasses,
UInt_t  numberTargets 
) [virtual]

Implements TMVA::IMethod.

Definition at line 204 of file MethodCuts.cxx.

References TMVA::Types::kClassification.

void TMVA::MethodCuts::Train ( void   )  [virtual]

Implements TMVA::MethodBase.

Definition at line 565 of file MethodCuts.cxx.

References TMath::Abs(), TMVA::Configurable::CheckForUnusedOptions(), CreateVariablePDFs(), TMVA::MethodBase::Data(), TMVA::MethodBase::DataInfo(), TMVA::Configurable::DeclareOptionRef(), Endl, RootCsg::epsilon, EstimatorFunction(), TMVA::MethodBase::fBackgroundClass, fBinaryTreeB, fBinaryTreeS, fCutMax, fCutMin, fCutRange, fEffBvsSLocal, fEffMethod, fFitMethod, fFitParams, fgMaxAbsCutVal, TMVA::BinarySearchTree::Fill(), fMeanB, fMeanS, TMVA::MethodBase::fNbins, Form(), TMVA::MethodBase::fSignalClass, TMVA::MethodBase::GetEvent(), TMVA::MethodBase::GetEventCollection(), TMVA::MethodBase::GetName(), TMVA::DataSet::GetNEvents(), TMVA::MethodBase::GetNvar(), TMVA::DataSet::GetNVariables(), TMVA::Configurable::GetOptions(), TMVA::MethodBase::GetTestvarName(), TMVA::Event::GetValue(), TMVA::DataSetInfo::IsSignal(), TMVA::Types::kBackground, kFALSE, TMVA::kFATAL, kForceMax, kForceMin, kForceSmart, TMVA::kINFO, TMVA::Types::kSignal, TMVA::Types::kTraining, kUseEventScan, kUseGeneticAlgorithm, kUseMinuit, kUseMonteCarlo, kUseMonteCarloEvents, kUsePDFs, kUseSimulatedAnnealing, TMVA::Configurable::Log(), TMVA::BinarySearchTree::Max(), TMath::Max(), TMVA::BinarySearchTree::Mean(), TMVA::BinarySearchTree::Min(), TMath::Min(), nbins, NULL, TMVA::Configurable::ParseOptions(), PrintCuts(), TMVA::BinarySearchTree::RMS(), rnd, TMVA::FitterBase::Run(), seed, TH1::SetBinContent(), TH1::SetDirectory(), timer, TRandom::Uniform(), xmax, and xmin.

void TMVA::MethodCuts::AddWeightsXMLTo ( void *  parent  )  const [virtual]

Implements TMVA::MethodBase.

Definition at line 1249 of file MethodCuts.cxx.

References TMath::Abs(), TMVA::Tools::AddAttr(), TMVA::Tools::AddChild(), TMVA::Tools::AddComment(), fEffBvsSLocal, fEffMethod, fFitMethod, Form(), TH1::GetBinCenter(), TH1::GetBinContent(), GetCuts(), TMVA::MethodBase::GetNvar(), and TMVA::gTools().

void TMVA::MethodCuts::ReadWeightsFromStream ( std::istream &  i  )  [virtual]

Implements TMVA::MethodBase.

void TMVA::MethodCuts::ReadWeightsFromXML ( void *  wghtnode  )  [virtual]

Implements TMVA::MethodBase.

Definition at line 1290 of file MethodCuts.cxx.

References fCutMax, fCutMin, fEffBvsSLocal, fEffMethod, fFitMethod, Form(), TMVA::Tools::GetChild(), TMVA::MethodBase::GetName(), TMVA::Tools::GetNextChild(), TMVA::MethodBase::GetNvar(), TMVA::MethodBase::GetTestvarName(), TMVA::gTools(), i, TMVA::kFATAL, TMVA::kINFO, kUseEventScan, kUseGeneticAlgorithm, kUseMonteCarlo, kUseMonteCarloEvents, kUseSimulatedAnnealing, TMVA::kWARNING, TMVA::Configurable::Log(), TMVA::Tools::ReadAttr(), TH1::SetBinContent(), and TH1::SetDirectory().

Double_t TMVA::MethodCuts::GetMvaValue ( Double_t err = 0,
Double_t errUpper = 0 
) [virtual]

Implements TMVA::MethodBase.

Definition at line 419 of file MethodCuts.cxx.

References Endl, fCutMax, fCutMin, fEffBvsSLocal, TH1::FindBin(), TMVA::MethodBase::fNbins, fTestSignalEff, TMVA::MethodBase::GetEvent(), TMVA::MethodBase::GetNvar(), TMVA::Event::GetValue(), TMVA::kFATAL, kTRUE, TMVA::Configurable::Log(), TMVA::MethodBase::NoErrorCalc(), and NULL.

void TMVA::MethodCuts::WriteMonitoringHistosToFile ( void   )  const [virtual]

Reimplemented from TMVA::MethodBase.

Definition at line 1374 of file MethodCuts.cxx.

References TMVA::MethodBase::BaseDir(), fEffBvsSLocal, fEffMethod, fVarHistS, TMVA::MethodBase::GetNvar(), TDirectory::GetPath(), TMVA::kINFO, kUsePDFs, TMVA::Configurable::Log(), and TObject::Write().

void TMVA::MethodCuts::TestClassification (  )  [virtual]

Reimplemented from TMVA::MethodBase.

Definition at line 801 of file MethodCuts.cxx.

Double_t TMVA::MethodCuts::GetSeparation ( TH1 ,
TH1  
) const [inline, virtual]

Reimplemented from TMVA::MethodBase.

Definition at line 116 of file MethodCuts.h.

Double_t TMVA::MethodCuts::GetSeparation ( PDF = 0,
PDF = 0 
) const [inline, virtual]

Reimplemented from TMVA::MethodBase.

Definition at line 117 of file MethodCuts.h.

Double_t TMVA::MethodCuts::GetSignificance ( void   )  const [inline, virtual]

Reimplemented from TMVA::MethodBase.

Definition at line 118 of file MethodCuts.h.

Double_t TMVA::MethodCuts::GetmuTransform ( TTree  )  [inline]

Definition at line 119 of file MethodCuts.h.

Double_t TMVA::MethodCuts::GetEfficiency ( const TString ,
Types::ETreeType  ,
Double_t  
) [virtual]

Reimplemented from TMVA::MethodBase.

Definition at line 1508 of file MethodCuts.cxx.

References TMVA::MethodBase::Data(), TSpline::Eval(), TMVA::MethodBase::fBackgroundClass, fBinaryTreeB, fBinaryTreeS, fCutMax, fCutMin, TMVA::BinarySearchTree::Fill(), TMVA::MethodBase::fSignalClass, TMVA::MethodBase::fSpleffBvsS, TMVA::MethodBase::GetAnalysisType(), GetEffsfromSelection(), TMVA::MethodBase::GetEventCollection(), TMVA::Results::GetHist(), TMVA::MethodBase::GetMethodName(), TMVA::MethodBase::GetNvar(), TMVA::DataSet::GetResults(), TMVA::MethodBase::GetTestvarName(), TMVA::gTools(), TMVA::kFATAL, TMVA::Types::kTesting, list, TMVA::Configurable::Log(), NULL, TMVA::Tools::ParseFormatLine(), TH1::SetBinContent(), TMVA::DataSet::SetCurrentType(), TGraph::SetPoint(), TMath::Sqrt(), TMVA::Results::Store(), xmax, and xmin.

Double_t TMVA::MethodCuts::GetTrainingEfficiency ( const TString  )  [virtual]

Reimplemented from TMVA::MethodBase.

Definition at line 1396 of file MethodCuts.cxx.

References TMVA::MethodBase::Data(), TSpline::Eval(), TMVA::MethodBase::fBackgroundClass, fBinaryTreeB, fBinaryTreeS, fCutMax, fCutMin, TMVA::BinarySearchTree::Fill(), TAxis::FindBin(), TMVA::MethodBase::fSignalClass, TMVA::MethodBase::fSplTrainEffBvsS, TMVA::MethodBase::GetAnalysisType(), GetEffsfromSelection(), TMVA::MethodBase::GetEventCollection(), TMVA::Results::GetHist(), TMVA::MethodBase::GetMethodName(), TMVA::MethodBase::GetNvar(), TMVA::DataSet::GetResults(), TMVA::MethodBase::GetTestvarName(), TH1::GetXaxis(), TMVA::gTools(), TMVA::kFATAL, TMVA::Types::kTesting, TMVA::Types::kTraining, TMVA::kVERBOSE, TMVA::kWARNING, list, TMVA::Configurable::Log(), NULL, TMVA::Tools::ParseFormatLine(), TH1::SetBinContent(), and TMVA::Results::Store().

Double_t TMVA::MethodCuts::GetRarity ( Double_t  ,
Types::ESBType   
) const [inline, virtual]

Reimplemented from TMVA::MethodBase.

Definition at line 124 of file MethodCuts.h.

Double_t TMVA::MethodCuts::ComputeEstimator ( std::vector< Double_t > &   ) 

Definition at line 857 of file MethodCuts.cxx.

References TMath::Abs(), fCutMax, fCutMin, fCutRange, fEffBvsSLocal, fEffMethod, TH1::FindBin(), TMVA::MethodBase::fNbins, fTmpCutMax, fTmpCutMin, TH1::GetBinContent(), GetEffsfromPDFs(), GetEffsfromSelection(), TMVA::MethodBase::GetNvar(), kUseEventSelection, kUsePDFs, MatchParsToCuts(), and TH1::SetBinContent().

Referenced by EstimatorFunction().

Double_t TMVA::MethodCuts::EstimatorFunction ( std::vector< Double_t > &   )  [virtual]

Implements TMVA::IFitterTarget.

Definition at line 850 of file MethodCuts.cxx.

References ComputeEstimator().

Referenced by Train().

Double_t TMVA::MethodCuts::EstimatorFunction ( Int_t  ievt1,
Int_t  ievt2 
)

Definition at line 807 of file MethodCuts.cxx.

References ComputeEstimator(), TMVA::MethodBase::DataInfo(), TMVA::MethodBase::GetEvent(), TMVA::MethodBase::GetNvar(), and TMVA::Event::GetValue().

void TMVA::MethodCuts::SetTestSignalEfficiency ( Double_t  effS  )  [inline]

Definition at line 132 of file MethodCuts.h.

References fTestSignalEff.

void TMVA::MethodCuts::PrintCuts ( Double_t  effS  )  const

Definition at line 452 of file MethodCuts.cxx.

References TMVA::MethodBase::DataInfo(), Endl, fEffBvsSLocal, TH1::FindBin(), TH1::GetBinContent(), GetCuts(), TMVA::TransformationHandler::GetNameOfLastTransform(), TMVA::TransformationHandler::GetNumOfTransformations(), TMVA::MethodBase::GetTransformationHandler(), TMVA::TransformationHandler::GetTransformationStringsOfLastTransform(), i, TMVA::kINFO, and TMVA::Configurable::Log().

Referenced by Train().

Double_t TMVA::MethodCuts::GetCuts ( Double_t  effS,
std::vector< Double_t > &  cutMin,
std::vector< Double_t > &  cutMax 
) const

Definition at line 538 of file MethodCuts.cxx.

References fCutMax, fCutMin, fEffBvsSLocal, TH1::FindBin(), TMVA::MethodBase::fNbins, TH1::GetBinLowEdge(), and TMVA::MethodBase::GetNvar().

Referenced by AddWeightsXMLTo(), GetCuts(), main(), PrintCuts(), and TMVAClassificationApplication().

Double_t TMVA::MethodCuts::GetCuts ( Double_t  effS,
Double_t cutMin,
Double_t cutMax 
) const

Definition at line 522 of file MethodCuts.cxx.

References GetCuts(), and TMVA::MethodBase::GetNvar().

const Ranking* TMVA::MethodCuts::CreateRanking (  )  [inline, virtual]

Implements TMVA::MethodBase.

Definition at line 140 of file MethodCuts.h.

void TMVA::MethodCuts::DeclareOptions (  )  [virtual]

Implements TMVA::MethodBase.

Definition at line 293 of file MethodCuts.cxx.

References TMVA::Configurable::AddPreDefVal(), TMVA::Configurable::DeclareOptionRef(), fAllVarsI, fCutRange, fCutRangeMax, fCutRangeMin, fEffMethodS, fFitMethodS, TMVA::MethodBase::GetNvar(), and i.

void TMVA::MethodCuts::ProcessOptions (  )  [virtual]

Implements TMVA::MethodBase.

Definition at line 349 of file MethodCuts.cxx.

References Endl, fAllVarsI, fCutRange, fCutRangeMax, fCutRangeMin, fEffMethod, fEffMethodS, fFitMethod, fFitMethodS, Form(), TMVA::MethodBase::GetMethodTypeName(), TMVA::MethodBase::GetNvar(), TMVA::MethodBase::IgnoreEventsWithNegWeightsInTraining(), TMVA::MethodBase::IsNormalised(), kFALSE, TMVA::kFATAL, kForceMax, kForceMin, kForceSmart, TMVA::kINFO, kNotEnforced, kUseEventScan, kUseEventSelection, kUseGeneticAlgorithm, kUseMinuit, kUseMonteCarlo, kUseMonteCarloEvents, kUsePDFs, kUseSimulatedAnnealing, TMVA::kWARNING, TMVA::Configurable::Log(), and TMVA::MethodBase::SetNormalised().

void TMVA::MethodCuts::CheckSetup (  )  [inline, virtual]

Reimplemented from TMVA::MethodBase.

Definition at line 149 of file MethodCuts.h.

void TMVA::MethodCuts::MakeClassSpecific ( std::ostream &  ,
const TString  
) const [protected, virtual]

Reimplemented from TMVA::MethodBase.

Definition at line 1668 of file MethodCuts.cxx.

void TMVA::MethodCuts::GetHelpMessage (  )  const [protected, virtual]

Implements TMVA::IMethod.

Definition at line 1676 of file MethodCuts.cxx.

References TMVA::Tools::Color(), TMVA::gConfig(), TMVA::gTools(), TMVA::Configurable::Log(), and TMVA::Config::WriteOptionsReference().

void TMVA::MethodCuts::MatchParsToCuts ( const std::vector< Double_t > &  ,
Double_t ,
Double_t  
) [private]

Definition at line 943 of file MethodCuts.cxx.

References TMVA::MethodBase::GetNvar().

Referenced by ComputeEstimator().

void TMVA::MethodCuts::MatchParsToCuts ( Double_t ,
Double_t ,
Double_t  
) [private]

void TMVA::MethodCuts::MatchCutsToPars ( std::vector< Double_t > &  ,
Double_t ,
Double_t  
) [private]

Definition at line 976 of file MethodCuts.cxx.

References TMVA::MethodBase::GetNvar().

Referenced by MatchCutsToPars().

void TMVA::MethodCuts::MatchCutsToPars ( std::vector< Double_t > &  ,
Double_t **  ,
Double_t **  ,
Int_t  ibin 
) [private]

Definition at line 955 of file MethodCuts.cxx.

References Endl, TMVA::MethodBase::fNbins, TMVA::MethodBase::GetNvar(), TMVA::kFATAL, TMVA::Configurable::Log(), and MatchCutsToPars().

void TMVA::MethodCuts::CreateVariablePDFs ( void   )  [private]

Definition at line 1070 of file MethodCuts.cxx.

References TString::Clone(), TString::Data(), TMVA::MethodBase::Data(), TMVA::MethodBase::DataInfo(), TMVA::MethodBase::fInputVars, TMVA::MethodBase::fNbins, fVarHistB, fVarHistB_smooth, fVarHistS, fVarHistS_smooth, fVarPdfB, fVarPdfS, TMVA::MethodBase::GetEvent(), TMVA::MethodBase::GetInputVar(), TMVA::MethodBase::GetName(), TMVA::DataSet::GetNEvents(), TMVA::MethodBase::GetNvar(), TMVA::PDF::kSpline2, and val.

Referenced by Train().

void TMVA::MethodCuts::GetEffsfromSelection ( Double_t cutMin,
Double_t cutMax,
Double_t effS,
Double_t effB 
) [private]

Definition at line 1014 of file MethodCuts.cxx.

References Endl, fBinaryTreeB, fBinaryTreeS, fNegEffWarning, TMVA::MethodBase::GetNvar(), TMVA::BinarySearchTree::GetSumOfWeights(), TMVA::kFATAL, kTRUE, TMVA::kWARNING, TMVA::Configurable::Log(), and TMVA::BinarySearchTree::SearchVolume().

Referenced by ComputeEstimator(), GetEfficiency(), and GetTrainingEfficiency().

void TMVA::MethodCuts::GetEffsfromPDFs ( Double_t cutMin,
Double_t cutMax,
Double_t effS,
Double_t effB 
) [private]

Definition at line 988 of file MethodCuts.cxx.

References Endl, fNegEffWarning, fVarPdfS, TMVA::MethodBase::GetNvar(), kTRUE, TMVA::kWARNING, and TMVA::Configurable::Log().

Referenced by ComputeEstimator().

void TMVA::MethodCuts::Init ( void   )  [private, virtual]

Implements TMVA::MethodBase.

Definition at line 212 of file MethodCuts.cxx.

References fBinaryTreeB, fBinaryTreeS, fCutMax, fCutMin, fEffSMax, fEffSMin, fFitMethod, fFitParams, fMeanB, fMeanS, TMVA::MethodBase::fNbins, fNpar, fRangeSign, fRmsB, fRmsS, fTestSignalEff, fTmpCutMax, fTmpCutMin, fVarHistB, fVarHistB_smooth, fVarHistS, fVarHistS_smooth, fVarPdfB, fVarPdfS, TMVA::MethodBase::GetNvar(), i, kNotEnforced, and kUseMonteCarlo.

static MethodCuts* TMVA::MethodCuts::DynamicCast ( IMethod method  )  [inline, static]

Definition at line 90 of file MethodCuts.h.

References method.

virtual Bool_t TMVA::MethodCuts::HasAnalysisType ( Types::EAnalysisType  type,
UInt_t  numberClasses,
UInt_t  numberTargets 
) [virtual]

Implements TMVA::IMethod.

void TMVA::MethodCuts::Train ( void   )  [virtual]

Implements TMVA::MethodBase.

void TMVA::MethodCuts::AddWeightsXMLTo ( void *  parent  )  const [virtual]

Implements TMVA::MethodBase.

void TMVA::MethodCuts::ReadWeightsFromStream ( std::istream &  i  )  [virtual]

Implements TMVA::MethodBase.

void TMVA::MethodCuts::ReadWeightsFromXML ( void *  wghtnode  )  [virtual]

Implements TMVA::MethodBase.

Double_t TMVA::MethodCuts::GetMvaValue ( Double_t err = 0,
Double_t errUpper = 0 
) [virtual]

Implements TMVA::MethodBase.

void TMVA::MethodCuts::WriteMonitoringHistosToFile ( void   )  const [virtual]

Reimplemented from TMVA::MethodBase.

void TMVA::MethodCuts::TestClassification (  )  [virtual]

Reimplemented from TMVA::MethodBase.

Double_t TMVA::MethodCuts::GetSeparation ( TH1 ,
TH1  
) const [inline, virtual]

Reimplemented from TMVA::MethodBase.

Definition at line 116 of file MethodCuts.h.

Double_t TMVA::MethodCuts::GetSeparation ( PDF = 0,
PDF = 0 
) const [inline, virtual]

Reimplemented from TMVA::MethodBase.

Definition at line 117 of file MethodCuts.h.

Double_t TMVA::MethodCuts::GetSignificance ( void   )  const [inline, virtual]

Reimplemented from TMVA::MethodBase.

Definition at line 118 of file MethodCuts.h.

Double_t TMVA::MethodCuts::GetmuTransform ( TTree  )  [inline]

Definition at line 119 of file MethodCuts.h.

Double_t TMVA::MethodCuts::GetEfficiency ( const TString ,
Types::ETreeType  ,
Double_t  
) [virtual]

Reimplemented from TMVA::MethodBase.

Double_t TMVA::MethodCuts::GetTrainingEfficiency ( const TString  )  [virtual]

Reimplemented from TMVA::MethodBase.

Double_t TMVA::MethodCuts::GetRarity ( Double_t  ,
Types::ESBType   
) const [inline, virtual]

Reimplemented from TMVA::MethodBase.

Definition at line 124 of file MethodCuts.h.

Double_t TMVA::MethodCuts::ComputeEstimator ( std::vector< Double_t > &   ) 

Double_t TMVA::MethodCuts::EstimatorFunction ( std::vector< Double_t > &   )  [virtual]

Implements TMVA::IFitterTarget.

Double_t TMVA::MethodCuts::EstimatorFunction ( Int_t  ievt1,
Int_t  ievt2 
)

void TMVA::MethodCuts::SetTestSignalEfficiency ( Double_t  effS  )  [inline]

Definition at line 132 of file MethodCuts.h.

References fTestSignalEff.

void TMVA::MethodCuts::PrintCuts ( Double_t  effS  )  const

Double_t TMVA::MethodCuts::GetCuts ( Double_t  effS,
std::vector< Double_t > &  cutMin,
std::vector< Double_t > &  cutMax 
) const

Double_t TMVA::MethodCuts::GetCuts ( Double_t  effS,
Double_t cutMin,
Double_t cutMax 
) const

const Ranking* TMVA::MethodCuts::CreateRanking (  )  [inline, virtual]

Implements TMVA::MethodBase.

Definition at line 140 of file MethodCuts.h.

void TMVA::MethodCuts::DeclareOptions (  )  [virtual]

Implements TMVA::MethodBase.

void TMVA::MethodCuts::ProcessOptions (  )  [virtual]

Implements TMVA::MethodBase.

void TMVA::MethodCuts::CheckSetup (  )  [inline, virtual]

Reimplemented from TMVA::MethodBase.

Definition at line 149 of file MethodCuts.h.

void TMVA::MethodCuts::MakeClassSpecific ( std::ostream &  ,
const TString  
) const [protected, virtual]

Reimplemented from TMVA::MethodBase.

void TMVA::MethodCuts::GetHelpMessage (  )  const [protected, virtual]

Implements TMVA::IMethod.

void TMVA::MethodCuts::MatchParsToCuts ( const std::vector< Double_t > &  ,
Double_t ,
Double_t  
) [private]

void TMVA::MethodCuts::MatchParsToCuts ( Double_t ,
Double_t ,
Double_t  
) [private]

void TMVA::MethodCuts::MatchCutsToPars ( std::vector< Double_t > &  ,
Double_t ,
Double_t  
) [private]

void TMVA::MethodCuts::MatchCutsToPars ( std::vector< Double_t > &  ,
Double_t **  ,
Double_t **  ,
Int_t  ibin 
) [private]

void TMVA::MethodCuts::CreateVariablePDFs ( void   )  [private]

void TMVA::MethodCuts::GetEffsfromSelection ( Double_t cutMin,
Double_t cutMax,
Double_t effS,
Double_t effB 
) [private]

void TMVA::MethodCuts::GetEffsfromPDFs ( Double_t cutMin,
Double_t cutMax,
Double_t effS,
Double_t effB 
) [private]

void TMVA::MethodCuts::Init ( void   )  [private, virtual]

Implements TMVA::MethodBase.


Member Data Documentation

static const Double_t TMVA::MethodCuts::fgMaxAbsCutVal [static]

Definition at line 146 of file MethodCuts.h.

Referenced by G__setup_memvarTMVAcLcLMethodCuts(), and Train().

TString TMVA::MethodCuts::fFitMethodS [private]

Definition at line 183 of file MethodCuts.h.

Referenced by DeclareOptions(), and ProcessOptions().

EFitMethodType TMVA::MethodCuts::fFitMethod [private]

Definition at line 184 of file MethodCuts.h.

Referenced by AddWeightsXMLTo(), Init(), ProcessOptions(), ReadWeightsFromXML(), and Train().

TString TMVA::MethodCuts::fEffMethodS [private]

Definition at line 185 of file MethodCuts.h.

Referenced by DeclareOptions(), and ProcessOptions().

EEffMethod TMVA::MethodCuts::fEffMethod [private]

Definition at line 186 of file MethodCuts.h.

Referenced by AddWeightsXMLTo(), ComputeEstimator(), ProcessOptions(), ReadWeightsFromXML(), Train(), and WriteMonitoringHistosToFile().

std::vector<EFitParameters>* TMVA::MethodCuts::fFitParams [private]

Definition at line 187 of file MethodCuts.h.

Referenced by Init(), Train(), and ~MethodCuts().

Double_t TMVA::MethodCuts::fTestSignalEff [private]

Definition at line 188 of file MethodCuts.h.

Referenced by GetMvaValue(), Init(), and SetTestSignalEfficiency().

Double_t TMVA::MethodCuts::fEffSMin [private]

Definition at line 189 of file MethodCuts.h.

Referenced by Init().

Double_t TMVA::MethodCuts::fEffSMax [private]

Definition at line 190 of file MethodCuts.h.

Referenced by Init().

Double_t* TMVA::MethodCuts::fCutRangeMin [private]

Definition at line 191 of file MethodCuts.h.

Referenced by DeclareOptions(), ProcessOptions(), and ~MethodCuts().

Double_t* TMVA::MethodCuts::fCutRangeMax [private]

Definition at line 192 of file MethodCuts.h.

Referenced by DeclareOptions(), ProcessOptions(), and ~MethodCuts().

std::vector<Interval*> TMVA::MethodCuts::fCutRange [private]

Definition at line 193 of file MethodCuts.h.

Referenced by ComputeEstimator(), DeclareOptions(), ProcessOptions(), Train(), and ~MethodCuts().

BinarySearchTree* TMVA::MethodCuts::fBinaryTreeS [private]

Definition at line 196 of file MethodCuts.h.

Referenced by GetEfficiency(), GetEffsfromSelection(), GetTrainingEfficiency(), Init(), Train(), and ~MethodCuts().

BinarySearchTree* TMVA::MethodCuts::fBinaryTreeB [private]

Definition at line 197 of file MethodCuts.h.

Referenced by GetEfficiency(), GetEffsfromSelection(), GetTrainingEfficiency(), Init(), Train(), and ~MethodCuts().

Double_t** TMVA::MethodCuts::fCutMin [private]

Definition at line 200 of file MethodCuts.h.

Referenced by ComputeEstimator(), GetCuts(), GetEfficiency(), GetMvaValue(), GetTrainingEfficiency(), Init(), ReadWeightsFromXML(), Train(), and ~MethodCuts().

Double_t** TMVA::MethodCuts::fCutMax [private]

Definition at line 201 of file MethodCuts.h.

Referenced by ComputeEstimator(), GetCuts(), GetEfficiency(), GetMvaValue(), GetTrainingEfficiency(), Init(), ReadWeightsFromXML(), Train(), and ~MethodCuts().

Double_t* TMVA::MethodCuts::fTmpCutMin [private]

Definition at line 202 of file MethodCuts.h.

Referenced by ComputeEstimator(), Init(), and ~MethodCuts().

Double_t* TMVA::MethodCuts::fTmpCutMax [private]

Definition at line 203 of file MethodCuts.h.

Referenced by ComputeEstimator(), Init(), and ~MethodCuts().

TString* TMVA::MethodCuts::fAllVarsI [private]

Definition at line 204 of file MethodCuts.h.

Referenced by DeclareOptions(), ProcessOptions(), and ~MethodCuts().

Int_t TMVA::MethodCuts::fNpar [private]

Definition at line 207 of file MethodCuts.h.

Referenced by Init().

Double_t TMVA::MethodCuts::fEffRef [private]

Definition at line 208 of file MethodCuts.h.

std::vector<Int_t>* TMVA::MethodCuts::fRangeSign [private]

Definition at line 209 of file MethodCuts.h.

Referenced by Init(), and ~MethodCuts().

TRandom* TMVA::MethodCuts::fRandom [private]

Definition at line 210 of file MethodCuts.h.

std::vector<Double_t>* TMVA::MethodCuts::fMeanS [private]

Reimplemented from TMVA::MethodBase.

Definition at line 213 of file MethodCuts.h.

Referenced by Init(), Train(), and ~MethodCuts().

std::vector<Double_t>* TMVA::MethodCuts::fMeanB [private]

Reimplemented from TMVA::MethodBase.

Definition at line 214 of file MethodCuts.h.

Referenced by Init(), Train(), and ~MethodCuts().

std::vector<Double_t>* TMVA::MethodCuts::fRmsS [private]

Reimplemented from TMVA::MethodBase.

Definition at line 215 of file MethodCuts.h.

Referenced by Init(), and ~MethodCuts().

std::vector<Double_t>* TMVA::MethodCuts::fRmsB [private]

Reimplemented from TMVA::MethodBase.

Definition at line 216 of file MethodCuts.h.

Referenced by Init(), and ~MethodCuts().

TH1* TMVA::MethodCuts::fEffBvsSLocal [private]

Definition at line 218 of file MethodCuts.h.

Referenced by AddWeightsXMLTo(), ComputeEstimator(), GetCuts(), GetMvaValue(), PrintCuts(), ReadWeightsFromXML(), Train(), WriteMonitoringHistosToFile(), and ~MethodCuts().

std::vector<TH1*>* TMVA::MethodCuts::fVarHistS [private]

Definition at line 221 of file MethodCuts.h.

Referenced by CreateVariablePDFs(), Init(), and WriteMonitoringHistosToFile().

std::vector<TH1*>* TMVA::MethodCuts::fVarHistB [private]

Definition at line 222 of file MethodCuts.h.

Referenced by CreateVariablePDFs(), and Init().

std::vector<TH1*>* TMVA::MethodCuts::fVarHistS_smooth [private]

Definition at line 223 of file MethodCuts.h.

Referenced by CreateVariablePDFs(), and Init().

std::vector<TH1*>* TMVA::MethodCuts::fVarHistB_smooth [private]

Definition at line 224 of file MethodCuts.h.

Referenced by CreateVariablePDFs(), and Init().

std::vector<PDF*>* TMVA::MethodCuts::fVarPdfS [private]

Definition at line 225 of file MethodCuts.h.

Referenced by CreateVariablePDFs(), GetEffsfromPDFs(), and Init().

std::vector<PDF*>* TMVA::MethodCuts::fVarPdfB [private]

Definition at line 226 of file MethodCuts.h.

Referenced by CreateVariablePDFs(), and Init().

Bool_t TMVA::MethodCuts::fNegEffWarning [private]

Definition at line 229 of file MethodCuts.h.

Referenced by GetEffsfromPDFs(), and GetEffsfromSelection().

std::vector<EFitParameters>* TMVA::MethodCuts::fFitParams [private]

Definition at line 187 of file MethodCuts.h.

Double_t* TMVA::MethodCuts::fCutRangeMin [private]

Definition at line 191 of file MethodCuts.h.

Double_t* TMVA::MethodCuts::fCutRangeMax [private]

Definition at line 192 of file MethodCuts.h.

std::vector<Interval*> TMVA::MethodCuts::fCutRange [private]

Definition at line 193 of file MethodCuts.h.

BinarySearchTree* TMVA::MethodCuts::fBinaryTreeS [private]

Definition at line 196 of file MethodCuts.h.

BinarySearchTree* TMVA::MethodCuts::fBinaryTreeB [private]

Definition at line 197 of file MethodCuts.h.

Double_t** TMVA::MethodCuts::fCutMin [private]

Definition at line 200 of file MethodCuts.h.

Double_t** TMVA::MethodCuts::fCutMax [private]

Definition at line 201 of file MethodCuts.h.

Double_t* TMVA::MethodCuts::fTmpCutMin [private]

Definition at line 202 of file MethodCuts.h.

Double_t* TMVA::MethodCuts::fTmpCutMax [private]

Definition at line 203 of file MethodCuts.h.

TString* TMVA::MethodCuts::fAllVarsI [private]

Definition at line 204 of file MethodCuts.h.

std::vector<Int_t>* TMVA::MethodCuts::fRangeSign [private]

Definition at line 209 of file MethodCuts.h.

TRandom* TMVA::MethodCuts::fRandom [private]

Definition at line 210 of file MethodCuts.h.

std::vector<Double_t>* TMVA::MethodCuts::fMeanS [private]

Reimplemented from TMVA::MethodBase.

Definition at line 213 of file MethodCuts.h.

std::vector<Double_t>* TMVA::MethodCuts::fMeanB [private]

Reimplemented from TMVA::MethodBase.

Definition at line 214 of file MethodCuts.h.

std::vector<Double_t>* TMVA::MethodCuts::fRmsS [private]

Reimplemented from TMVA::MethodBase.

Definition at line 215 of file MethodCuts.h.

std::vector<Double_t>* TMVA::MethodCuts::fRmsB [private]

Reimplemented from TMVA::MethodBase.

Definition at line 216 of file MethodCuts.h.

TH1* TMVA::MethodCuts::fEffBvsSLocal [private]

Definition at line 218 of file MethodCuts.h.

std::vector<TH1*>* TMVA::MethodCuts::fVarHistS [private]

Definition at line 221 of file MethodCuts.h.

std::vector<TH1*>* TMVA::MethodCuts::fVarHistB [private]

Definition at line 222 of file MethodCuts.h.

std::vector<TH1*>* TMVA::MethodCuts::fVarHistS_smooth [private]

Definition at line 223 of file MethodCuts.h.

std::vector<TH1*>* TMVA::MethodCuts::fVarHistB_smooth [private]

Definition at line 224 of file MethodCuts.h.

std::vector<PDF*>* TMVA::MethodCuts::fVarPdfS [private]

Definition at line 225 of file MethodCuts.h.

std::vector<PDF*>* TMVA::MethodCuts::fVarPdfB [private]

Definition at line 226 of file MethodCuts.h.


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