#include "MuScleFitUtils.h"
#include "DataFormats/HepMCCandidate/interface/GenParticle.h"
#include "SimDataFormats/Track/interface/SimTrack.h"
#include "DataFormats/Candidate/interface/LeafCandidate.h"
#include "DataFormats/Math/interface/LorentzVector.h"
#include "TString.h"
#include "TFile.h"
#include "TTree.h"
#include "TCanvas.h"
#include "TH2F.h"
#include "TF1.h"
#include "TF2.h"
#include <iostream>
#include <fstream>
#include <memory>
#include "MuonAnalysis/MomentumScaleCalibration/interface/Functions.h"
Go to the source code of this file.
Functions | |
Double_t | Gaussian (Double_t *x, Double_t *par) |
void | likelihood (int &npar, double *grad, double &fval, double *xval, int flag) |
Double_t | lorentzianPeak (Double_t *x, Double_t *par) |
Variables | |
double | f [11][100] |
double | g [11][100] |
TF1 * | GL |
TF2 * | GL2 |
double | isum |
double | mzsum |
Double_t Gaussian | ( | Double_t * | x, |
Double_t * | par | ||
) |
Definition at line 63 of file MuScleFitUtils.cc.
References funct::exp().
Referenced by MuScleFitUtils::fitReso().
void likelihood | ( | int & | npar, |
double * | grad, | ||
double & | fval, | ||
double * | xval, | ||
int | flag | ||
) |
Definition at line 1784 of file MuScleFitUtils.cc.
References MuScleFitUtils::applyScale(), MuScleFitUtils::computeWeight(), gather_cfg::cout, MuScleFitUtils::debug, MuScleFitUtils::doScaleFit, MuScleFitUtils::iev_, MuScleFitUtils::invDimuonMass(), MuScleFitUtils::likelihoodInLoop_, log, MuScleFitUtils::loopCounter, ResonanceBuilder::mass, MuScleFitUtils::massProb(), MuScleFitUtils::massResolution(), MuScleFitUtils::minuitLoop_, MuScleFitUtils::normalizationChanged_, MuScleFitUtils::normalizeLikelihoodByEventNumber_, MuScleFitUtils::oldNormalization_, MuScleFitUtils::ReducedSavedPair, MuScleFitUtils::rminPtr_, MuScleFitUtils::SavedPair, histoStyle::weight, and BeamSpotPI::Y.
Referenced by MuScleFitUtils::minimizeLikelihood(), and PFNuclearProducer::produce().
Double_t lorentzianPeak | ( | Double_t * | x, |
Double_t * | par | ||
) |
See header file for a class description
Definition at line 56 of file MuScleFitUtils.cc.
References alignCSCRings::e, Max(), and Pi.
Referenced by MuScleFitUtils::fitMass().
double f[11][100] |
Definition at line 78 of file MuScleFitUtils.cc.
double g[11][100] |
Definition at line 79 of file MuScleFitUtils.cc.
TF1* GL |
Definition at line 83 of file MuScleFitUtils.cc.
Referenced by MuScleFitUtils::massProb(), and MuScleFitBase::readProbabilityDistributionsFromFile().
TF2* GL2 |
Definition at line 86 of file MuScleFitUtils.cc.
double isum |
Definition at line 77 of file MuScleFitUtils.cc.
Referenced by OuterTrackerMonitorTrackingParticles::analyze(), L1TrackObjectNtupleMaker::analyze(), l1t::CaloParamsHelperO2O::etSumEtaMax(), l1t::CaloParamsHelper::etSumEtaMax(), l1t::CaloParamsHelperO2O::etSumEtaMin(), l1t::CaloParamsHelper::etSumEtaMin(), l1t::CaloParamsHelperO2O::etSumEtThreshold(), l1t::CaloParamsHelper::etSumEtThreshold(), reco::HcalNoiseInfoProducer::filldigis(), SiPixelActionExecutor::fillFEDErrorSummary(), SiStripSummaryCreator::fillGrandSummaryHistos(), SiPixelActionExecutor::fillSummary(), SiStripSummaryCreator::fillSummaryHistos(), main(), CastorDigiMonitor::processEvent(), l1t::CaloParamsHelperO2O::setEtSumEtaMax(), l1t::CaloParamsHelper::setEtSumEtaMax(), l1t::CaloParamsHelperO2O::setEtSumEtaMin(), l1t::CaloParamsHelper::setEtSumEtaMin(), l1t::CaloParamsHelperO2O::setEtSumEtThreshold(), l1t::CaloParamsHelper::setEtSumEtThreshold(), and SiStripSummaryCreator::setSummaryMENames().
double mzsum |
Definition at line 76 of file MuScleFitUtils.cc.