|
FairRoot/PandaRoot
|
#include "TMVA/Reader.h"#include "TFile.h"#include "TTree.h"#include "TNtuple.h"#include "TString.h"#include "TRegexp.h"#include "TEventList.h"#include "TLeaf.h"#include "TCanvas.h"#include "TH1F.h"#include "TGraph.h"#include "TSystem.h"#include <iostream>#include <map>#include <vector>#include <algorithm>#include <utility>Go to the source code of this file.
Macros | |
| #define | MAX 1000 |
| #define | TMVAgettype |
Typedefs | |
| typedef std::map< int, int > | CountMap |
| typedef std::vector< pair < float, int > > | ValueMap |
Functions | |
| int | gettype (TTree *t, TString varname) |
| int | SplitString (TString s, TString delim, TString *toks, int maxtoks) |
| TString | getFromCut (TString vars) |
| int | init (TTree *t, TString vars) |
| TString | getFromWeightFile (TString wfile) |
| void | TMVATester (TString fname="", TString treename="", TString sigcut="", TString wfile="", TString precut="") |
Variables | |
| Float_t | fbranch [MAX] |
| Float_t | freader [MAX] |
| Int_t | ibranch [MAX] |
| Int_t | types [MAX] |
| Bool_t | bbranch [MAX] |
| Int_t | ev |
| Int_t | run |
| Int_t | mode |
| Int_t | rec |
| Int_t | nbranch |
| #define MAX 1000 |
Definition at line 20 of file analysis/TMVATester.C.
| #define TMVAgettype |
Definition at line 33 of file analysis/TMVATester.C.
Definition at line 28 of file analysis/TMVATester.C.
| typedef std::vector<pair<float, int> > ValueMap |
Definition at line 29 of file analysis/TMVATester.C.
Definition at line 63 of file analysis/TMVATester.C.
References i, n, res, SplitString(), TString, and v.
Definition at line 111 of file analysis/TMVATester.C.
References exp(), i, n, r, res, SplitString(), TString, and v.
Referenced by TMVATester().
| int gettype | ( | TTree * | t, |
| TString | varname | ||
| ) |
| int init | ( | TTree * | t, |
| TString | vars | ||
| ) |
| void TMVATester | ( | TString | fname = "", |
| TString | treename = "", |
||
| TString | sigcut = "", |
||
| TString | wfile = "", |
||
| TString | precut = "" |
||
| ) |
Definition at line 133 of file analysis/TMVATester.C.
References bbranch, c1, elb, els, f, fbranch, freader, getFromCut(), getFromWeightFile(), i, ibranch, init, leg, max(), Nb, Ns, SplitString(), t, TString, types, and vars.
Definition at line 24 of file analysis/TMVATester.C.
| Int_t ev |
Definition at line 26 of file analysis/TMVATester.C.
| Float_t fbranch[MAX] |
Definition at line 22 of file analysis/TMVATester.C.
| Float_t freader[MAX] |
Definition at line 22 of file analysis/TMVATester.C.
| Int_t ibranch[MAX] |
Definition at line 23 of file analysis/TMVATester.C.
| Int_t mode |
Definition at line 26 of file analysis/TMVATester.C.
| Int_t nbranch |
Definition at line 26 of file analysis/TMVATester.C.
| Int_t rec |
Definition at line 26 of file analysis/TMVATester.C.
| Int_t run |
Definition at line 26 of file analysis/TMVATester.C.
| Int_t types[MAX] |
Definition at line 23 of file analysis/TMVATester.C.
1.8.5