CMS 3D CMS Logo

Functions
Comparator.cc File Reference
#include <TFile.h>
#include <TH1.h>
#include <TH2.h>
#include <TPaveStats.h>
#include <TStyle.h>
#include <cassert>
#include <cstdlib>
#include <sstream>
#include "Validation/RecoParticleFlow/interface/Comparator.h"
#include "Validation/RecoParticleFlow/interface/NicePlot.h"
#include "Validation/RecoParticleFlow/interface/TH2Analyzer.h"

Go to the source code of this file.

Functions

Double_t fitFunction_f (Double_t *x, Double_t *par)
 

Function Documentation

◆ fitFunction_f()

Double_t fitFunction_f ( Double_t *  x,
Double_t *  par 
)

Definition at line 121 of file Comparator.cc.

121  {
122  const Double_t value =
123  sqrt(par[0] * par[0] + par[1] * par[1] * (x[0] - par[3]) + par[2] * par[2] * (x[0] - par[3]) * (x[0] - par[3])) /
124  x[0];
125  return value;
126 }

References mathSSE::sqrt(), and relativeConstraints::value.

Referenced by Comparator::DrawGaussSigmaOverMeanXSlice(), and Comparator::DrawGaussSigmaSlice().

mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
value
Definition: value.py:1
relativeConstraints.value
value
Definition: relativeConstraints.py:53
genVertex_cff.x
x
Definition: genVertex_cff.py:12