12#ifndef EFLOWLOOKUPEXP_H_
13#define EFLOWLOOKUPEXP_H_
30 for (
int i = 0; i <= nExpBins; ++i) {
34 const double substep = 1./nExpSubBins;
35 for (
int iSub = 0; iSub <= nExpSubBins; ++iSub){
36 m_subExp[iSub] = exp(-substep* iSub);
43 int iExpBin = (int)
x;
double evaluate(double x) const
std::vector< double > m_subExp
static const eflowLookupExp * getInstance(int nExpBins=50, int nExpSubBins=1000)
eflowLookupExp(int nExpBins, int nExpSubBins)
std::vector< double > m_exp