38class VecVecDouble :
public std::vector<std::vector<Double_t> > { } ;
40typedef std::pair<Int_t, VecVecDouble::iterator >
iiPair;
41typedef std::vector< iiPair >
iiVec;
42typedef std::pair<Int_t, VecTVecDouble::iterator >
itPair;
43typedef std::vector< itPair >
itVec;
131 Double_t gauss(std::vector<Double_t> &
x, std::vector<std::vector<Double_t>> &weights)
const;
132 void loopRange(std::vector<Double_t> &
x, std::map<Int_t, Bool_t> &ibMap)
const;
158 mutable std::vector<std::vector<Double_t> >
_dataPts;
162 mutable std::vector<std::vector<Double_t> >*
_weights;
170 mutable std::vector<Double_t>
_rho;
172 mutable std::vector<Double_t>
_x;
192 mutable std::vector<Int_t>
_idx;
195 mutable std::map<Int_t,Double_t>
_wMap;
218 return (aVec[
idx]<bVec[
idx]);
std::pair< Int_t, VecVecDouble::iterator > iiPair
std::vector< itPair > itVec
std::vector< iiPair > iiVec
std::pair< Int_t, VecTVecDouble::iterator > itPair
#define ClassDef(name, id)
RooAbsData is the common abstract base class for binned and unbinned datasets.
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
RooArgSet is a container object that can hold multiple RooAbsArg objects.
RooChangeTracker is a meta object that tracks value changes in a given set of RooAbsArgs by registeri...
RooDataSet is a container class to hold unbinned data.
RooListProxy is the concrete proxy for RooArgList objects.
Generic N-dimensional implementation of a kernel estimation p.d.f.
void sortDataIndices(BoxInfo *bi=0) const
sort entries, as needed for loopRange()
RooListProxy _rhoList
do not persist
std::vector< Int_t > _sIdcs
std::vector< Double_t > _xVarLo
void calculatePreNorm(BoxInfo *bi) const
bi->nEventsBMSW=0.
Double_t analyticalIntegral(Int_t code, const char *rangeName=0) const
Implements the actual analytical integral(s) advertised by getAnalyticalIntegral.
std::vector< iiVec > _sortIdcs
std::vector< Double_t > _xDatLo3s
std::vector< Double_t > _x0
std::vector< Double_t > _xVarLoP3s
void loadWeightSet() const
std::vector< Double_t > _xDatHi3s
void setOptions() const
set the configuration
std::vector< Int_t > _bIdcs
std::vector< TVectorD > _dataPtsR
void loopRange(std::vector< Double_t > &x, std::map< Int_t, Bool_t > &ibMap) const
determine closest points to x, to loop over in evaluate()
void fixShape(Bool_t fix)
std::vector< Double_t > _xVarHi
void initialize() const
initialization
void calculateShell(BoxInfo *bi) const
determine points in +/- nSigma shell around the box determined by the variable ranges.
std::vector< Double_t > _x1
std::vector< Double_t > _mean
std::vector< Int_t > _bmsIdcs
const RooAbsData & _data
do not persist
std::vector< Double_t > _rho
std::vector< Double_t > _xDatHi
std::vector< Double_t > _x
std::vector< itVec > _sortTVIdcs
void boxInfoInit(BoxInfo *bi, const char *rangeName, Int_t code) const
std::map< std::pair< std::string, int >, BoxInfo * > _rangeBoxInfo
std::vector< Double_t > _xVarLoM3s
std::vector< Int_t > _idx
std::vector< Double_t > _xDatLo
Int_t getAnalyticalIntegral(RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=0) const
Interface function getAnalyticalIntergral advertises the analytical integrals that are supported.
std::vector< std::vector< Double_t > > * _weights
TMatrixD getWeights(const int &k) const
Return evaluated weights.
std::vector< Double_t > _xVarHiM3s
RooNDKeysPdf(const char *name, const char *title, const RooArgList &varList, const RooAbsData &data, TString options="ma", Double_t rho=1, Double_t nSigma=3, Bool_t rotate=kTRUE, Bool_t sortInput=kTRUE)
Construct N-dimensional kernel estimation p.d.f.
Double_t evaluate() const
do not persist
std::map< Int_t, Bool_t > _ibNoSort
std::vector< std::vector< Double_t > > _weights0
virtual TObject * clone(const char *newname) const
void mirrorDataSet() const
determine mirror dataset.
std::vector< std::vector< Double_t > > _dataPts
RooDataSet * createDatasetFromHist(const RooArgList &varList, const TH1 &hist) const
std::vector< Double_t > _sigma
std::vector< std::string > _varName
Double_t gauss(std::vector< Double_t > &x, std::vector< std::vector< Double_t > > &weights) const
loop over all closest point to x, as determined by loopRange()
void createPdf(Bool_t firstCall=kTRUE) const
evaluation order of constructor.
std::map< Int_t, Double_t > _wMap
std::vector< std::vector< Double_t > > _weights1
std::vector< Double_t > _x2
void loadDataSet(Bool_t firstCall) const
copy the dataset and calculate some useful variables
std::vector< Double_t > _xVarHiP3s
std::map< Int_t, Bool_t > _bpsIdcs
RooChangeTracker * _tracker
void calculateBandWidth() const
RooRealVar represents a fundamental (non-derived) real valued object.
Iterator abstract base class.
Mother of all ROOT objects.
std::vector< Double_t > xVarHiP3s
std::vector< Double_t > xVarHi
std::map< Int_t, Bool_t > bpsIdcs
std::vector< Int_t > bIdcs
std::vector< Double_t > xVarLoM3s
std::vector< Double_t > xVarHiM3s
std::vector< Double_t > xVarLoP3s
std::vector< Double_t > xVarLo
std::vector< Int_t > sIdcs
std::vector< Int_t > bmsIdcs
SorterTV_L2H(Int_t index)
bool operator()(const itPair &a, const itPair &b)