JHUGen MELA
JHUGen v7.5.6, MELA v2.4.2
Matrix element calculations as used in JHUGen.
|
#include <MELANCSpline_2D_fast.h>
Public Member Functions | |
MELANCSpline_2D_fast () | |
MELANCSpline_2D_fast (const char *name, const char *title) | |
MELANCSpline_2D_fast (const char *name, const char *title, RooAbsReal &inXVar, RooAbsReal &inYVar, const std::vector< T > &inXList, const std::vector< T > &inYList, const std::vector< std::vector< T >> &inFcnList, MELANCSplineCore::BoundaryCondition const bcBeginX_=MELANCSplineCore::bcNaturalSpline, MELANCSplineCore::BoundaryCondition const bcEndX_=MELANCSplineCore::bcNaturalSpline, MELANCSplineCore::BoundaryCondition const bcBeginY_=MELANCSplineCore::bcNaturalSpline, MELANCSplineCore::BoundaryCondition const bcEndY_=MELANCSplineCore::bcNaturalSpline, Bool_t inUseFloor=true, T inFloorEval=0, T inFloorInt=0) | |
MELANCSpline_2D_fast (const MELANCSpline_2D_fast &other, const char *name=0) | |
virtual TObject * | clone (const char *newname) const |
virtual | ~MELANCSpline_2D_fast () |
void | setRangeValidity (const T valmin, const T valmax, const Int_t whichDirection) |
virtual Int_t | getAnalyticalIntegral (RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=0) const |
virtual Double_t | analyticalIntegral (Int_t code, const char *rangeName=0) const |
Public Member Functions inherited from MELANCSplineCore | |
MELANCSplineCore () | |
MELANCSplineCore (const char *name, const char *title) | |
MELANCSplineCore (const char *name, const char *title, RooAbsReal &inXVar, const std::vector< T > &inXList, Bool_t inUseFloor=true, T inFloorEval=1e-15, T inFloorInt=1e-10) | |
MELANCSplineCore (const MELANCSplineCore &other, const char *name=0) | |
virtual | ~MELANCSplineCore () |
virtual void | setVerbosity (VerbosityLevel flag) |
void | setEvalFloor (T val) |
void | setIntFloor (T val) |
void | doFloor (Bool_t flag) |
Protected Member Functions | |
virtual void | emptyFcnList () |
unsigned int | npointsY () const |
virtual Int_t | getWhichBin (const T &val, const Int_t whichDirection) const |
virtual T | getTVar (const std::vector< T > &kappas, const T &val, const Int_t &bin, const Int_t whichDirection) const |
virtual void | getKappas (std::vector< T > &kappas, const Int_t whichDirection) |
Bool_t | testRangeValidity (const T &val, const Int_t whichDirection) const |
void | cropValueForRange (T &val, const Int_t whichDirection) const |
virtual std::vector< std::vector< T > > | getCoefficientsPerY (const std::vector< T > &kappaX, const TMatrix_t &xAinv, const Int_t &ybin, MELANCSplineCore::BoundaryCondition const &bcBegin, MELANCSplineCore::BoundaryCondition const &bcEnd, const Int_t xbin) const |
virtual T | interpolateFcn (Int_t code, const char *rangeName=0) const |
virtual Double_t | evaluate () const |
Protected Member Functions inherited from MELANCSplineCore | |
void | getLeafDependents (RooRealProxy &proxy, RooArgSet &set) |
void | addLeafDependents (RooArgSet &set) |
unsigned int | npointsX () const |
virtual void | getBArray (const std::vector< T > &kappas, const std::vector< T > &fcnList, std::vector< T > &BArray, BoundaryCondition const &bcBegin, BoundaryCondition const &bcEnd) const |
virtual void | getAArray (const std::vector< T > &kappas, std::vector< std::vector< T >> &AArray, BoundaryCondition const &bcBegin, BoundaryCondition const &bcEnd) const |
virtual std::vector< std::vector< T > > | getCoefficientsAlongDirection (const std::vector< T > &kappas, const TMatrix_t &Ainv, const std::vector< T > &fcnList, BoundaryCondition const &bcBegin, BoundaryCondition const &bcEnd, const Int_t pickBin) const |
virtual std::vector< T > | getCoefficients (const TVector_t &S, const std::vector< T > &kappas, const std::vector< T > &fcnList, const Int_t &bin) const |
virtual T | evalSplineSegment (const std::vector< T > &coefs, const T &kappa, const T &tup, const T &tdn, Bool_t doIntegrate=false) const |
Protected Attributes | |
T | rangeYmin |
T | rangeYmax |
const BoundaryCondition | bcBeginX |
const BoundaryCondition | bcEndX |
const BoundaryCondition | bcBeginY |
const BoundaryCondition | bcEndY |
RooRealProxy | theYVar |
std::vector< T > | YList |
std::vector< std::vector< T > > | FcnList |
std::vector< T > | kappaX |
std::vector< T > | kappaY |
std::vector< std::vector< std::vector< std::vector< T > > > > | coefficients |
Protected Attributes inherited from MELANCSplineCore | |
VerbosityLevel | verbosity |
Bool_t | useFloor |
T | floorEval |
T | floorInt |
T | rangeXmin |
T | rangeXmax |
RooRealProxy | theXVar |
RooListProxy | leafDepsList |
std::vector< T > | XList |
Additional Inherited Members | |
Public Types inherited from MELANCSplineCore | |
enum | VerbosityLevel { kSilent, kError, kVerbose } |
enum | BoundaryCondition { bcApproximatedSlope, bcClamped, bcApproximatedSecondDerivative, bcNaturalSpline, bcQuadratic, bcQuadraticWithNullSlope, NBoundaryConditions } |
typedef Float_t | T |
typedef TMatrixT< T > | TMatrix_t |
typedef TVectorT< T > | TVector_t |
Definition at line 11 of file MELANCSpline_2D_fast.h.
MELANCSpline_2D_fast::MELANCSpline_2D_fast | ( | ) |
MELANCSpline_2D_fast::MELANCSpline_2D_fast | ( | const char * | name, |
const char * | title | ||
) |
Definition at line 23 of file MELANCSpline_2D_fast.cc.
MELANCSpline_2D_fast::MELANCSpline_2D_fast | ( | const char * | name, |
const char * | title, | ||
RooAbsReal & | inXVar, | ||
RooAbsReal & | inYVar, | ||
const std::vector< T > & | inXList, | ||
const std::vector< T > & | inYList, | ||
const std::vector< std::vector< T >> & | inFcnList, | ||
MELANCSplineCore::BoundaryCondition const | bcBeginX_ = MELANCSplineCore::bcNaturalSpline , |
||
MELANCSplineCore::BoundaryCondition const | bcEndX_ = MELANCSplineCore::bcNaturalSpline , |
||
MELANCSplineCore::BoundaryCondition const | bcBeginY_ = MELANCSplineCore::bcNaturalSpline , |
||
MELANCSplineCore::BoundaryCondition const | bcEndY_ = MELANCSplineCore::bcNaturalSpline , |
||
Bool_t | inUseFloor = true , |
||
T | inFloorEval = 0 , |
||
T | inFloorInt = 0 |
||
) |
Definition at line 34 of file MELANCSpline_2D_fast.cc.
MELANCSpline_2D_fast::MELANCSpline_2D_fast | ( | const MELANCSpline_2D_fast & | other, |
const char * | name = 0 |
||
) |
Definition at line 132 of file MELANCSpline_2D_fast.cc.
|
inlinevirtual |
Definition at line 54 of file MELANCSpline_2D_fast.h.
|
virtual |
Implements MELANCSplineCore.
Definition at line 347 of file MELANCSpline_2D_fast.cc.
|
inlinevirtual |
|
protectedvirtual |
|
inlineprotectedvirtual |
|
protectedvirtual |
Implements MELANCSplineCore.
Definition at line 313 of file MELANCSpline_2D_fast.cc.
|
virtual |
|
protectedvirtual |
Definition at line 306 of file MELANCSpline_2D_fast.cc.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Implements MELANCSplineCore.
Definition at line 149 of file MELANCSpline_2D_fast.cc.
|
inlineprotected |
Definition at line 64 of file MELANCSpline_2D_fast.h.
|
virtual |
Implements MELANCSplineCore.
Definition at line 369 of file MELANCSpline_2D_fast.cc.
|
protectedvirtual |
Implements MELANCSplineCore.
Definition at line 357 of file MELANCSpline_2D_fast.cc.
|
protected |
Definition at line 16 of file MELANCSpline_2D_fast.h.
|
protected |
Definition at line 18 of file MELANCSpline_2D_fast.h.
|
protected |
Definition at line 17 of file MELANCSpline_2D_fast.h.
|
protected |
Definition at line 19 of file MELANCSpline_2D_fast.h.
|
protected |
Definition at line 28 of file MELANCSpline_2D_fast.h.
|
protected |
Definition at line 24 of file MELANCSpline_2D_fast.h.
|
protected |
Definition at line 26 of file MELANCSpline_2D_fast.h.
|
protected |
Definition at line 27 of file MELANCSpline_2D_fast.h.
|
protected |
Definition at line 14 of file MELANCSpline_2D_fast.h.
|
protected |
Definition at line 13 of file MELANCSpline_2D_fast.h.
|
protected |
Definition at line 21 of file MELANCSpline_2D_fast.h.
|
protected |
Definition at line 22 of file MELANCSpline_2D_fast.h.