#include <cmath>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <string>
#include "toolbox.h"
#include "Options.h"
#include "TAxis.h"
#include "TBranch.h"
#include "TCanvas.h"
#include "TChain.h"
#include "TCut.h"
#include "TF1.h"
#include "TFile.h"
#include "TFrame.h"
#include "TH1.h"
#include "TH1D.h"
#include "TH1F.h"
#include "TH2.h"
#include "TH2F.h"
#include "THStack.h"
#include "TLatex.h"
#include "TLegend.h"
#include "TMath.h"
#include "TPad.h"
#include "TPaveText.h"
#include "TRandom.h"
#include "TString.h"
#include "TStyle.h"
#include "TSystem.h"
#include "TTree.h"
#include <boost/filesystem.hpp>
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/json_parser.hpp>
#include <boost/range/adaptor/indexed.hpp>
#include "Alignment/OfflineValidation/interface/FitWithRooFit.h"
#include "Alignment/OfflineValidation/macros/CMS_lumi.h"
Go to the source code of this file.
Classes | |
class | FitOut |
Functions | |
void | Draw_th1d (TH1D *th1d_input, TString variable_name, TString output_path) |
void | Draw_TH1D_forMultiRootFiles (const vector< TString > &file_names, const vector< TString > &label_names, const vector< int > &colors, const vector< int > &styles, const TString &Rlabel, const TString &th1d_name, const TString &xlabel, const TString &ylabel, const TString &output_name) |
void | Fitting_GetMassmeanVSvariables (TString inputfile_name, TString output_path) |
int | main (int argc, char *argv[]) |
void | makeNicePlotStyle (RooPlot *plot) |
RooRealVar | MuMu_mass ("MuMu_mass", "MuMu_mass", 70, 110) |
FitOut | ZMassBinFit_OldTool (TH1D *th1d_input, TString s_name="zmumu_fitting", TString output_path="./") |
int | Zmumumerge (int argc, char *argv[]) |
Variables | |
static TString | GT = "" |
static const int | max_file_number = 10 |
TLatex * | tlxg = new TLatex() |
const TString | tstring_variables_name [variables_number] |
const TString | tstring_variables_name_label [variables_number] |
static const int | variables_number = 8 |
void Draw_th1d | ( | TH1D * | th1d_input, |
TString | variable_name, | ||
TString | output_path | ||
) |
Definition at line 139 of file Zmumumerge.cc.
References DummyCfis::c, GT, and tlxg.
Referenced by Fitting_GetMassmeanVSvariables().
void Draw_TH1D_forMultiRootFiles | ( | const vector< TString > & | file_names, |
const vector< TString > & | label_names, | ||
const vector< int > & | colors, | ||
const vector< int > & | styles, | ||
const TString & | Rlabel, | ||
const TString & | th1d_name, | ||
const TString & | xlabel, | ||
const TString & | ylabel, | ||
const TString & | output_name | ||
) |
Definition at line 242 of file Zmumumerge.cc.
References cms::cuda::assert(), B, CMS_lumi(), gather_cfg::cout, corrVsCorr::filename, data-class-funcs::H, dttmaxenums::L, max_file_number, dttmaxenums::R, styles, HistogramManager_cfi::xlabel, HistogramManager_cfi::ylabel, L1TOccupancyClient_cfi::ymax, and L1TOccupancyClient_cfi::ymin.
Referenced by Zmumumerge().
void Fitting_GetMassmeanVSvariables | ( | TString | inputfile_name, |
TString | output_path | ||
) |
Definition at line 168 of file Zmumumerge.cc.
References DMR_cfg::cerr, gather_cfg::cout, Draw_th1d(), mps_fire::i, dqmiolumiharvest::j, M_PI, FitOut::mean, FitOut::mean_err, writedatasetfile::outputfile, EnsembleCalibrationLA_cfg::path, tstring_variables_name, variables_number, and ZMassBinFit_OldTool().
Referenced by Zmumumerge().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 455 of file Zmumumerge.cc.
References dir2webdir::argc, GCPpyPlots::argv, and Zmumumerge().
void makeNicePlotStyle | ( | RooPlot * | plot | ) |
RooRealVar MuMu_mass | ( | "MuMu_mass" | , |
"MuMu_mass" | , | ||
70 | , | ||
110 | |||
) |
FitOut ZMassBinFit_OldTool | ( | TH1D * | th1d_input, |
TString | s_name = "zmumu_fitting" , |
||
TString | output_path = "./" |
||
) |
Definition at line 78 of file Zmumumerge.cc.
References alignmentValidation::c1, instance, multiplicitycorr_cfi::xMax, and photonAnalyzer_cfi::xMin.
Referenced by Fitting_GetMassmeanVSvariables().
int Zmumumerge | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 360 of file Zmumumerge.cc.
References dir2webdir::argc, GCPpyPlots::argv, DMR_cfg::cerr, gather_cfg::cout, Draw_TH1D_forMultiRootFiles(), Fitting_GetMassmeanVSvariables(), mps_fire::i, AlcaSiPixelAliHarvester0T_cff::options, jetUpdater_cfi::sort, AlCaHLTBitMon_QueryRunRegistry::string, tstring_variables_name, tstring_variables_name_label, and variables_number.
Referenced by main().
|
static |
Definition at line 66 of file Zmumumerge.cc.
Referenced by Draw_th1d().
|
static |
Definition at line 241 of file Zmumumerge.cc.
Referenced by Draw_TH1D_forMultiRootFiles().
TLatex* tlxg = new TLatex() |
Definition at line 67 of file Zmumumerge.cc.
Referenced by Draw_th1d().
const TString tstring_variables_name[variables_number] |
Definition at line 157 of file Zmumumerge.cc.
Referenced by Fitting_GetMassmeanVSvariables(), and Zmumumerge().
const TString tstring_variables_name_label[variables_number] |
Definition at line 159 of file Zmumumerge.cc.
Referenced by Zmumumerge().
|
static |
Definition at line 156 of file Zmumumerge.cc.
Referenced by Fitting_GetMassmeanVSvariables(), and Zmumumerge().