#include "Alignment/MuonAlignmentAlgorithms/interface/MuonResidualsFitter.h"
#include <fstream>
#include <set>
#include "TMath.h"
#include "TH1.h"
#include "TF1.h"
#include "TRobustEstimator.h"
Go to the source code of this file.
Functions | |
double | MuonResidualsFitter_compute_log_convolution (double toversigma, double gammaoversigma, double max, double step, double power) |
Double_t | MuonResidualsFitter_GaussPowerTails_TF1 (Double_t *xvec, Double_t *par) |
double | MuonResidualsFitter_integrate_pureGaussian (double low, double high, double center, double sigma) |
double | MuonResidualsFitter_logGaussPowerTails (double residual, double center, double sigma) |
double | MuonResidualsFitter_logPowerLawTails (double residual, double center, double sigma, double gamma) |
double | MuonResidualsFitter_logPureGaussian (double residual, double center, double sigma) |
double | MuonResidualsFitter_logPureGaussian2D (double x, double y, double x0, double y0, double sx, double sy, double r) |
double | MuonResidualsFitter_logROOTVoigt (double residual, double center, double sigma, double gamma) |
Double_t | MuonResidualsFitter_powerLawTails_TF1 (Double_t *xvec, Double_t *par) |
Double_t | MuonResidualsFitter_pureGaussian_TF1 (Double_t *xvec, Double_t *par) |
Double_t | MuonResidualsFitter_ROOTVoigt_TF1 (Double_t *xvec, Double_t *par) |
Variables | |
const double | MuonResidualsFitter_gsbinsize = 0.01 |
double | MuonResidualsFitter_lookup_table [MuonResidualsFitter_numgsbins][MuonResidualsFitter_numtsbins] |
const int | MuonResidualsFitter_numgsbins = 500 |
const int | MuonResidualsFitter_numtsbins = 500 |
bool | MuonResidualsFitter_table_initialized = false |
static TMinuit * | MuonResidualsFitter_TMinuit |
const double | MuonResidualsFitter_tsbinsize = 0.1 |
double MuonResidualsFitter_compute_log_convolution | ( | double | toversigma, |
double | gammaoversigma, | ||
double | max, | ||
double | step, | ||
double | power | ||
) |
Definition at line 57 of file MuonResidualsFitter.cc.
References JetChargeProducer_cfi::exp, cmsBatch::log, M_PI, hpstanc_transforms::max, funct::pow(), and mathSSE::sqrt().
Referenced by MuonResidualsFitter::initialize_table().
Double_t MuonResidualsFitter_GaussPowerTails_TF1 | ( | Double_t * | xvec, |
Double_t * | par | ||
) |
Definition at line 153 of file MuonResidualsFitter.cc.
References JetChargeProducer_cfi::exp, and MuonResidualsFitter_logGaussPowerTails().
Referenced by MuonResiduals1DOFFitter::plot(), MuonResidualsAngleFitter::plot(), MuonResidualsBfieldAngleFitter::plot(), MuonResidualsPositionFitter::plot(), MuonResiduals5DOFFitter::plot(), MuonResiduals6DOFrphiFitter::plot(), and MuonResiduals6DOFFitter::plot().
double MuonResidualsFitter_integrate_pureGaussian | ( | double | low, |
double | high, | ||
double | center, | ||
double | sigma | ||
) |
Definition at line 159 of file MuonResidualsFitter.cc.
References JetChargeProducer_cfi::exp, and mathSSE::sqrt().
double MuonResidualsFitter_logGaussPowerTails | ( | double | residual, |
double | center, | ||
double | sigma | ||
) |
Definition at line 140 of file MuonResidualsFitter.cc.
References a, reco::e2, JetChargeProducer_cfi::exp, cmsBatch::log, funct::m, M_PI, gen::n, funct::pow(), alignCSCRings::s, mathSSE::sqrt(), and x().
Referenced by MuonResiduals1DOFFitter_FCN(), MuonResiduals5DOFFitter_FCN(), MuonResiduals6DOFFitter_FCN(), MuonResiduals6DOFrphiFitter_FCN(), MuonResidualsAngleFitter_FCN(), MuonResidualsBfieldAngleFitter_FCN(), MuonResidualsFitter_GaussPowerTails_TF1(), and MuonResidualsPositionFitter_FCN().
double MuonResidualsFitter_logPowerLawTails | ( | double | residual, |
double | center, | ||
double | sigma, | ||
double | gamma | ||
) |
Definition at line 86 of file MuonResidualsFitter.cc.
References createfilelist::int, cmsBatch::log, M_PI, MuonResidualsFitter_gsbinsize, MuonResidualsFitter_lookup_table, MuonResidualsFitter_numgsbins, MuonResidualsFitter_numtsbins, MuonResidualsFitter_tsbinsize, and heppy_batch::val.
Referenced by MuonResiduals1DOFFitter_FCN(), MuonResiduals5DOFFitter_FCN(), MuonResiduals6DOFFitter_FCN(), MuonResiduals6DOFrphiFitter_FCN(), MuonResidualsAngleFitter_FCN(), MuonResidualsBfieldAngleFitter_FCN(), MuonResidualsFitter_powerLawTails_TF1(), and MuonResidualsPositionFitter_FCN().
double MuonResidualsFitter_logPureGaussian | ( | double | residual, |
double | center, | ||
double | sigma | ||
) |
Definition at line 31 of file MuonResidualsFitter.cc.
References cmsBatch::log, M_PI, and funct::pow().
Referenced by MuonResiduals1DOFFitter_FCN(), MuonResiduals5DOFFitter_FCN(), MuonResiduals6DOFFitter_FCN(), MuonResiduals6DOFrphiFitter_FCN(), MuonResidualsAngleFitter_FCN(), MuonResidualsBfieldAngleFitter_FCN(), MuonResidualsFitter_pureGaussian_TF1(), and MuonResidualsPositionFitter_FCN().
double MuonResidualsFitter_logPureGaussian2D | ( | double | x, |
double | y, | ||
double | x0, | ||
double | y0, | ||
double | sx, | ||
double | sy, | ||
double | r | ||
) |
Definition at line 46 of file MuonResidualsFitter.cc.
References PVValHelper::dx, PVValHelper::dy, cmsBatch::log, M_PI, funct::pow(), alignCSCRings::r, mathSSE::sqrt(), and fftjetcommon_cfi::sy.
Referenced by MuonResiduals5DOFFitter_FCN(), MuonResiduals6DOFFitter_FCN(), and MuonResiduals6DOFrphiFitter_FCN().
double MuonResidualsFitter_logROOTVoigt | ( | double | residual, |
double | center, | ||
double | sigma, | ||
double | gamma | ||
) |
Definition at line 128 of file MuonResidualsFitter.cc.
References cmsBatch::log.
Referenced by MuonResiduals1DOFFitter_FCN(), MuonResiduals5DOFFitter_FCN(), MuonResiduals6DOFFitter_FCN(), MuonResiduals6DOFrphiFitter_FCN(), MuonResidualsAngleFitter_FCN(), MuonResidualsBfieldAngleFitter_FCN(), and MuonResidualsPositionFitter_FCN().
Double_t MuonResidualsFitter_powerLawTails_TF1 | ( | Double_t * | xvec, |
Double_t * | par | ||
) |
Definition at line 122 of file MuonResidualsFitter.cc.
References JetChargeProducer_cfi::exp, and MuonResidualsFitter_logPowerLawTails().
Referenced by MuonResiduals1DOFFitter::plot(), MuonResidualsAngleFitter::plot(), MuonResidualsBfieldAngleFitter::plot(), MuonResidualsPositionFitter::plot(), MuonResiduals5DOFFitter::plot(), MuonResiduals6DOFrphiFitter::plot(), and MuonResiduals6DOFFitter::plot().
Double_t MuonResidualsFitter_pureGaussian_TF1 | ( | Double_t * | xvec, |
Double_t * | par | ||
) |
Definition at line 39 of file MuonResidualsFitter.cc.
References JetChargeProducer_cfi::exp, and MuonResidualsFitter_logPureGaussian().
Referenced by MuonResiduals1DOFFitter::plot(), MuonResidualsAngleFitter::plot(), MuonResidualsBfieldAngleFitter::plot(), MuonResidualsPositionFitter::plot(), MuonResiduals5DOFFitter::plot(), MuonResiduals6DOFrphiFitter::plot(), and MuonResiduals6DOFFitter::plot().
Double_t MuonResidualsFitter_ROOTVoigt_TF1 | ( | Double_t * | xvec, |
Double_t * | par | ||
) |
Definition at line 134 of file MuonResidualsFitter.cc.
Referenced by MuonResiduals1DOFFitter::plot(), MuonResidualsAngleFitter::plot(), MuonResidualsBfieldAngleFitter::plot(), MuonResidualsPositionFitter::plot(), MuonResiduals5DOFFitter::plot(), MuonResiduals6DOFrphiFitter::plot(), and MuonResiduals6DOFFitter::plot().
const double MuonResidualsFitter_gsbinsize = 0.01 |
Definition at line 20 of file MuonResidualsFitter.cc.
Referenced by MuonResidualsFitter::initialize_table(), and MuonResidualsFitter_logPowerLawTails().
double MuonResidualsFitter_lookup_table[MuonResidualsFitter_numgsbins][MuonResidualsFitter_numtsbins] |
Definition at line 26 of file MuonResidualsFitter.cc.
Referenced by MuonResidualsFitter::initialize_table(), and MuonResidualsFitter_logPowerLawTails().
const int MuonResidualsFitter_numgsbins = 500 |
Definition at line 22 of file MuonResidualsFitter.cc.
Referenced by MuonResidualsFitter::initialize_table(), and MuonResidualsFitter_logPowerLawTails().
const int MuonResidualsFitter_numtsbins = 500 |
Definition at line 23 of file MuonResidualsFitter.cc.
Referenced by MuonResidualsFitter::initialize_table(), and MuonResidualsFitter_logPowerLawTails().
bool MuonResidualsFitter_table_initialized = false |
Definition at line 25 of file MuonResidualsFitter.cc.
Referenced by MuonResidualsFitter::initialize_table().
|
static |
Definition at line 28 of file MuonResidualsFitter.cc.
Referenced by MuonResidualsFitter::dofit().
const double MuonResidualsFitter_tsbinsize = 0.1 |
Definition at line 21 of file MuonResidualsFitter.cc.
Referenced by MuonResidualsFitter::initialize_table(), and MuonResidualsFitter_logPowerLawTails().