This file is indexed.

/usr/include/root/TMVA/QuickMVAProbEstimator.h is in libroot-tmva-dev 5.34.14-1build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#ifndef ROOT_TMVA_QUICKMVAPROBESTIMATOR 
#define ROOT_TMVA_QUICKMVAPROBESTIMATOR 

#include <iostream>
#include <vector>
#include <algorithm>

#include "TMVA/MsgLogger.h"

namespace TMVA {

  class QuickMVAProbEstimator {
  public:
    
    struct EventInfo{
      Double_t eventValue;
      Double_t eventWeight; 
      Int_t    eventType;  //signal or background
    };
    static bool compare(EventInfo e1, EventInfo e2){return e1.eventValue < e2.eventValue;}
    
    QuickMVAProbEstimator(Int_t nMin=40, Int_t nMax=5000):fIsSorted(false),fNMin(nMin),fNMax(nMax){ fLogger = new MsgLogger("QuickMVAProbEstimator");}
    
    
    virtual ~QuickMVAProbEstimator(){delete fLogger;}
    void AddEvent(Double_t val, Double_t weight, Int_t type);
    
   
    Double_t GetMVAProbAt(Double_t value);
    
    
  private:
    std::vector<EventInfo> fEvtVector;
    Bool_t                 fIsSorted;
    UInt_t                 fNMin;
    UInt_t                 fNMax;
    
    mutable MsgLogger*    fLogger;
    MsgLogger& Log() const { return *fLogger; }
    
    ClassDef(QuickMVAProbEstimator,0) // Interface to different separation critiera used in training algorithms
      
      
  };
}


#endif