Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
QuickMVAProbEstimator.h
Go to the documentation of this file.
1#ifndef ROOT_TMVA_QUICKMVAPROBESTIMATOR
2#define ROOT_TMVA_QUICKMVAPROBESTIMATOR
3
4#include <vector>
5#include <algorithm>
6
7#include "TMVA/MsgLogger.h"
8
9namespace TMVA {
10
12 public:
13
14 struct EventInfo{
17 Int_t eventType; //signal or background
18 };
19 static bool compare(EventInfo e1, EventInfo e2){return e1.eventValue < e2.eventValue;}
20
21 QuickMVAProbEstimator(Int_t nMin=40, Int_t nMax=5000):fIsSorted(false),fNMin(nMin),fNMax(nMax){ fLogger = new MsgLogger("QuickMVAProbEstimator");}
22
23
25 void AddEvent(Double_t val, Double_t weight, Int_t type);
26
27
29
30
31 private:
32 std::vector<EventInfo> fEvtVector;
36
38 MsgLogger& Log() const { return *fLogger; }
39
40 ClassDef(QuickMVAProbEstimator,0); // Interface to different separation criteria used in training algorithms
41
42
43 };
44}
45
46
47#endif
double Double_t
Definition RtypesCore.h:59
#define ClassDef(name, id)
Definition Rtypes.h:337
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
ostringstream derivative to redirect and format output
Definition MsgLogger.h:57
QuickMVAProbEstimator(Int_t nMin=40, Int_t nMax=5000)
static bool compare(EventInfo e1, EventInfo e2)
Double_t GetMVAProbAt(Double_t value)
void AddEvent(Double_t val, Double_t weight, Int_t type)
std::vector< EventInfo > fEvtVector
create variable transformations