#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 7 of file MuonResidualsAngleFitter.cc.
References cms::cuda::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(), MuonResidualsFitter::residualsModel(), and profile_base_cff::xangle.
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 54 of file MuonResidualsFitter.cc.
References JetChargeProducer_cfi::exp, dqm-mbProfile::log, M_PI, SiStripPI::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, dqm-mbProfile::log, visualization-live-secondInstance_cfg::m, M_PI, dqmiodumpmetadata::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, dqm-mbProfile::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 dqm-mbProfile::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, dqm-mbProfile::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 dqm-mbProfile::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().
void MuonResidualsPositionFitter_FCN | ( | int & | npar, |
double * | gin, | ||
double & | fval, | ||
double * | par, | ||
int | iflag | ||
) |
Definition at line 7 of file MuonResidualsPositionFitter.cc.
References cms::cuda::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().