#include <iostream>
#include <vector>
#include <string>
#include <map>
#include <sstream>
#include "TFile.h"
#include "TH1F.h"
#include "THStack.h"
#include "TCanvas.h"
#include "TLegend.h"
#include "TPaveText.h"
#include "TSystem.h"
Go to the source code of this file.
Functions | |
void | fillNormFactorMaps () |
double | findNormFactor (const std::string currentPlotType, const std::string currentPart, const bool stackOption) |
int | main (int argc, char *argv[]) |
void | makePlots (std::string inputFileName, std::string outputFileName) |
void | setCanvasStyle (TCanvas *c, const bool logScale) |
void | setHistoStackStyle (TH1 *h, const unsigned int lineColor) |
void | setHistoStyle (TH1 *h) |
void | setLegendStyle (TLegend *l, const unsigned int nColumns) |
void | setPaveTextStyle (TPaveText *t, const bool isHorizontal=true) |
Variables | |
static std::map< std::string, unsigned int > | APVsNoStackNormFactors |
static std::map< std::string, unsigned int > | APVsStackNormFactors |
static std::map< std::string, unsigned int > | fibersNoStackNormFactors |
static std::map< std::string, unsigned int > | fibersStackNormFactors |
static std::map< std::string, unsigned int > | modulesNoStackNormFactors |
static std::map< std::string, unsigned int > | modulesStackNormFactors |
static std::map< std::string, unsigned int > | stripsNoStackNormFactors |
static std::map< std::string, unsigned int > | stripsStackNormFactors |
void fillNormFactorMaps | ( | ) |
Definition at line 531 of file makePlots.cc.
References APVsNoStackNormFactors, APVsStackNormFactors, fibersNoStackNormFactors, fibersStackNormFactors, mps_fire::i, modulesNoStackNormFactors, modulesStackNormFactors, stripsNoStackNormFactors, and stripsStackNormFactors.
Referenced by makePlots().
double findNormFactor | ( | const std::string | currentPlotType, |
const std::string | currentPart, | ||
const bool | stackOption | ||
) |
Definition at line 928 of file makePlots.cc.
References APVsNoStackNormFactors, APVsStackNormFactors, gather_cfg::cout, fibersNoStackNormFactors, fibersStackNormFactors, modulesNoStackNormFactors, modulesStackNormFactors, stripsNoStackNormFactors, and stripsStackNormFactors.
Referenced by makePlots().
int main | ( | int | argc, |
char * | argv[] | ||
) |
===============================================================================================================================================================================================
variant2: for each run define phi-averaged A for normalization channel (Dref,16) and then, divide Rijk on it, i.e. get RRijk
eta=27
eta=25
eta=23
eta=22
eta=21
eta=26
eta=24
eta=19
eta=17
eta=25
eta=23
eta=22
eta=21
eta=26
eta=24
eta=20
eta=19
eta=18
eta=27 L1=1
eta=25 L1=1
eta=23 L1=1
eta=22 L1=1
eta=21 L1=1
eta=29 L1=1
eta=26 L1=1
eta=24 L1=1
eta=20 L1=1
eta=19 L1=1
eta=18 L1=1
eta=17 L1=1
eta=28 L7=1
eta=27 L7=1
eta=25 L7=1
eta=23 L7=1
eta=22 L7=1
eta=21 L7=1
eta=26 L7=1
eta=24 L7=1
eta=20 L7=1
eta=19 L7=1
eta=18 L7=1
eta=17 L7=1
eta=27
eta=25
eta=23
eta=22
eta=21
eta=26
eta=24
eta=19
eta=17
eta=25
eta=23
eta=22
eta=21
eta=26
eta=24
eta=20
eta=19
eta=18
eta=27 L1=1
eta=25 L1=1
eta=23 L1=1
eta=22 L1=1
eta=21 L1=1
eta=26 L1=1
eta=24 L1=1
eta=20 L1=1
eta=19 L1=1
eta=18 L1=1
eta=17 L1=1
eta=28 L7=1
eta=27 L7=1
eta=25 L7=1
eta=23 L7=1
eta=22 L7=1
eta=21 L7=1
eta=26 L7=1
eta=24 L7=1
eta=20 L7=1
eta=19 L7=1
eta=18 L7=1
eta=17 L7=1
eta=27
eta=28
errA with average Amplitudes
errA with average Amplitudes
errA with average Amplitudes
errA with average Amplitudes
Summed Amplitude Plots:
Summed Amplitude Plots:
Summed Amplitude Plots:
Summed Amplitude Plots:
Summed Amplitude Plots:
Summed Amplitude Plots:
RBX:
errA with average Amplitudes
errA with average Amplitudes
errA with average Amplitudes
errA with average Amplitudes
Summed Amplitude Plots:
Summed Amplitude Plots:
Summed Amplitude Plots:
Summed Amplitude Plots:
Summed Amplitude Plots:
Summed Amplitude Plots:
RBX:
errA with average Amplitudes
errA with average Amplitudes
errA with average Amplitudes
errA with average Amplitudes
Summed Amplitude Plots:
Summed Amplitude Plots:
Summed Amplitude Plots:
Summed Amplitude Plots:
Summed Amplitude Plots:
Summed Amplitude Plots:
RBX:
Prepare maps of good/bad channels:
Prepare maps of good/bad channels:
Prepare maps of good/bad channels:
Prepare maps of good/bad channels:
Definition at line 35 of file makePlots.cc.
References dir2webdir::argc, GCPpyPlots::argv, gather_cfg::cout, InefficientDoubleROC::inputFileName, makePlots(), and makeListRunsInFiles::outputFileName.
void makePlots | ( | std::string | inputFileName, |
std::string | outputFileName | ||
) |
Definition at line 57 of file makePlots.cc.
References alignmentValidation::c1, gather_cfg::cout, fillNormFactorMaps(), findNormFactor(), timingPdfMaker::histo, HltBtagPostValidation_cff::histoName, makeListRunsInFiles::inputFile, InefficientDoubleROC::inputFileName, phase1PixelTopology::layerName, compareTotals::legend, MuonTCMETValueMapProducer_cff::nLayers, download_sqlite_cfg::outputFile, makeListRunsInFiles::outputFileName, setCanvasStyle(), setHistoStackStyle(), setHistoStyle(), setLegendStyle(), setPaveTextStyle(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by main().
void setCanvasStyle | ( | TCanvas * | c, |
const bool | logScale | ||
) |
void setHistoStackStyle | ( | TH1 * | h, |
const unsigned int | lineColor | ||
) |
Definition at line 472 of file makePlots.cc.
References h, mps_fire::i, and RecoTauValidation_cfi::lineColor.
Referenced by makePlots().
void setHistoStyle | ( | TH1 * | h | ) |
Definition at line 453 of file makePlots.cc.
References h, and mps_fire::i.
Referenced by makePlots().
void setLegendStyle | ( | TLegend * | l, |
const unsigned int | nColumns | ||
) |
Definition at line 496 of file makePlots.cc.
References cmsLHEtoEOSManager::l.
Referenced by makePlots().
void setPaveTextStyle | ( | TPaveText * | t, |
const bool | isHorizontal = true |
||
) |
Definition at line 504 of file makePlots.cc.
References submitPVValidationJobs::t, and RandomServiceHelper::t1.
Referenced by makePlots().
|
static |
Definition at line 31 of file makePlots.cc.
Referenced by fillNormFactorMaps(), and findNormFactor().
|
static |
Definition at line 30 of file makePlots.cc.
Referenced by fillNormFactorMaps(), and findNormFactor().
|
static |
Definition at line 29 of file makePlots.cc.
Referenced by fillNormFactorMaps(), and findNormFactor().
|
static |
Definition at line 28 of file makePlots.cc.
Referenced by fillNormFactorMaps(), and findNormFactor().
|
static |
Definition at line 27 of file makePlots.cc.
Referenced by fillNormFactorMaps(), and findNormFactor().
|
static |
Definition at line 26 of file makePlots.cc.
Referenced by fillNormFactorMaps(), and findNormFactor().
|
static |
Definition at line 33 of file makePlots.cc.
Referenced by fillNormFactorMaps(), and findNormFactor().
|
static |
Definition at line 32 of file makePlots.cc.
Referenced by fillNormFactorMaps(), and findNormFactor().