CMS 3D CMS Logo

Public Member Functions

cacheutils::CachingSimNLL::SimpleGaussianConstraint Class Reference

List of all members.

Public Member Functions

double getLogValFast () const
 SimpleGaussianConstraint (const RooGaussian &g)

Detailed Description

Definition at line 122 of file CachingNLL.h.


Constructor & Destructor Documentation

cacheutils::CachingSimNLL::SimpleGaussianConstraint::SimpleGaussianConstraint ( const RooGaussian &  g) [inline]

Definition at line 124 of file CachingNLL.h.

: RooGaussian(g, "") {}

Member Function Documentation

double cacheutils::CachingSimNLL::SimpleGaussianConstraint::getLogValFast ( ) const [inline]

Definition at line 125 of file CachingNLL.h.

References cmsCodeRulesChecker::arg, timingPdfMaker::mean, and x.

                                             { 
                    Double_t arg = x - mean;  
                    Double_t sig = sigma ;
                    return -0.5*arg*arg/(sig*sig);
                }