CMS 3D CMS Logo

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

◆ ProbForIntegral()

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

Member Function Documentation

◆ operator()()

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_, EgHLTOffHistBins_cfi::mass, 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

◆ iRes_

int MuScleFitBase::ProbForIntegral::iRes_
protected

Definition at line 71 of file MuScleFitBase.h.

Referenced by operator()().

◆ isZ_

bool MuScleFitBase::ProbForIntegral::isZ_
protected

Definition at line 72 of file MuScleFitBase.h.

Referenced by operator()().

◆ iY_

int MuScleFitBase::ProbForIntegral::iY_
protected

Definition at line 71 of file MuScleFitBase.h.

Referenced by operator()().

◆ massResol_

double MuScleFitBase::ProbForIntegral::massResol_
protected

Definition at line 70 of file MuScleFitBase.h.

Referenced by operator()().