38typedef std::vector<std::vector<Float_t> >
LDAEvents;
72 std::map<Int_t, std::vector<Float_t> >
fMu;
std::vector< std::vector< Float_t > > LDAEvents
LDA(Float_t tolerence=1.0e-5, Bool_t debug=false)
constructor
std::map< Int_t, Float_t > fEventFraction
std::map< Int_t, std::vector< Float_t > > fMu
void Initialize(const LDAEvents &inputSignal, const LDAEvents &inputBackground)
Create LDA matrix using local events found by knn method.
Float_t GetLogLikelihood(const std::vector< Float_t > &x, Int_t k)
Log likelihood function with Gaussian approximation.
Float_t GetProb(const std::vector< Float_t > &x, Int_t k)
Signal probability with Gaussian approximation.
Float_t FSub(const std::vector< Float_t > &x, Int_t k)
Probability value using Gaussian approximation.
ostringstream derivative to redirect and format output
create variable transformations