CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
MuScleFitBase::ProbForIntegral Class Reference

Functor used to compute the normalization integral of probability functions. More...

#include <MuScleFitBase.h>

Public Member Functions

double operator() (const double *mass, const double *)
 
 ProbForIntegral (const double &massResol, const int iRes, const int iY, const bool isZ)
 

Protected Attributes

int iRes_
 
bool isZ_
 
int iY_
 
double massResol_
 

Detailed Description

Functor used to compute the normalization integral of probability functions.

Definition at line 56 of file MuScleFitBase.h.

Constructor & Destructor Documentation

MuScleFitBase::ProbForIntegral::ProbForIntegral ( const double &  massResol,
const int  iRes,
const int  iY,
const bool  isZ 
)
inline

Member Function Documentation

double MuScleFitBase::ProbForIntegral::operator() ( const double *  mass,
const double *   
)
inline

Definition at line 60 of file MuScleFitBase.h.

References MuScleFitUtils::GLNorm, MuScleFitUtils::GLValue, MuScleFitUtils::GLZNorm, MuScleFitUtils::GLZValue, iRes_, isZ_, iY_, massResol_, and MuScleFitUtils::probability().

60  {
61  if (isZ_) {
64  }
65  return (
67  }
static double GLValue[6][1001][1001]
static double GLZNorm[40][1001]
static double GLZValue[40][1001][1001]
static double GLNorm[6][1001]
static double probability(const double &mass, const double &massResol, const double GLvalue[][1001][1001], const double GLnorm[][1001], const int iRes, const int iY)
Computes the probability given the mass, mass resolution and the arrays with the probabilities and th...

Member Data Documentation

int MuScleFitBase::ProbForIntegral::iRes_
protected

Definition at line 71 of file MuScleFitBase.h.

Referenced by operator()().

bool MuScleFitBase::ProbForIntegral::isZ_
protected

Definition at line 72 of file MuScleFitBase.h.

Referenced by operator()().

int MuScleFitBase::ProbForIntegral::iY_
protected

Definition at line 71 of file MuScleFitBase.h.

Referenced by operator()().

double MuScleFitBase::ProbForIntegral::massResol_
protected

Definition at line 70 of file MuScleFitBase.h.

Referenced by operator()().