#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "CommonTools/UtilAlgos/interface/TFileService.h"
#include "Alignment/CommonAlignment/interface/Alignable.h"
#include "TMinuit.h"
#include "TH1F.h"
#include "TProfile.h"
#include "TF1.h"
#include "TMath.h"
#include "TRandom3.h"
#include "TMatrixDSym.h"
#include <cstdio>
#include <iostream>
#include <string>
#include <sstream>
#include <map>
Go to the source code of this file.
Classes | |
struct | MuonResidualsFitter::MuonAlignmentTreeRow |
class | MuonResidualsFitter |
class | MuonResidualsFitterFitInfo |
Functions | |
void | MuonResidualsAngleFitter_FCN (int &npar, double *gin, double &fval, double *par, int iflag) |
double | MuonResidualsFitter_compute_log_convolution (double toversigma, double gammaoversigma, double max=1000., double step=0.001, double power=4.) |
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) |
void | MuonResidualsPositionFitter_FCN (int &npar, double *gin, double &fval, double *par, int iflag) |
void MuonResidualsAngleFitter_FCN | ( | int & | npar, |
double * | gin, | ||
double & | fval, | ||
double * | par, | ||
int | iflag | ||
) |
Definition at line 9 of file MuonResidualsAngleFitter.cc.
References assert(), MuonResidualsFitterFitInfo::fitter(), MuonResidualsAngleFitter::kAngle, MuonResidualsAngleFitter::kGamma, MuonResidualsFitter::kGaussPowerTails, MuonResidualsFitter::kPowerLawTails, MuonResidualsFitter::kPureGaussian, MuonResidualsAngleFitter::kResidual, MuonResidualsFitter::kROOTVoigt, MuonResidualsAngleFitter::kSigma, MuonResidualsAngleFitter::kXAngle, MuonResidualsAngleFitter::kXControl, MuonResidualsAngleFitter::kYAngle, MuonResidualsAngleFitter::kYControl, MuonResidualsAngleFitter_TMinuit, MuonResidualsFitter_logGaussPowerTails(), MuonResidualsFitter_logPowerLawTails(), MuonResidualsFitter_logPureGaussian(), MuonResidualsFitter_logROOTVoigt(), MuonResidualsFitter::residuals_begin(), MuonResidualsFitter::residuals_end(), and MuonResidualsFitter::residualsModel().
Referenced by MuonResidualsAngleFitter::fit().
double MuonResidualsFitter_compute_log_convolution | ( | double | toversigma, |
double | gammaoversigma, | ||
double | max = 1000. , |
||
double | step = 0.001 , |
||
double | power = 4. |
||
) |
Definition at line 57 of file MuonResidualsFitter.cc.
References create_public_lumi_plots::exp, cmsBatch::log, M_PI, bookConverter::max, funct::pow(), mathSSE::sqrt(), and relval_parameters_module::step.
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 create_public_lumi_plots::exp, and MuonResidualsFitter_logGaussPowerTails().
Referenced by MuonResiduals1DOFFitter::plot(), MuonResidualsAngleFitter::plot(), MuonResidualsBfieldAngleFitter::plot(), MuonResidualsPositionFitter::plot(), MuonResiduals5DOFFitter::plot(), MuonResiduals6DOFFitter::plot(), and MuonResiduals6DOFrphiFitter::plot().
double MuonResidualsFitter_integrate_pureGaussian | ( | double | low, |
double | high, | ||
double | center, | ||
double | sigma | ||
) |
Definition at line 159 of file MuonResidualsFitter.cc.
References create_public_lumi_plots::exp, and mathSSE::sqrt().
double MuonResidualsFitter_logGaussPowerTails | ( | double | residual, |
double | center, | ||
double | sigma | ||
) |
Definition at line 140 of file MuonResidualsFitter.cc.
References a, create_public_lumi_plots::exp, cmsBatch::log, visualization-live-secondInstance_cfg::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 cmsBatch::log, M_PI, MuonResidualsFitter_gsbinsize, MuonResidualsFitter_lookup_table, MuonResidualsFitter_numgsbins, MuonResidualsFitter_numtsbins, and MuonResidualsFitter_tsbinsize.
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 cmsBatch::log, M_PI, funct::pow(), alignCSCRings::r, and mathSSE::sqrt().
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 create_public_lumi_plots::exp, and MuonResidualsFitter_logPowerLawTails().
Referenced by MuonResiduals1DOFFitter::plot(), MuonResidualsAngleFitter::plot(), MuonResidualsBfieldAngleFitter::plot(), MuonResidualsPositionFitter::plot(), MuonResiduals5DOFFitter::plot(), MuonResiduals6DOFFitter::plot(), and MuonResiduals6DOFrphiFitter::plot().
Double_t MuonResidualsFitter_pureGaussian_TF1 | ( | Double_t * | xvec, |
Double_t * | par | ||
) |
Definition at line 39 of file MuonResidualsFitter.cc.
References create_public_lumi_plots::exp, and MuonResidualsFitter_logPureGaussian().
Referenced by MuonResiduals1DOFFitter::plot(), MuonResidualsAngleFitter::plot(), MuonResidualsBfieldAngleFitter::plot(), MuonResidualsPositionFitter::plot(), MuonResiduals5DOFFitter::plot(), MuonResiduals6DOFFitter::plot(), and MuonResiduals6DOFrphiFitter::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(), MuonResiduals6DOFFitter::plot(), and MuonResiduals6DOFrphiFitter::plot().
void MuonResidualsPositionFitter_FCN | ( | int & | npar, |
double * | gin, | ||
double & | fval, | ||
double * | par, | ||
int | iflag | ||
) |
Definition at line 9 of file MuonResidualsPositionFitter.cc.
References assert(), MuonResidualsFitterFitInfo::fitter(), MuonResidualsPositionFitter::kAngleError, MuonResidualsPositionFitter::kGamma, MuonResidualsFitter::kGaussPowerTails, MuonResidualsPositionFitter::kPhiz, MuonResidualsPositionFitter::kPosition, MuonResidualsFitter::kPowerLawTails, MuonResidualsFitter::kPureGaussian, MuonResidualsPositionFitter::kResidual, MuonResidualsFitter::kROOTVoigt, MuonResidualsPositionFitter::kScattering, MuonResidualsPositionFitter::kSigma, MuonResidualsPositionFitter::kTrackAngle, MuonResidualsPositionFitter::kTrackPosition, MuonResidualsPositionFitter::kZpos, MuonResidualsFitter_logGaussPowerTails(), MuonResidualsFitter_logPowerLawTails(), MuonResidualsFitter_logPureGaussian(), MuonResidualsFitter_logROOTVoigt(), MuonResidualsPositionFitter_TMinuit, MuonResidualsFitter::residuals_begin(), MuonResidualsFitter::residuals_end(), and MuonResidualsFitter::residualsModel().
Referenced by MuonResidualsPositionFitter::fit().