#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 54 of file MuonResidualsFitter.cc.
References JetChargeProducer_cfi::exp, CrabHelper::log, M_PI, WZElectronSkims53X_cff::max, funct::pow(), cms::alpakatools::detail::power(), and mathSSE::sqrt().
Referenced by MuonResidualsFitter::initialize_table().
Double_t MuonResidualsFitter_GaussPowerTails_TF1 | ( | Double_t * | xvec, |
Double_t * | par | ||
) |
Definition at line 142 of file MuonResidualsFitter.cc.
References JetChargeProducer_cfi::exp, and MuonResidualsFitter_logGaussPowerTails().
Referenced by MuonResiduals1DOFFitter::plot(), MuonResidualsPositionFitter::plot(), MuonResidualsAngleFitter::plot(), MuonResidualsBfieldAngleFitter::plot(), MuonResiduals6DOFrphiFitter::plot(), MuonResiduals5DOFFitter::plot(), and MuonResiduals6DOFFitter::plot().
double MuonResidualsFitter_integrate_pureGaussian | ( | double | low, |
double | high, | ||
double | center, | ||
double | sigma | ||
) |
Definition at line 146 of file MuonResidualsFitter.cc.
References JetChargeProducer_cfi::exp, LaserClient_cfi::high, LaserClient_cfi::low, and mathSSE::sqrt().
double MuonResidualsFitter_logGaussPowerTails | ( | double | residual, |
double | center, | ||
double | sigma | ||
) |
Definition at line 128 of file MuonResidualsFitter.cc.
References a, JetChargeProducer_cfi::exp, CrabHelper::log, visualization-live-secondInstance_cfg::m, M_PI, create_idmaps::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 85 of file MuonResidualsFitter.cc.
References reco::ceil(), CustomPhysics_cfi::gamma, createfilelist::int, CrabHelper::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 CrabHelper::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 43 of file MuonResidualsFitter.cc.
References PVValHelper::dx, PVValHelper::dy, CrabHelper::log, M_PI, funct::pow(), alignCSCRings::r, mathSSE::sqrt(), fftjetcommon_cfi::sx, fftjetcommon_cfi::sy, x, and detailsBasic3DVector::y.
Referenced by MuonResiduals5DOFFitter_FCN(), MuonResiduals6DOFFitter_FCN(), and MuonResiduals6DOFrphiFitter_FCN().
double MuonResidualsFitter_logROOTVoigt | ( | double | residual, |
double | center, | ||
double | sigma, | ||
double | gamma | ||
) |
Definition at line 120 of file MuonResidualsFitter.cc.
References CustomPhysics_cfi::gamma, and CrabHelper::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 116 of file MuonResidualsFitter.cc.
References JetChargeProducer_cfi::exp, and MuonResidualsFitter_logPowerLawTails().
Referenced by MuonResiduals1DOFFitter::plot(), MuonResidualsPositionFitter::plot(), MuonResidualsAngleFitter::plot(), MuonResidualsBfieldAngleFitter::plot(), MuonResiduals6DOFrphiFitter::plot(), MuonResiduals5DOFFitter::plot(), and MuonResiduals6DOFFitter::plot().
Double_t MuonResidualsFitter_pureGaussian_TF1 | ( | Double_t * | xvec, |
Double_t * | par | ||
) |
Definition at line 38 of file MuonResidualsFitter.cc.
References JetChargeProducer_cfi::exp, and MuonResidualsFitter_logPureGaussian().
Referenced by MuonResiduals1DOFFitter::plot(), MuonResidualsPositionFitter::plot(), MuonResidualsAngleFitter::plot(), MuonResidualsBfieldAngleFitter::plot(), MuonResiduals6DOFrphiFitter::plot(), MuonResiduals5DOFFitter::plot(), and MuonResiduals6DOFFitter::plot().
Double_t MuonResidualsFitter_ROOTVoigt_TF1 | ( | Double_t * | xvec, |
Double_t * | par | ||
) |
Definition at line 124 of file MuonResidualsFitter.cc.
Referenced by MuonResiduals1DOFFitter::plot(), MuonResidualsPositionFitter::plot(), MuonResidualsAngleFitter::plot(), MuonResidualsBfieldAngleFitter::plot(), MuonResiduals6DOFrphiFitter::plot(), MuonResiduals5DOFFitter::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().