Crombie Tools
|
This class does the classification with BDTs. More...
#include <TmvaClassifier.h>
Public Member Functions | |
TmvaClassifier () | |
virtual | ~TmvaClassifier () |
void | AddBackgroundTree (TString file, TString tree) |
void | AddSignalTree (TString file, TString tree) |
void | AddSpectatorVariable (TString var) |
void | AddVariable (TString var, char type='F') |
void | Apply () |
void | Apply (Int_t NumBins, Double_t *VarVals, Int_t NumMapPoints=501) |
void | Apply (Int_t NumBins, Double_t VarMin, Double_t VarMax, Int_t NumMapPoints=501) |
TString | GetApplicationDirectory () |
TString | GetApplicationOutput () |
TString | GetApplicationTree () |
TString | GetConfigFile () |
TString | GetMethodName () |
TString | GetOutputName () |
TString | GetUniformVariable () |
TCut | GetWeight () |
TString | GetWeightsFile () |
void | SetApplicationDirectory (TString dir) |
void | SetApplicationOutput (TString dir) |
void | SetApplicationTree (TString tree) |
void | SetBackgroundCut (TCut cut) |
void | SetBDTDef (TString def) |
void | SetBDTName (TString name) |
void | SetConfigFile (TString name) |
void | SetJobName (TString name) |
void | SetMethodName (TString name) |
void | SetOutputName (TString name) |
void | SetReportFrequency (Int_t freq) |
void | SetSignalCut (TCut cut) |
void | SetUniformVariable (TString var) |
void | SetWeight (TCut weight) |
void | TmvaClassify () |
Private Attributes | |
TString | fApplicationDirectory |
TString | fApplicationOutput |
TString | fApplicationTree |
TCut | fBackgroundCut |
std::vector< TString > | fBackgroundFileNames |
std::vector< TString > | fBackgroundTreeNames |
TString | fBDTDef |
TString | fBDTName |
TString | fConfigFile |
TString | fJobName |
TString | fMethodName |
TString | fOutputName |
Int_t | fReportFrequency |
TCut | fSignalCut |
std::vector< TString > | fSignalFileNames |
std::vector< TString > | fSignalTreeNames |
std::vector< TString > | fSpectatorVariables |
TString | fUniformVariable |
std::vector< TString > | fVariables |
std::vector< char > | fVarTypes |
TCut | fWeight |
This class does the classification with BDTs.
Definition at line 23 of file TmvaClassifier.h.
TmvaClassifier::TmvaClassifier | ( | ) |
Definition at line 18 of file TmvaClassifier.cc.
References fBackgroundFileNames, fBackgroundTreeNames, fSignalFileNames, fSignalTreeNames, fSpectatorVariables, fVariables, and fVarTypes.
|
virtual |
Definition at line 46 of file TmvaClassifier.cc.
|
inline |
Definition at line 36 of file TmvaClassifier.h.
References fBackgroundFileNames, and fBackgroundTreeNames.
|
inline |
Definition at line 34 of file TmvaClassifier.h.
References fSignalFileNames, and fSignalTreeNames.
|
inline |
Definition at line 54 of file TmvaClassifier.h.
References fSpectatorVariables, and TmvaClassify().
|
inline |
Definition at line 53 of file TmvaClassifier.h.
References fVariables, and fVarTypes.
Referenced by SetConfigFile().
void TmvaClassifier::Apply | ( | ) |
Definition at line 135 of file TmvaClassifier.cc.
Referenced by Apply(), and SetReportFrequency().
void TmvaClassifier::Apply | ( | Int_t | NumBins, |
Double_t * | VarVals, | ||
Int_t | NumMapPoints = 501 |
||
) |
Definition at line 154 of file TmvaClassifier.cc.
References TreeContainer::AddDirectory(), PlotBase::AddWeight(), fApplicationDirectory, fApplicationOutput, fApplicationTree, fBDTName, fJobName, fMethodName, fOutputName, fReportFrequency, fSpectatorVariables, fUniformVariable, fVariables, fVarTypes, fWeight, PlotHists::MakeHists(), TreeContainer::ReturnFileNames(), TreeContainer::ReturnTree(), TreeContainer::ReturnTreeList(), PlotBase::SetDefaultExpr(), PlotBase::SetDefaultTree(), and TreeContainer::SetSkimmingCut().
void TmvaClassifier::Apply | ( | Int_t | NumBins, |
Double_t | VarMin, | ||
Double_t | VarMax, | ||
Int_t | NumMapPoints = 501 |
||
) |
Definition at line 142 of file TmvaClassifier.cc.
References Apply().
|
inline |
Definition at line 64 of file TmvaClassifier.h.
References fApplicationDirectory.
|
inline |
Definition at line 66 of file TmvaClassifier.h.
References fApplicationOutput.
|
inline |
Definition at line 65 of file TmvaClassifier.h.
References fApplicationTree.
|
inline |
Definition at line 62 of file TmvaClassifier.h.
References fConfigFile.
|
inline |
Definition at line 46 of file TmvaClassifier.h.
References fMethodName.
|
inline |
Definition at line 45 of file TmvaClassifier.h.
References fOutputName.
|
inline |
Definition at line 47 of file TmvaClassifier.h.
References fUniformVariable.
|
inline |
Definition at line 48 of file TmvaClassifier.h.
References fWeight, and SetConfigFile().
|
inline |
Definition at line 68 of file TmvaClassifier.h.
References fJobName, and fMethodName.
|
inline |
Definition at line 58 of file TmvaClassifier.h.
References crombie_completion::dir, and fApplicationDirectory.
|
inline |
Definition at line 60 of file TmvaClassifier.h.
References crombie_completion::dir, and fApplicationOutput.
|
inline |
Definition at line 59 of file TmvaClassifier.h.
References fApplicationTree.
|
inline |
Definition at line 30 of file TmvaClassifier.h.
References fBackgroundCut.
|
inline |
Definition at line 41 of file TmvaClassifier.h.
References oldmaketree::def, and fBDTDef.
|
inline |
Definition at line 42 of file TmvaClassifier.h.
References fBDTName.
void TmvaClassifier::SetConfigFile | ( | TString | name | ) |
Definition at line 52 of file TmvaClassifier.cc.
References AddVariable(), fBDTName, fConfigFile, and fUniformVariable.
Referenced by GetWeight().
|
inline |
Definition at line 39 of file TmvaClassifier.h.
References fJobName.
|
inline |
Definition at line 40 of file TmvaClassifier.h.
References fMethodName.
|
inline |
Definition at line 43 of file TmvaClassifier.h.
References fOutputName.
|
inline |
Definition at line 70 of file TmvaClassifier.h.
References Apply(), and fReportFrequency.
|
inline |
Definition at line 29 of file TmvaClassifier.h.
References fSignalCut.
|
inline |
Definition at line 52 of file TmvaClassifier.h.
References fUniformVariable.
|
inline |
Definition at line 32 of file TmvaClassifier.h.
References fWeight.
void TmvaClassifier::TmvaClassify | ( | ) |
Definition at line 76 of file TmvaClassifier.cc.
References fBackgroundCut, fBackgroundFileNames, fBackgroundTreeNames, fBDTDef, fJobName, fMethodName, fOutputName, fSignalCut, fSignalFileNames, fSignalTreeNames, fSpectatorVariables, fUniformVariable, fVariables, fWeight, TreeContainer::ReturnTree(), and TreeContainer::SetSkimmingCut().
Referenced by AddSpectatorVariable().
|
private |
Definition at line 101 of file TmvaClassifier.h.
Referenced by Apply(), GetApplicationDirectory(), and SetApplicationDirectory().
|
private |
Definition at line 103 of file TmvaClassifier.h.
Referenced by Apply(), GetApplicationOutput(), and SetApplicationOutput().
|
private |
Definition at line 102 of file TmvaClassifier.h.
Referenced by Apply(), GetApplicationTree(), and SetApplicationTree().
|
private |
Definition at line 79 of file TmvaClassifier.h.
Referenced by SetBackgroundCut(), and TmvaClassify().
|
private |
Definition at line 85 of file TmvaClassifier.h.
Referenced by AddBackgroundTree(), TmvaClassifier(), and TmvaClassify().
|
private |
Definition at line 86 of file TmvaClassifier.h.
Referenced by AddBackgroundTree(), TmvaClassifier(), and TmvaClassify().
|
private |
Definition at line 90 of file TmvaClassifier.h.
Referenced by SetBDTDef(), and TmvaClassify().
|
private |
Definition at line 91 of file TmvaClassifier.h.
Referenced by Apply(), SetBDTName(), and SetConfigFile().
|
private |
Definition at line 94 of file TmvaClassifier.h.
Referenced by GetConfigFile(), and SetConfigFile().
|
private |
Definition at line 88 of file TmvaClassifier.h.
Referenced by Apply(), GetWeightsFile(), SetJobName(), and TmvaClassify().
|
private |
Definition at line 89 of file TmvaClassifier.h.
Referenced by Apply(), GetMethodName(), GetWeightsFile(), SetMethodName(), and TmvaClassify().
|
private |
Definition at line 92 of file TmvaClassifier.h.
Referenced by Apply(), GetOutputName(), SetOutputName(), and TmvaClassify().
|
private |
Definition at line 105 of file TmvaClassifier.h.
Referenced by Apply(), and SetReportFrequency().
|
private |
Definition at line 78 of file TmvaClassifier.h.
Referenced by SetSignalCut(), and TmvaClassify().
|
private |
Definition at line 83 of file TmvaClassifier.h.
Referenced by AddSignalTree(), TmvaClassifier(), and TmvaClassify().
|
private |
Definition at line 84 of file TmvaClassifier.h.
Referenced by AddSignalTree(), TmvaClassifier(), and TmvaClassify().
|
private |
Definition at line 99 of file TmvaClassifier.h.
Referenced by AddSpectatorVariable(), Apply(), TmvaClassifier(), and TmvaClassify().
|
private |
Definition at line 96 of file TmvaClassifier.h.
Referenced by Apply(), GetUniformVariable(), SetConfigFile(), SetUniformVariable(), and TmvaClassify().
|
private |
Definition at line 97 of file TmvaClassifier.h.
Referenced by AddVariable(), Apply(), TmvaClassifier(), and TmvaClassify().
|
private |
Definition at line 98 of file TmvaClassifier.h.
Referenced by AddVariable(), Apply(), and TmvaClassifier().
|
private |
Definition at line 81 of file TmvaClassifier.h.
Referenced by Apply(), GetWeight(), SetWeight(), and TmvaClassify().